Skip to main content

Calculator Package Demo

Project description

Informational Badges:

PyPI version PyPI - Python Version Tests Linux macOS Intel macOS ARM

Some Linting Badges (Where I could find them):

Ruff Code style: black Checked with mypy Imports: isort Pylint try/except style: tryceratops

calculator_pkg_ex_pydev

If you like the repo, it would be awesome if you could add a star to it! It really helps out the visibility. Also for any questions at all we'd love to hear from you at

Package Description

Calculator Python Package Example/Template

Usage

from a script:

from calculator_pkg_ex_pydev import Calculator
print(Calculator().add(1, 2))

Installation

Install python and pip if you have not already.

Then run:

pip3 install pip --upgrade
pip3 install wheel

For production:

pip3 install calculator_pkg_ex_pydev

This will install the package and all of it's python dependencies.

If you want to install the project for development:

git clone https://github.com/Devon-GS/calculator_pkg_ex_pydev.git
cd calculator_pkg_ex_pydev
pip3 install -e ".[test]"
pre-commit install

To test the development package: Testing

Testing

To test the package after installation:

cd calculator_pkg_ex_pydev
pytest calculator_pkg_ex_pydev
ruff check calculator_pkg_ex_pydev
ruff format calculator_pkg_ex_pydev
mypy calculator_pkg_ex_pydev

If you want to run it across multiple environments:

cd calculator_pkg_ex_pydev
tox --skip-missing-interpreters

License

MIT License (see license file)

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

calculator_pkg_ex_pydev-0.3.1.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

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

calculator_pkg_ex_pydev-0.3.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file calculator_pkg_ex_pydev-0.3.1.tar.gz.

File metadata

  • Download URL: calculator_pkg_ex_pydev-0.3.1.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for calculator_pkg_ex_pydev-0.3.1.tar.gz
Algorithm Hash digest
SHA256 0e0cb184f83b07bf0bfb2a6971a9db0998e75624c4e508db4508351a9a43d762
MD5 84cb519791182a568ff6d11f00432ce9
BLAKE2b-256 1f19a809d380dc48b6a543f9e4f3adb156d2843a793a7233546aca1c60593530

See more details on using hashes here.

File details

Details for the file calculator_pkg_ex_pydev-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for calculator_pkg_ex_pydev-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b3102f26dbf6b462b51be4292ee372658743717cfd1e99debc61747de4189b57
MD5 8b810a8f73f416d9b1e80a989bfc867b
BLAKE2b-256 4535cd891e875823aaa9ce0e22a4e9a903bdad62dbb2d6eb5ab229929bcc4955

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