Skip to main content

DuraPy - An Open-Source Python Toolbox for STEM Workflows | By Draconis

License: MIT PRs Welcome

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

  • 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, built on top of NumPy + Custom types for Matrices and Vectors - Accelerated with DracoLIX and custom C++ backend
    • 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
  • 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

  • UniSky - Aerospace/Spaceflight simulation and analysis tools

Suggested next improvements

If you want to evolve the package further, the most impactful next steps are:

  • Add more polished examples and tutorials
  • Create a small CLI for common calculations
  • Add documentation pages for each submodule
  • Introduce a richer test suite and versioned release workflow

DuraPy is intentionally open-ended, so it can grow into whatever your STEM projects need next.

Release files for durapy 1.0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for durapy 1.0.0.4
File Size Uploaded
durapy-1.0.0.4.tar.gz 41.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for durapy 1.0.0.4
File Interpreter ABI Platform
durapy-1.0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 90.9 kB

Release files / durapy-1.0.0.4.tar.gz

Download URL durapy-1.0.0.4.tar.gz
Size 41.5 kB
Tags Source
SHA-256 checksum
How to use checksums
370a72bbdb947c31618a22e19cdc32b75fe9678cf7dea396c6f0732d0de7c40c
BLAKE2b-256 checksum
How to use checksums
97118dfd43aca4c43ffe1c3911a4a6089e081db51da3080ef09cc85846f6e43f
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 Aug 20, 2026.

Transparency log

Release files / durapy-1.0.0.4-py3-none-any.whl

Download URL durapy-1.0.0.4-py3-none-any.whl
Size 49.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe86506c0cd6feb91877aaca3db52759c3c58e4b1ca03f2b03d53eac1b29c3a0
BLAKE2b-256 checksum
How to use checksums
d53e15793352f0aa223d829c7488762d89ec9d2ab47fdbba159dc6f172d25383
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 Aug 20, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0.4 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page