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.3.0.tar.gz (6.2 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.3.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for transix-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d5c00c5e6809cc175d3eb6063aae995016e9bcc8b20d1920c071cf3fc9f1b8bb
MD5 0871d169cbd3a137c0c511b932eae843
BLAKE2b-256 4de2ce14e9be7fe04ba05d63acc0cd3f847eaafd566b4f4bc9d9b36858d44d17

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: transix-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cab15abe42f35bc5e894618d288c61c2ba996b51d4d3afd73f49262c49f01d20
MD5 d81d1766f858ba744b61aff944d6edb0
BLAKE2b-256 d57a6cd801ecc1d1822d60f265d3ab4e16394900949573285e5e8f114a66aa66

See more details on using hashes here.

Provenance

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