Skip to main content

Natural Language Understanding (text processing) for math symbols, digits, and words with a Gradio user interface and REST API.

Project description

workon-poetry

Bash and Python scripts to make switching and starting projects more efficient and less error-prone by automating some of the boring stuff and incorporating some opinions about best practices.

Dependencies

  • poetry
  • virtualenv

Setup your Python environment

Launch a terminal on Linux (or git-bash on Windows) then:

  1. Update your pip and virtualenv packages
  2. Clone the workon-poetry project
  3. Create a virtualenv within the workon-poetry dir
  4. Activate your new Python virtual environment
  5. Install this Python package in "--editable" mode

Any Python version greater than 3.7 should work. Most Linux systems use Python 3.9 or higher:

pip install --upgrade virtualenv poetry
git clone git@gitlab.com:tangibleai/community/workon-poetry
cd workon-poetry
python -m virtualenv --python 3.9 .venv
ls -hal

You should see a new .venv/ directory. It will contain your python interpreter and a few site-packages like pip and distutils.

Now activate your new virtual environment by sourcing .venv/bin/activate (on Linux) or .venv/scripts/activate (on Windows).

# bin/activate on Linux OR `Scripts/activate` in git-bash on Windows
source .venv/bin/activate || source .venv/Scripts/activate

Developer install

Once you have a shiny new virtual environment activated you can install workon-poetry in --editable mode. This way, when you edit the files and have the package change immediately.

Make sure you are already within your cloned workon-poetry project directory. And makes sure your virtual environment is activated. You should see the name of your virtual environment in parentheses within your command line prompt, like (.venv) $. Then when you install workon-poetry it will be available for import within any other Python application in that virtual environment.

pip install --editable .

User install

If you don't want to contribute, and you just want to USE workon-poetry the MathText modules, you can install it from a binary wheel on PyPi:

pip install workon-poetry

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

workon_poetry-0.0.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

workon_poetry-0.0.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file workon_poetry-0.0.1.tar.gz.

File metadata

  • Download URL: workon_poetry-0.0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.16 Linux/5.19.0-32-generic

File hashes

Hashes for workon_poetry-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9b223b1ffbcd3cae4d94ebb380d642be09682445d62bc28c46dc02c11c9cd4df
MD5 5992a5d3536f09bb74e25be0d4928780
BLAKE2b-256 93508c115aa7ef2c9d0112d4a29899b26e8cd73543ea26904600d17ca164ff36

See more details on using hashes here.

Provenance

File details

Details for the file workon_poetry-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: workon_poetry-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.16 Linux/5.19.0-32-generic

File hashes

Hashes for workon_poetry-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8cb05a33febe3757ea287687423746e7d407a09d221c04d3e55d597ec4a82e7d
MD5 087b155fdd6cefd9cade439e91743438
BLAKE2b-256 ad4ee46713ffc9a1d5ed8ac8542d58d5904956f3c83f4ccec77d50aceb75e615

See more details on using hashes here.

Provenance

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