Skip to main content

EQVersion

The purpose of EQVersion is to remove the change redundancy in the project version in two places, in the pyproject.toml and in the __init__.py of the main package. EQVersion is especially for those who work with Poetry.

Using:

In a project using Poetry and an active virtual environment, add EQVersion as a development dependency:

$ poetry add eqversion --dev

Now simply run the command below for the versions to be matched:

$ eqversion

Specifying a package:

By default, EQVersion takes the name of the main package via pyproject.toml, in the key name, but it may happen that the name of the main package is not the same as in pyproject.toml. If this happens, the –package option should be used to specify the main package:

$ eqversion --package=<PACKAGE MAIN NAME>

Using with tests:

You must call EQVersion before performing your tests.

Example of tox.ini file:

[tox]
isolated_build = True

[testenv]
setenv =
    PYTHONPATH = {toxinidir}
deps =
    poetry
commands =
    pip install --upgrade pip
    poetry install
    poetry run eqversion
;   Or use the named option:
;   poetry run eqversion --package=<PACKAGE MAIN NAME>
    poetry run pytest --basetemp={envtmpdir}

Donation

If you liked my work, buy me a coffee <3

https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif

License

The gem is available as open source under the terms of the MIT License ©

Metadata

Release files for eqversion 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eqversion 0.1.3
File Size Uploaded Provenance Actions
eqversion-0.1.3.tar.gz 4.5 kB Without provenance Details for eqversion-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for eqversion 0.1.3
File Interpreter ABI Platform Actions
eqversion-0.1.3-py3-none-any.whl Python 3 none any Details for eqversion-0.1.3-py3-none-any.whl

Total release size: 9.8 kB

Release files / eqversion-0.1.3.tar.gz

Download URL eqversion-0.1.3.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8455ed416d3b7a2929c3eb8740ceb7ac69d05b5621d66598848c404e93e7773f
BLAKE2b-256 checksum
How to use checksums
2e1d2572f23a6f7dd0266315d8a09da5ffa6fa3f355999a7cf31d0796119cc4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.8.1 Linux/5.4.14-zen1-1-zen

Release files / eqversion-0.1.3-py3-none-any.whl

Download URL eqversion-0.1.3-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
659f4188e46a23050e141caf0e5e4fcc0c656ce97fe29147105d75bd7a3f0efe
BLAKE2b-256 checksum
How to use checksums
2fb067856b4b7e9cdf2cfa4780096405ef4f21580380f5ba552c1c984d1b547e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.8.1 Linux/5.4.14-zen1-1-zen

Security for eqversion 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page