Skip to main content

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

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 jfuruness@gmail.com

Package Description

Calculator Python Package Example/Template

Usage

from a script:

from calculator_pkg_ex 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

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/jfuruness/calculator_pkg_ex.git
cd calculator_pkg_ex
pip3 install -e ".[test]"
pre-commit install

To test the development package: Testing

Testing

To test the package after installation:

cd calculator_pkg_ex
pytest calculator_pkg_ex
ruff check calculator_pkg_ex
ruff format calculator_pkg_ex
mypy calculator_pkg_ex

If you want to run it across multiple environments:

cd calculator_pkg_ex
tox --skip-missing-interpreters

Development/Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Test it
  4. Run tox
  5. Commit your changes: git commit -am 'Add some feature'
  6. Push to the branch: git push origin my-new-feature
  7. Ensure github actions are passing tests
  8. Email me at jfuruness@gmail.com if it's been a while and I haven't seen it

License

MIT License (see license file)

Metadata

Release files for calculator-pkg-ex 0.11.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for calculator-pkg-ex 0.11.1
File Size Uploaded Provenance Actions
calculator_pkg_ex-0.11.1.tar.gz 10.1 kB Without provenance Details for calculator_pkg_ex-0.11.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for calculator-pkg-ex 0.11.1
File Interpreter ABI Platform Actions
calculator_pkg_ex-0.11.1-py3-none-any.whl Python 3 none any Details for calculator_pkg_ex-0.11.1-py3-none-any.whl

Total release size: 17.5 kB

Release files / calculator_pkg_ex-0.11.1.tar.gz

Download URL calculator_pkg_ex-0.11.1.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
71ae63d30a5fb6b9494e282c1cd38f5f36b0bb588b6dab88963f9b6634c241f8
BLAKE2b-256 checksum
How to use checksums
2166a6f03de001e62117dffa0f2c083410ec6f6133fa81686d2db531db55cc5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / calculator_pkg_ex-0.11.1-py3-none-any.whl

Download URL calculator_pkg_ex-0.11.1-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b77fca843a36ce5769fad193b8530a8863989c76c3e5273a176f2d0b593c6002
BLAKE2b-256 checksum
How to use checksums
e7a073e08c6bb0455aba00a10d0d66a331ef295c4e61896176f98ba3e566c3ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for calculator-pkg-ex 0.11.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page