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.5.0.tar.gz (7.5 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.5.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for transix-0.5.0.tar.gz
Algorithm Hash digest
SHA256 15a42c8f8e57e277f3bdd7016abe212e204b81b45057e40f2c31f722b0847818
MD5 dcfab3346d97671e2b0a3a05735b6f6f
BLAKE2b-256 375bf00cd050eaa636bef0e7aaf88584f28a820e8618437daf9b5d301d887691

See more details on using hashes here.

Provenance

The following attestation bundles were made for transix-0.5.0.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.5.0-py3-none-any.whl.

File metadata

  • Download URL: transix-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 10.0 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ddb57d205307a52c689a699ba6df1ccfe0c6be1851a7485591c2a2945a53731
MD5 9abe97552da6a9d61b36ad1a1c43bd37
BLAKE2b-256 6588583807c3767ed1ab7e964f797bc30b155fe2fb924b94cbbe915a53cb36b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for transix-0.5.0-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