Skip to main content

A lightweight Python library for power system and control engineering transforms

Project description

transix

PyPI Python CI License Docs

transix is a lightweight Python library for linear, deterministic, matrix-based representation transforms, commonly used in electrical and control engineering.

Available Transforms

  • Fortescue (Symmetrical Components)
  • Clarke (αβ)
  • Signal generation utilities

Features

  • Supports complex and real-valued inputs
  • Clean object-oriented output
  • Fully tested with pytest
  • Lightweight and minimal dependency

Installation

transix can be installed from PyPI:

pip install transix

Example:

Fortescue Transform

import transix as tx
Ea = 60+0j
Eb = 45-75j
Ec = -21+120j
seq = tx.abc_to_sym(Ea, Eb, Ec)

a0, b0, c0 = seq.zero
a1, b1, c1 = seq.pos
a2, b2, c2 = seq.neg

Clarke Transform

import transix as tx
alpha, beta, zero = tx.abc_to_ab0(a, b, c)

Testing

All transforms and utilities are tested and verifiable using pytest

Roadmap

See ROADMAP.md for planned additions and future work.

Contributing

Issues and pull requests are welcome.

If you find a bug, have a question, or want to add a transformation, please open an issue on GitHub.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

transix-0.4.2.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

transix-0.4.2-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file transix-0.4.2.tar.gz.

File metadata

  • Download URL: transix-0.4.2.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for transix-0.4.2.tar.gz
Algorithm Hash digest
SHA256 3f23ed4457e4d8816863669ec9ecf0ed868698bcee80eac555b88d413e50ed0f
MD5 42e8cd630c5617e370eb868f25dbd70f
BLAKE2b-256 e9d4ef40c7247d139cb3d1f52c587b0118a701bac8c6b813fb7668cdd9d040b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for transix-0.4.2.tar.gz:

Publisher: publish-pypi.yml on Gowtham-Mahendran/transix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file transix-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: transix-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for transix-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d88d0a9735f085ea1ab810b2b28ab1bdad93acc17f9b7475c60cde12b8486a8e
MD5 16cc3f39a701e80eb4f2cd8955f0a1d6
BLAKE2b-256 7816915fb6129310775a4bce2d08ed2c1fa6367489da0869942602b30d61db0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for transix-0.4.2-py3-none-any.whl:

Publisher: publish-pypi.yml on Gowtham-Mahendran/transix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page