Skip to main content

A framework for measuring things and producing structured results.

Project description

PyPI version PyPI Supported Python Versions GitHub license GitHub Actions (Tests) GitHub Actions (Quality) Honesty Box Twitter

honestybox-measurement

A framework for measuring things and producing structured results.

Requirements

honestybox-measurement supports Python 3.5 to Python 3.8 inclusively.

Development

Git hooks

pre-commit hooks are included to ensure code quality on commit and push. Install these hooks like so:

$ pre-commit install && pre-commit install -t pre-push
asd

Releases

To ensure releases are always built on the latest codebase, changes are only ever merged to release from master.

Creating a release

  1. Ensure that master is up to date:

    $ git checkout master
    $ git pull origin
    
  2. Switch to release and ensure it is up to date:

    $ git checkout release
    $ git pull origin
    
  3. Merge from master:

    $ git merge master
    
  4. Add a new release to CHANGELOG.md and include all changes in [Unreleased].

  5. Update version number in pyproject.toml

  6. Commit the changes to the release branch with comment Release <version number>

    $ git add CHANGELOG.md pyproject.toml
    $ git commit -m 'Release v<x>.<y>.<z>`
    
  7. Tag the commit with the release number:

    $ git tag v<x>.<y>.<z>
    
  8. Push the commit and tags upstream:

    $ git push && git push --tags
    
  9. Merge changes into master and push upstream:

    $ git checkout master
    $ git merge release
    $ git push
    

Publishing a release

  1. Install poetry

  2. Checkout the release:

    $ git checkout v<x>.<y>.<z>
    
  3. Publish the release:

    $ poetry publish --build
    

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

honestybox-measurement-1.1.0.tar.gz (36.5 kB view details)

Uploaded Source

Built Distribution

honestybox_measurement-1.1.0-py3-none-any.whl (49.1 kB view details)

Uploaded Python 3

File details

Details for the file honestybox-measurement-1.1.0.tar.gz.

File metadata

  • Download URL: honestybox-measurement-1.1.0.tar.gz
  • Upload date:
  • Size: 36.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.5 Linux/5.3.0-1034-azure

File hashes

Hashes for honestybox-measurement-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1fdfb952876ba0ab0df39e6e1d0f2301028f5cffd79dd121788444a9fbea162e
MD5 733cc5c974abd6761fb2223def5c772b
BLAKE2b-256 7cae5a5c1be625666e5591d7908c2b3038450d9562e33b270a054573ea1aa1af

See more details on using hashes here.

File details

Details for the file honestybox_measurement-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for honestybox_measurement-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 068b97b7d0f21452ae0a664be892ab61e0ca1a17dacbc5b7dc6469e898a63d5c
MD5 3a7e06a58ed6ebfc8508407791583b24
BLAKE2b-256 f06f8ac2d01bda4ed4a731d0c3b5613d102b54b7627a7e29548cda124951186d

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