HeroPy: High-Performance Scientific Computing in Python
HeroPy is the fundamental package for scientific computing with Python, meticulously crafted by the Death Legion Team. It provides a powerful N-dimensional array object, sophisticated mathematical functions, and the core data structures necessary for modern data science and machine learning.
Why HeroPy?
In the evolving landscape of numerical computing, HeroPy stands as a robust foundation for handling large, multi-dimensional arrays and matrices. Designed for performance and ease of use, HeroPy enables complex mathematical operations on entire blocks of data without the need for slow Python loops.
Core Features
- N-Dimensional Array (
ndarray): A versatile, multi-dimensional array object with support for advanced indexing, slicing, and NumPy-style broadcasting. - Linear Algebra (
linalg): High-level mathematical functions for matrix multiplication (dot), transposition, and vector operations. - Fourier Transforms (
fft): Efficient Fast Fourier Transform (FFT) capabilities for signal processing and spectral analysis. - Random Number Generation (
random): Sophisticated random number generation with support for various distributions like Uniform and Normal (Gaussian). - Extensible Architecture: Built to be the bedrock of the Python data science ecosystem, compatible with machine learning and data analysis workflows.
Installation
# Clone the repository
git clone <repo-url>
cd heropy
export PYTHONPATH=$PYTHONPATH:.
Usage
import heropy as hp
from heropy.linalg import dot
# Create arrays
a = hp.ndarray([[1, 2], [3, 4]])
b = hp.ndarray([10, 20])
# Arithmetic with broadcasting
c = a + b
# Matrix multiplication
d = dot(a, a)
# FFT
from heropy.fft import fft
freq = fft([1, 0, 1, 0])
Performance Note
HeroPy is currently implemented in pure Python for maximum portability and clarity. While it provides the core data structures and operations, performance for very large datasets may be limited compared to C-accelerated libraries.
Metadata
Release files for heropy 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| heropy-0.1.0.tar.gz | 7.1 kB | Without provenance | Details for heropy-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| heropy-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for heropy-0.1.0-py3-none-any.whl |
Total release size: 13.9 kB
Release files / heropy-0.1.0.tar.gz
| Download URL | heropy-0.1.0.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c60c5c2adc516ef8c528986e08593104480daa6f800e1f2901e7496599d8adba
|
|
BLAKE2b-256 checksum How to use checksums |
a89c54806d4a1a6a6ed3110e77c30f2e970bb37cc9e6044c2d9c9dd613c49217
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / heropy-0.1.0-py3-none-any.whl
| Download URL | heropy-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b1fcdb24d4c6c43d2d887ac5a81825bfff99cb582d55b2746e365c7359f0fec
|
|
BLAKE2b-256 checksum How to use checksums |
842adbdd59b3aeddd849f4e38aca6eee7ec17a9d48d9cd27ab9626808cb65d0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for heropy 0.1.0
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.