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.2.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.2-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scribe_updater-0.16.2.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.2.tar.gz
Algorithm Hash digest
SHA256 8aeb1b64eab250f125186ba67cf04de78b27c8ebef533fe379e20b7bb786db11
MD5 51c5dff1fcd32940965be1d04b547fa4
BLAKE2b-256 89b665ffe2511707e3762256ec78d5e87e778317f15f1c838bbdfd8389ad8eca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scribe_updater-0.16.2-py3-none-any.whl
  • Upload date:
  • Size: 10.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5931d9c9a1bce112d1d8accec70f38a5912cb02e411550916b3f0f9a5600c525
MD5 db328324c93eaea0c36836b217c93cb1
BLAKE2b-256 1ccd954f5ae2cf24b922b1e47a020ae79bbb1dc8686ff7408a9b10c276b8f6e8

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