Skip to main content

Sync __version__ in __init__.py with version in pyproject.toml

Project description

sync-version

pytestpythonCode style: blackLicense: MITPyPI version

sync-version descr

Install it

pip install sync-version

# or pip install git+https://github.com/ffreemt/sync-version
# poetry add git+https://github.com/ffreemt/sync-version
# git clone https://github.com/ffreemt/sync-version && cd sync-version

Use it

poetry version prerelease
sync-version  # or python -m sync_version

poetry version patch
sync-version  # or python -m sync_version

# dry-run
sync-version --dry-run

# debug and dry-run
sync-version --debug --dry-run

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sync-version-0.1.4.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

sync_version-0.1.4-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file sync-version-0.1.4.tar.gz.

File metadata

  • Download URL: sync-version-0.1.4.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.5 Windows/10

File hashes

Hashes for sync-version-0.1.4.tar.gz
Algorithm Hash digest
SHA256 2b77927110a15fd61119f1f5b9066f609483cadb4464dd3226f688474249949c
MD5 80f55d564d1e620d3d588d3cc911c5c2
BLAKE2b-256 c032c5c4055d4347a724970b09ffb7ec038c8725061e1956233f66fca7898c7e

See more details on using hashes here.

File details

Details for the file sync_version-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: sync_version-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.5 Windows/10

File hashes

Hashes for sync_version-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 191dfb5a8db073656c1ac3230dca80a8533115d5523d1f8ab3757af649f5ba13
MD5 764973ef275111f5ff56ca5ac201c02f
BLAKE2b-256 21e10a7a24f4ddee11c32a10b3ce3d2940d4e3280920d4683cd8b54264c336e5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page