# How to get a list of built-in functions in a package and a short description?

**URL:** https://discourse.julialang.org/t/how-to-get-a-list-of-built-in-functions-in-a-package-and-a-short-description/87711
**Category:** New to Julia
**Tags:** question, package
**Created:** [September 23, 2022, 5:22pm UTC](https://discourse.julialang.org/t/how-to-get-a-list-of-built-in-functions-in-a-package-and-a-short-description/87711 "2022-09-23T17:22:46Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ChrM](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@ChrM](https://discourse.julialang.org/u/ChrM)
#### Post date: [September 23, 2022, 5:22pm UTC](https://discourse.julialang.org/t/how-to-get-a-list-of-built-in-functions-in-a-package-and-a-short-description/87711/1 "2022-09-23T17:22:46Z")

</div>

Is it possible to get a list of the built-in functions within a package along with a brief description for each function?  
For example, in the Julia REPL, we can load the Econometrics package `using Econometrics` and then use the `names(Econometrics)` to obtain a condensed list of items within the package.  
How can I get the complete list of items within a package and maybe a brief description per function?

Another more general question:  
Is it possible to obtain some information (short description, size of package, etc) about a package that has not yet been added locally?

---

<div class="post-metadata">

### Author: ![hendri54](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hendri54/32/9621_2.png) [@hendri54](https://discourse.julialang.org/u/hendri54)
#### Post date: [September 24, 2022, 4:39pm UTC](https://discourse.julialang.org/t/how-to-get-a-list-of-built-in-functions-in-a-package-and-a-short-description/87711/2 "2022-09-24T16:39:51Z")

</div>

`@doc` shows the DocString for an object. One option is therefore

```julia
for nm in names(Revise)
   x = @eval @doc $nm
   println(x)
end

```

---

<div class="post-metadata">

### Author: ![digital\_carver](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/digital_carver/32/33818_2.png) [@digital\_carver](https://discourse.julialang.org/u/digital_carver)
#### Post date: [September 27, 2022, 8:53am UTC](https://discourse.julialang.org/t/how-to-get-a-list-of-built-in-functions-in-a-package-and-a-short-description/87711/3 "2022-09-27T08:53:35Z")

</div>

> [@ChrM](#):
>
> How can I get the complete list of items within a package and maybe a brief description per function?

Not on the REPL, but the documentation websites for the packages usually have a section - usually the last section of the docs - called “API Reference” or “Function reference” or similar, that lists all the functions that have docstrings attached to them.  
From the REPL, one easy way to get to these doc websites is to do `?Modulename`. In most cases, this prints out the README file of the module, and you can look for a link with “documentation” or “docs” near it.

> [@ChrM](#):
>
> Is it possible to obtain some information (short description, size of package, etc) about a package that has not yet been added locally?

I wish there was! Maybe there’s a package out there to do this, but as far as I know none in Julia or in the Pkg standard library. It’s a very useful feature that’s in most operating system package managers, that I miss in Julia’s Pkg.

---

<div class="post-metadata">

### Author: ![PeterSimon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petersimon/32/25193_2.png) [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)
#### Post date: [September 27, 2022, 4:47pm UTC](https://discourse.julialang.org/t/how-to-get-a-list-of-built-in-functions-in-a-package-and-a-short-description/87711/4 "2022-09-27T16:47:32Z")

</div>

> [@ChrM](#):
>
> Is it possible to obtain some information (short description, size of package, etc) about a package that has not yet been added locally?

The [PkgOnlineHelp](https://github.com/simonp0420/PkgOnlineHelp.jl) package can help with this.

---

<div class="post-metadata">

### Author: ![jlapeyre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlapeyre/32/4514_2.png) [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)
#### Post date: [September 27, 2022, 5:40pm UTC](https://discourse.julialang.org/t/how-to-get-a-list-of-built-in-functions-in-a-package-and-a-short-description/87711/5 "2022-09-27T17:40:46Z")

</div>

This prints nothing for me. Even after doing `using Revise`.
