Calculator Package Demo
Project description
Informational Badges:
Some Linting Badges (Where I could find them):
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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Test it
- Run tox
- Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Ensure github actions are passing tests
- Email me at jfuruness@gmail.com if it's been a while and I haven't seen it
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file calculator_pkg_ex-0.11.1.tar.gz.
File metadata
- Download URL: calculator_pkg_ex-0.11.1.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71ae63d30a5fb6b9494e282c1cd38f5f36b0bb588b6dab88963f9b6634c241f8
|
|
| MD5 |
8da78b0dab26f37e669d53376e0cf7a7
|
|
| BLAKE2b-256 |
2166a6f03de001e62117dffa0f2c083410ec6f6133fa81686d2db531db55cc5a
|
File details
Details for the file calculator_pkg_ex-0.11.1-py3-none-any.whl.
File metadata
- Download URL: calculator_pkg_ex-0.11.1-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b77fca843a36ce5769fad193b8530a8863989c76c3e5273a176f2d0b593c6002
|
|
| MD5 |
49b5cb208be2c03e7ec000267b63b262
|
|
| BLAKE2b-256 |
e7a073e08c6bb0455aba00a10d0d66a331ef295c4e61896176f98ba3e566c3ec
|