Info: registering a new package - where can i find the UUID?

Hi,

I am trying to register a (small) package I wrote for time series analysis. I am using it as a backend for more sophisticated algorithms that I plan to release on GitHub in the next couple of months.

I am in the process of creating the Project.toml file. However, I am not sure where can I find the correct UUID. Would you please explain to me where can I find it?

Thank you.

As far as I know, your package does not have a UUID until you create one, so there is no correct UUID for you to find. You can use Pkg.generate("YourPackageName") which will generate a Project.toml with a valid UUID field, but as far as I know that’s just generating an almost-certainly-unique random string in the right format.

It should also be fine to do using UUIDs; uuid4().

3 Likes

I would recommend using one of the package template generators, eg

or

(disclaimer: I am the author of the latter).

It will make other things, like CI setup, easier, and also generate a starting Project.toml for you.

2 Likes