Adaptive Dynamics Toolkit (ADT)
A unified framework for adaptive computing paradigms, including adaptive π geometry, ARP optimization, physics simulations, and compression algorithms.
Installation
pip install adaptive-dynamics
For development or to include optional dependencies:
pip install "adaptive-dynamics[torch,sympy,dev]"
# or with uv
uv venv && uv pip install -e ".[dev,docs,torch,sympy]"
Quick Examples
Curved Geometry with Adaptive π (πₐ)
from adaptive_dynamics.pi.geometry import AdaptivePi
# Create an instance with gentle positive curvature
pi = AdaptivePi(curvature_fn=lambda x, y: 1e-3)
# Calculate circumference in curved space
circumference = pi.circle_circumference(1.0)
print(f"Circumference of unit circle: {circumference:.6f}")
# Output: Circumference of unit circle: 3.144159
Neural Network Training with ARP Optimizer
import torch
import torch.nn as nn
from adaptive_dynamics.arp.optimizers import ARP
# Define a simple model
model = nn.Sequential(nn.Flatten(), nn.Linear(28*28, 10))
# Use ARP optimizer
opt = ARP(model.parameters(), lr=3e-3, alpha=0.01, mu=0.001)
# Training loop (example)
# X, y = ... load a batch ...
loss_fn = nn.CrossEntropyLoss()
loss = loss_fn(model(X), y)
loss.backward()
opt.step()
opt.zero_grad()
Examples
Documentation
Full documentation is available at https://RDM3DC.github.io/adaptive-dynamics-toolkit
Features
- Adaptive π Geometry: Curved space mathematics and Gauss-Bonnet inspired algorithms
- ARP Optimization: Resistance-conductance model for neural network optimization
- Physics Simulations: Gravity, beams, and ringdown simulations with adaptive precision
- Compression Tools: Adaptive compression for text, curves, and tensors
- TSP Solvers: Tools for 3D printing toolpath optimization
Pro Features
ADT Pro extends the toolkit with advanced features for enterprise and research:
- Advanced CUDA acceleration
- Premium simulation capabilities
- Enterprise-grade dashboards
- Specialized slicer algorithms
Contact us at contact@example.com for licensing information.
Contributing
Contributions are welcome! See CONTRIBUTING.md for details.
License
- Adaptive Dynamics Toolkit (Community Edition): MIT License
- ADT Pro: Commercial license (see pro/README_PRO.md)
Support & Services
Release files for adaptive-dynamics 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 | |
|---|---|---|---|
| adaptive_dynamics-0.1.0.tar.gz | 22.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| adaptive_dynamics-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.9 kB
Release files / adaptive_dynamics-0.1.0.tar.gz
| Download URL | adaptive_dynamics-0.1.0.tar.gz |
|---|---|
| Size | 22.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03f340b55b9bcbc44436ede1572e1d0a697cf26f8c9588c4049d4252dc6a2e39
|
|
BLAKE2b-256 checksum How to use checksums |
4f64e8fedb664285d8998b75d678a183d597175fb3d9640b4833d3672a2b4554
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / adaptive_dynamics-0.1.0-py3-none-any.whl
| Download URL | adaptive_dynamics-0.1.0-py3-none-any.whl |
|---|---|
| Size | 22.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db86ab6f40ff2e0e055201fde516180a68a166407382e867c46bed567cc9e605
|
|
BLAKE2b-256 checksum How to use checksums |
609daa291148b62da024a29552a05b2024f90f46ebf0cc5ad8b2070f13c1cc24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|