DuraPy - An Open-Source Python Toolbox for STEM Workflows | By Draconis
DuraPy is a growing toolbox for science, engineering, and STEM workflows. It brings together helpful utilities for mathematics, physics, robotics, chemistry-adjacent calculations, and more under one Python universal package.
What makes it useful
- A practical math layer for geometry, trigonometry, and algebra
- Physics constants and helper modules for scientific exploration
- A lightweight foundation for future CLI tools and engineering utilities
- A simple package structure that is easy to extend
Installation
pip install durapy
Modules
DuraPy is composed of several submodules, each providing a specific set of functionality.
-
DracoLIX: Fortran+Rust-based library for high-performance numerical computations
-
Shared Library: a collection of shared utilities for all submodules
- Color Systems - a collection of color systems and color space conversions, such as RGB, HEX, and CMYK
- Constants, Numerical Value types, and Unit modules, for scientific calculations
- Exceptions - Custom exception classes for error handling
-
UniCLI - a command-line interface framework for making CLI tools
-
UniBio - Bioinformatics primitives for DNA/RNA/protein work
- Sequence validation, normalization, and IUPAC ambiguity handling
- Complement, reverse complement, transcription and translation
- GC content, melting temperature, approximate molecular weight
- Open reading frame (ORF) discovery on both strands
-
UniChem - Chemistry utilities
- Full periodic table (all 118 elements) with lookups by number, symbol, or name
- Chemical formula parsing (parentheses, hydrates) and molar mass
- Mass percent composition and empirical formulas
- Reaction balancing and percent yield
- Ideal gas law and acid/base (pH, pOH, buffers, dilution) calculations
-
UniCogni - Advanced AI/ML utilities for natural language processing and machine learning
-
UniCrypto - Cryptographic utilities for encryption and decryption
-
UniMath - Mathematical utilities for numerical computations
- Algebra - Tools for generic algebraic operations
- Linear Algebra - Tools for linear algebra operations & custom types for matrices and vectors - Built with DracoLIX
- Coordinate Systems - Custom types for representing points and vectors in N-dimensional space, such as Cartesian, polar, and spherical coordinates
- Geometry, Number Theory and Trigonometry - Tools for geometric calculations and trigonometric functions
- Decorators and Exceptions - utilities for decorators and exception handling, providing error-free and mathematically correct calculations
- Algebra - Tools for generic algebraic operations
-
UniOps - A framework built for mechatronics and robotics, providing kinematics and dynamics utilities
-
UniPhys - A physics calculation library, providing calculation resources for a range of domains
- Acoustics
- Astrophysics
- Electromagnetics
- Fluid Dynamics
- Mechanics
- Nuclear Physics
- Quantum Physics
- Thermodynamics
-
UniPower - An advanced electronics/electrical engineering library, providing electrical component models, circuit simulation, and power analysis tools
- Component models - Resistor (color bands + ideal values), Capacitor, Inductor, Diode (Shockley + piecewise), Transistor (BJT), Potentiometer, Fuse, IC and Oscillator
- Circuit solver - Modified nodal analysis (MNA) for DC and sinusoidal steady-state (AC/phasor) analysis, plus equivalent resistance
- AC/RLC analysis - Reactance, impedance, resonance, quality factor, bandwidth, RMS, decibels (dB/dBm), filters, power and power factor
-
UniSky - Aerospace/Spaceflight simulation and analysis tools
Metadata
Release files for durapy 1.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 | |
|---|---|---|---|
| durapy-1.0.1.0.tar.gz | 105.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| durapy-1.0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 206.6 kB
Release files / durapy-1.0.1.0.tar.gz
| Download URL | durapy-1.0.1.0.tar.gz |
|---|---|
| Size | 105.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a973376d7dfdc8430427ff69d2f488b32ca1b1c91c6d36c41a722848d859978
|
|
BLAKE2b-256 checksum How to use checksums |
b55791809b46d2291acf79834861860c5eadceb913e7a9bffe6c80d7037e194f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency logRelease files / durapy-1.0.1.0-py3-none-any.whl
| Download URL | durapy-1.0.1.0-py3-none-any.whl |
|---|---|
| Size | 101.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e9b9a5373b3db80ea2d5b63e597bfaabad3e3ca47fdd512cef7578e02df33c2
|
|
BLAKE2b-256 checksum How to use checksums |
912c75c225c43ed747dbb894d078bd799fecc6b3269aee78c5e030a8f8fabd4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency log