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.1.tar.gz (8.6 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.1-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scribe_updater-0.16.1.tar.gz
  • Upload date:
  • Size: 8.6 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.1.tar.gz
Algorithm Hash digest
SHA256 84124fe0f205326559b7d2050b0ea472f82a9b38368a5c555f9ba95c57eefd3a
MD5 d6193fb392ad920d342cd2710ef9d656
BLAKE2b-256 6f45683762faac0a004239ec87b10a9d715fc36316734271794856df863dd756

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scribe_updater-0.16.1-py3-none-any.whl
  • Upload date:
  • Size: 10.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 04dcda94ec1bcda7a873df7b60653c4b5e9cf84d9ec897d1698610ebbc27354c
MD5 56a7c4b3f21746da6c14ccc3f1a7b3f3
BLAKE2b-256 d7b0ce132e02df078cb19a97a6ae53b838624888df3d5e083fee87f647324280

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