Skip to main content

A Python CLI for Ruth NLP

Project description

Template Python Project

This is a template for all python projects. It has the following:

  • A Makefile with various helpful targets. E.g.,
    # to install system level dependencies
    make bootstrap
    
    # install virtual environment and project level dependencies
    make install
    
    # run unit tests
    make test
    
    # run black code formatting and isort
    make format
    
    # to run flake8 and validate code formatting
    make lint
    
  • A pre-commit config to validate code formatting before commits are made.
  • A Pull Request (PR) Template with a checklist for PRs
  • A Dockerfile
  • A Docker-Compose file
  • A setup.py file in case you want to package it.
  • A Coverage config in .coveragerc
  • A .gitignore file
  • A .dockerignore file
  • A CircleCI config file .circleci/config.yml

Project Structure

All source files go inside the ./src/my_package/

PYTHONPATH setup

  • Pycharm: Mark ./src as content root
  • Others: Set this environment variable export PYTHONPATH=./src

Configuring NS Private PyPi repo

Get username and password from the project Admin

poetry config http-basic.neuralspace <private-pypi-username> <private-pypi-password>

Renaming this Project

Note that the name of this python package is my_package. Take a look at the ./src folder. Hence, my_package has been used in the following files.

  • Makefile
  • Dockerfile
  • .circleci/config.yml

Make sure to rename my_package to <your-package-name> while using this template.

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

ruth-python-0.0.4.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

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

ruth_python-0.0.4-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

Details for the file ruth-python-0.0.4.tar.gz.

File metadata

  • Download URL: ruth-python-0.0.4.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.1

File hashes

Hashes for ruth-python-0.0.4.tar.gz
Algorithm Hash digest
SHA256 0f0a133b41bcbeb8f551372f9a928acca76a82580e9bd8d06215fb562cb42cc2
MD5 84ddb5a3e332bc808c4951b6b9d924a4
BLAKE2b-256 6f103461ddb2f537d7f8f62ddf447092e4cce0ccaf0a58b271970800423d17e4

See more details on using hashes here.

File details

Details for the file ruth_python-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: ruth_python-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 32.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.1

File hashes

Hashes for ruth_python-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6b0c59cadefe1b2636723b78158df1333b076963255a456bf5d3b2c77b72d324
MD5 f24a4784f2f55521508c5add171038bc
BLAKE2b-256 20027430c0f62c721219121ab53bb3caa0b9454fd8a9c0c78f8041f5153724c4

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