Skip to main content

Common utils package

Project description

Python package template

A package template for quickly creating a new package with test and publishing to pypi as workflow

Build

pypi

Install from Pypi

pip install PackageSnippet1

Local install

git clone https://github.com/jerinka/PackageSnippet1
pip3 install -e PackageSnippet1

build

pip install wheel
python setup.py sdist bdist_wheel

testpypi

twine upload --repository testpypi dist/*
pip install -i https://test.pypi.org/simple/ PackageSnippet1

pypi

twine upload dist/*
pip install -U PackageSnippet1

Quick usage

import PackageSnippet1 as pk1
pk1.subpackage1.moduleA.fun_a()

Test

pytest test/test_PackageSnippet1.py -s

Reference

https://medium.com/@joel.barmettler/how-to-upload-your-python-package-to-pypi-65edc5fe9c56

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

PackageSnippet1-0.0.6.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

PackageSnippet1-0.0.6-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file PackageSnippet1-0.0.6.tar.gz.

File metadata

  • Download URL: PackageSnippet1-0.0.6.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for PackageSnippet1-0.0.6.tar.gz
Algorithm Hash digest
SHA256 0a8133cbdffb46b7162a564a47f8d71691872f443947d1512bd6f0fe6bfc2328
MD5 284a852dd3c4991741b0130c4e03d8d8
BLAKE2b-256 bab52e9e8f0df8923f43a80b9cbcc5525538bd2de3efd3957f4388b714d5cd25

See more details on using hashes here.

File details

Details for the file PackageSnippet1-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: PackageSnippet1-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for PackageSnippet1-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b7c263c87f5843989b33af8f63ce3db459191c8d3372b7f41604157d86801448
MD5 67e12fb42139e8fdaf1340e4fc224831
BLAKE2b-256 b503670c88429c3d1f34ede25846e808d1550d4f14b7192a48c2660d551ac733

See more details on using hashes here.

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