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.0.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.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: transix-0.4.0.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.0.tar.gz
Algorithm Hash digest
SHA256 381c3b10cd553605f7755becd14498622d886bae5d724dcb59f5523bc405d51a
MD5 d3ae368839339acd14beff8315080862
BLAKE2b-256 29753f563daa3b6b397dd537bce2ec7eb3e0fcf54399e8ca242786e9e9427a6a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: transix-0.4.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30182cabd231968e6486816f9d923bab7d11ceb39790860c99ac4eba1318c3e5
MD5 3df8d3b527166abc2df0ab7e3c7ab8f3
BLAKE2b-256 16b5f3a93281786bad55ef1906bb2aee8a7d327afb83434706c1bfe4d92ed129

See more details on using hashes here.

Provenance

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