Explanation of .julia/packages/* directory

I’m trying to install Julia and a bunch of packages on an edge node in a cluster without internet access and ended up exploring the ~/.julia/packages directory a little and am curious about the following.

$ pwd
/Users/me/.julia/packages/SymPy
$ ls
1Cwgd	22zD6	4aR3F	JaxDZ	U2v57	XFURz	tgSHx	woEOA

These directories contain the different versions of SymPy I have installed. Would anyone mind pointing me to some sources on how/when these directories are generated? Are they deterministic from the Project.toml file? Or from the source code?

Thanks!

It is a hash of the package UUID and the tree sha of the content for that version:

2 Likes

Thanks!