A lightweight Python library for power system and control engineering transforms
Project description
transix
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5c00c5e6809cc175d3eb6063aae995016e9bcc8b20d1920c071cf3fc9f1b8bb
|
|
| MD5 |
0871d169cbd3a137c0c511b932eae843
|
|
| BLAKE2b-256 |
4de2ce14e9be7fe04ba05d63acc0cd3f847eaafd566b4f4bc9d9b36858d44d17
|
Provenance
The following attestation bundles were made for transix-0.3.0.tar.gz:
Publisher:
publish-pypi.yml on Gowtham-Mahendran/transix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
transix-0.3.0.tar.gz -
Subject digest:
d5c00c5e6809cc175d3eb6063aae995016e9bcc8b20d1920c071cf3fc9f1b8bb - Sigstore transparency entry: 953489082
- Sigstore integration time:
-
Permalink:
Gowtham-Mahendran/transix@65b3019b08cb9519d74a66d571c5e612f92301a3 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/Gowtham-Mahendran
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@65b3019b08cb9519d74a66d571c5e612f92301a3 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cab15abe42f35bc5e894618d288c61c2ba996b51d4d3afd73f49262c49f01d20
|
|
| MD5 |
d81d1766f858ba744b61aff944d6edb0
|
|
| BLAKE2b-256 |
d57a6cd801ecc1d1822d60f265d3ab4e16394900949573285e5e8f114a66aa66
|
Provenance
The following attestation bundles were made for transix-0.3.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on Gowtham-Mahendran/transix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
transix-0.3.0-py3-none-any.whl -
Subject digest:
cab15abe42f35bc5e894618d288c61c2ba996b51d4d3afd73f49262c49f01d20 - Sigstore transparency entry: 953489083
- Sigstore integration time:
-
Permalink:
Gowtham-Mahendran/transix@65b3019b08cb9519d74a66d571c5e612f92301a3 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/Gowtham-Mahendran
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@65b3019b08cb9519d74a66d571c5e612f92301a3 -
Trigger Event:
push
-
Statement type: