Skip to main content

Vertex project tools to assist with packaging.

Project description

A collection of a few common tools which are useful for Python packaging and CI purposes.

These tools can be invoked as Python modules from the Python command line (python -m <module path>). Available tools include the following:

vtx_common.tools.github_release

This can be used to automatically push a Release up to github using a changelog file.

vtx_common.tools.pep8_staged_files

Runs autopep8 against the repository. Must be run from the root of the repository. Can use the following Bash alias to make this easier to invoke:

alias pep8staged='python -m vtx_common.tools.pep8_staged_files'
vtx_common.tools.pre_commit

This is used as a Git pre-commit hook. This can be easily installed via the following command:

echo "python -m vtx_common.tools.pre_commit" > .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit

This will run pycodestyle against Python files to be committed. It assumes that there is a setup.cfg file in the root directory of the repo.

This package also installs bump2version, pytest, pytest-cov and pytest-xdist packages.

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

vtx-common-0.1.3.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

vtx_common-0.1.3-py37-none-any.whl (11.1 kB view details)

Uploaded Python 3.7

File details

Details for the file vtx-common-0.1.3.tar.gz.

File metadata

  • Download URL: vtx-common-0.1.3.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for vtx-common-0.1.3.tar.gz
Algorithm Hash digest
SHA256 823a8e59d51b58d1beac8c57b91c9f6538d5dc3305c30b3acebedb59178eeed9
MD5 61ea72c9924934733762f49d4bab4cd2
BLAKE2b-256 41201899b3e6a1e0fd8ea709bdf5becb5226805253289feb1ec5f436f7d61973

See more details on using hashes here.

File details

Details for the file vtx_common-0.1.3-py37-none-any.whl.

File metadata

  • Download URL: vtx_common-0.1.3-py37-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3.7
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for vtx_common-0.1.3-py37-none-any.whl
Algorithm Hash digest
SHA256 02f8ab4ed72f3a25fbf1ea88eed6d93ce785c8ece942a7058b0feb24df970d8d
MD5 1bf9b4578a90b89b73c49afe311c5caf
BLAKE2b-256 1442a189d95d2b3d5891fa1caf8900b747bba83bb86496089fe11449d0f68e85

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