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.2-py3.8.egg (75.2 kB view details)

Uploaded Egg

File details

Details for the file ruth_python-0.0.2-py3.8.egg.

File metadata

  • Download URL: ruth_python-0.0.2-py3.8.egg
  • Upload date:
  • Size: 75.2 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.0

File hashes

Hashes for ruth_python-0.0.2-py3.8.egg
Algorithm Hash digest
SHA256 a49520aab800d3257f42abd7bfc6a0f10a76077f05f5807eaa21cff943855d6d
MD5 f5a8b5eb0058c387d5062fcb6d5fcc4f
BLAKE2b-256 6b9650c600cb4e6ee8a4ef47dfb5933d350245edae3b82d7148b43af81073f50

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