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.0.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.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: calculator_pkg_ex_pydev-0.3.0.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.0.tar.gz
Algorithm Hash digest
SHA256 fb2c08a979eac8fd7a34c59cf17d2544f13a7c3c13e1d404e9fe3fabdfded7f9
MD5 ed483db82e36febfe0ec9f69cc7e85c8
BLAKE2b-256 3b715eb462850d8e2bdf3547ff3f063cfd53ee492969e40eb1191ca243bd0f5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for calculator_pkg_ex_pydev-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c87e5a3bded7d38fcc14a263c2c98ed0e2530b626655951094db7a3e1e916219
MD5 5ade6acccc090be703e73245850e14c4
BLAKE2b-256 d971046e6d626af102f02f0c516bf173227f9454f50a457f950ba96f98c4179f

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