Skip to main content

A tool to upgrade scribe configuration files

Project description

Setup

poetry runs a venv, so you need to run poetry install from the root of the repo first

Run

poetry run updater

Test

poetry run pytest

Coverage

poetry run pytest --cov or poetry run pytest --cov --cov-report=term-missing

Publish to PyPi

After adding credentials to be able to push to the python package index run the following cmd: poetry publish --build

Linting

Install nox with: pip3 install nox add the path to your .bashrc and source it

run nox -rs black

Caveats

if you are getting an error that looks like this :
Failed to create the collection: Prompt dismissed..
then export the following environment variable:
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring

PBA Customer Spreadsheet Updater (update.py)

Injects new scenarios from the ground truth into a customer spreadsheet.

Testing with console.py

from within the src/scribe_updater/ directory run the following: poetry run updater --target ../tests/test_input_1.json --ground ../tests/test_ground_1.json --output ./test_output

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

scribe_updater-0.16.3.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scribe_updater-0.16.3-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file scribe_updater-0.16.3.tar.gz.

File metadata

  • Download URL: scribe_updater-0.16.3.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.7.5 Linux/4.15.0-171-generic

File hashes

Hashes for scribe_updater-0.16.3.tar.gz
Algorithm Hash digest
SHA256 71d3e6d388e6ac6d831ec81e8b2a4b4963b250852dc82c7634411dbab2fb06a8
MD5 9c666c2852a25aff1b808ef473a444bd
BLAKE2b-256 b5b120cd20b0fdd0c515496ec0f72e25e1e51c0a7cf1660cd659a37ce8447b64

See more details on using hashes here.

File details

Details for the file scribe_updater-0.16.3-py3-none-any.whl.

File metadata

  • Download URL: scribe_updater-0.16.3-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.7.5 Linux/4.15.0-171-generic

File hashes

Hashes for scribe_updater-0.16.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a2b06e0fb2e0f3e9847cfbf6c7d0da27cb605b118daa4bd3865a08851a73d4b9
MD5 0ccc4d996aaaaddf1a2fd15b63c5c372
BLAKE2b-256 069224438b9b2bc9b14cbbd6dc684fb9e1c4f5c4082dd3a334abfb3b584dc6e5

See more details on using hashes here.

Supported by

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