Skip to main content

Demo your first Pip package.

Project description

Your first Pip package in Python

This repository is the companion post to my blog "Your first Pip package in Python"

Usage

from demo_pip_math.math import add, subtract, multiply


def test_add():
    assert add(3, 2) == 5


def test_subtract():
    assert subtract(3, 2) == 1


def test_multiply():
    assert multiply(3, 2) == 6

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

demo_pip_math-0.2.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

demo_pip_math-0.2.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file demo_pip_math-0.2.0.tar.gz.

File metadata

  • Download URL: demo_pip_math-0.2.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for demo_pip_math-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f298ea040470ebc44eaecc85f7bdfbcf567fbaa6d636090d941a0901798c01b4
MD5 8946757319ee846298caeb514a142a18
BLAKE2b-256 314332b2886e9e3a5948ec9660d5c0d7227271751e05c337f553a79dcd1d6244

See more details on using hashes here.

File details

Details for the file demo_pip_math-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: demo_pip_math-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for demo_pip_math-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e2c42ca8fbe8211b02ab53efcb590844d1e7a1bbac7f823a7d7c829fa1afe05
MD5 df3d4aac64f375edda109445ceb3305b
BLAKE2b-256 21a1554a2b0f9f0893d03cc2a8d159ddd5a8290143bbb5431312c5256183009d

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