Skip to content
This repository was archived by the owner on Jun 25, 2025. It is now read-only.

SIMBAChain/pyprojectversionparser

Repository files navigation

projectversionparser

build release Coverage Status

Simple tool for quickly grabbing the version from a pyproject.toml or package.json file

Get the latest release here

Running

Running without any arguments will look for project files in the current directory and will parse the first one it finds.

Running with an argument will use that as the filename to try to parse.

$ projectversionparser ./pyproject.toml
PACKAGE_VERSION=0.1.0
PACKAGE_NAME=my-package-name

To set the output as env variables, use either:

$ source <(projectversionparser)

or

$ projectversionparser > envfile
$ source ./envfile

About

Mini tool for quickly grabbing the version from a pyproject.toml file

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages