# Obtaining the name of a package imported using Pkg.develop?

**URL:** <https://discourse.julialang.org/t/obtaining-the-name-of-a-package-imported-using-pkg-develop/64541>\
**Category:** General Usage\
**Tags:** pkg\
**Created:** [July 12, 2021, 11:41pm UTC](https://discourse.julialang.org/t/obtaining-the-name-of-a-package-imported-using-pkg-develop/64541 "2021-07-12T23:41:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![harris-chris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/harris-chris/32/23877_2.png) [@harris-chris](https://discourse.julialang.org/u/harris-chris)\
**Post date:** [July 12, 2021, 11:41pm UTC](https://discourse.julialang.org/t/obtaining-the-name-of-a-package-imported-using-pkg-develop/64541/1 "2021-07-12T23:41:33Z")

</div>

Hello all,

I have a situation where I’m importing a package programatically by using `Pkg.develop(url=url_string)`, where `url_string` is a user input. I then need to find out what the name of the package is. The best I can think of here is finding the most recently added directory in the `JULIA_PKG_DEVDIR` folder and then having a look inside its `Project.toml`, but it certainly feels like there might be a better way. Could anyon please point me in the right direction?

Chris
