No project description provided
Project description
my-numpy
This is a simple numpy implementation for educational purposes. This demonstrates the use of python ecosystem Poetry, Pytest.
Following features are demonstrated in this project:
- Creating a package using Poetry
- Writing tests using Pytest
- Calculating code coverage using Pytest
- Creating a simple numpy stats package
- Linting and formating
- Packaging the package using Poetry
- Use of GitHub Actions for packaging
- Installing the package using pip
Author
Installation
poetry install
Quality
Check for code formatting issues using flake8
poetry run flake8 my_numpy
Fix code formatting issues using black
poetry run black my_numpy
Testing
poetry run pytest
Code coverage
poetry run pytest --cov=my_numpy --cov-report=term-missing
HTML report
poetry run pytest --cov=my_numpy --cov-report=html
Packaging
poetry build
Installation
pip install dist/my_numpy-0.1.0.tar.gz
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 my_numpy-0.1.0.tar.gz.
File metadata
- Download URL: my_numpy-0.1.0.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0514a157a5afbbbee391fad76223240265b33e433ee32b16acca52ca6be46d4
|
|
| MD5 |
c154281c66d87d55fce4a2a3bdfd1ee6
|
|
| BLAKE2b-256 |
d19176effc6e4a3195f108884aa0fae72608820b1aba6660b822e1d8fe9bbf90
|
File details
Details for the file my_numpy-0.1.0-py3-none-any.whl.
File metadata
- Download URL: my_numpy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d9063372d45bb8389bc8fab7bb6c42bb4453040699853077173d2e444f5225e
|
|
| MD5 |
e73ba5b2a538605ae98d1d2e2a269b2c
|
|
| BLAKE2b-256 |
e35a1750e5cd647253ff2b2a3d6c1278dcc5fdfdbeae9d1ed33c74641fb0164e
|