Calulator demo without pybind11
Project description
Informational Badges:
Some Linting Badges (Where I could find them):
calculator_pkg_abhinav
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 stuff that demos pybind11
Usage
from a script:
from calculator_pkg_abhinav import FileCalculator
print(FileCalculator().sum_file())
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_abhinav
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/AbhiSwamiUConn/calculator_pkg_abhinav.git
cd calculator_pkg_abhinav
pip3 install -e .[test]
pre-commit install
To test the development package: Testing
Testing
To test the package after installation:
cd calculator_pkg_abhinav
pytest calculator_pkg_abhinav
ruff check calculator_pkg_abhinav
ruff format calculator_pkg_abhinav
mypy calculator_pkg_abhinav
If you want to run it across multiple environments, and have python 3.10 and 3.11 installed:
cd calculator_pkg_abhinav
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
NOTE: all contributions from other contributors are listed under the existing license for this repo unless stated otherwise, and by contributing to this repo you agree to those terms and conditions.
License
BSD 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