Skip to content

A basic but yet efficient python3 package template

Notifications You must be signed in to change notification settings

bil0u/python-package-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

package-name

Install

pip install package-name

Usage

package-name

Scripts

Available pipenv run scripts :

  • install - installs the package
  • app - runs the application
  • test - tests the application with pytest
  • build - build the app artifacts
  • clean - clean the artifacts created with the build script
  • deploy-test - deploy to test.pypi
  • deploy - deploy to pypi

Requirements

In order to properly run the deploy scripts, you should :

  • have twine installed.
  • have a ~/.pypirc file filled according to the template below

.pypirc template

[distutils]
index-servers=
    pypi
    testpypi

[pypi]
username: your_username
password: your_password

[testpypi]
repository: https://test.pypi.org/legacy/
username: your_username
password: your_password

Note: pypi.org and test.pypi.org uses two distinct databases for user accounts. You need to create an account for both domains

About

A basic but yet efficient python3 package template

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages