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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ruth_python-0.0.1-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ruth_python-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e8e2d29c6bce6e88f0a58d73b250d3f016cf32cdc66dba06ee47808084eafd10
MD5 0f5ce0296011ba032ad56bec4dc7a3fd
BLAKE2b-256 010d78ed878c99ee7c35accd383813cedb68514b3ed0851a0118175c7ebf4cae

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