Skip to main content

Maten

A lightweight, dependency-free Python toolkit that provides NumPy-, Pandas-, Matplotlib-, and TensorFlow-like APIs for learning and prototyping.

Features

  • maten.core — N-dimensional tensors, element-wise math, and linear algebra
  • maten.frame — Series, DataFrame, groupby, and CSV/JSON I/O
  • maten.plot — SVG charts (line, bar, scatter, hist, pie, heatmap)
  • maten.neural — Scalar autograd, layers, optimizers, and a simple trainer

Installation

From the project root:

pip install .

Editable install for development:

pip install -e ".[dev]"

Quick start

import maten
from maten.core import Tensor, zeros
from maten.frame import DataFrame
from maten.plot import subplots, line
from maten.neural import Value

print(maten.__version__)
print(zeros(3))
print(DataFrame({"x": [1, 2, 3]}))

_, ax = subplots()
line(ax, [0, 1, 2], [0, 1, 4])
ax.save("demo.svg")

x = Value(2.0)
y = x * x
y.backward()
print(x.grad)  # 4.0

Examples

python examples/core_demo.py
python examples/frame_demo.py
python examples/plot_demo.py
python examples/neural_demo.py

Tests

pytest

Documentation

License

MIT — see LICENSE.

Metadata

Release files for maten 0.1.1

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

Source distribution (sdist)

Source distribution for maten 0.1.1
File Size Uploaded Provenance Actions
maten-0.1.1.tar.gz 32.5 kB Without provenance Details for maten-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 66.3 kB

Release files / maten-0.1.1.tar.gz

Download URL maten-0.1.1.tar.gz
Size 32.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4fda10ee00b9bbbb33767bd700717ca7d9cf3188aee2c289d74be518e9e5dbed
BLAKE2b-256 checksum
How to use checksums
d547fb478ee230eebf5ff343ef72c9002f5ecb85811f26298954ac03a7c00243
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / maten-0.1.1-py3-none-any.whl

Download URL maten-0.1.1-py3-none-any.whl
Size 33.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0eedd2e63c2443bdf3811fa066e17bdf767291e818075f76109125fb9d5e365f
BLAKE2b-256 checksum
How to use checksums
1d1413d17388407af56f172f247a56f84176f40142a457295311dc832330f39c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Security for maten 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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