PyPtP
Open-source Python SDK for electrical grid calculations and modelling.
PyPtP enables Distribution System Operators (DSOs) and developers to integrate with Phase to Phase's electrical network modeling ecosystem. Access electrical network data in the native formats used by Gaia (LV networks) and Vision (MV networks) software.
Beta: The VNF and GNF data models are complete. Our focus now is fixing the remaining bugs and settling a stable interface for the helpers and higher-level functions. Until 1.0, a minor release (0.x.0) can still break the API. Every breaking change is listed in the release notes. Pin a minor version, for example
pyptp~=0.46.0, if you need a fixed API.Found a bug, or have an opinion on the helper API? Tell us via GitHub Issues, Discussions or email.
Installation
pip install pyptp
Or with uv:
uv add pyptp
Documentation
- Docs: pyptp.com — guides, API reference, and samples
- Examples:
docs/samples/— runnable code snippets
Contributing
We welcome contributions! Please see CONTRIBUTING.md for:
- How to report bugs and request features
- Development setup and coding standards
- Pull request process
- Contributor License Agreement (CLA)
License
This project is licensed under the GNU General Public License v3.0 or later (GPL-3.0-or-later).
See LICENSE for the full license text.
Support
- Issues & Features: GitHub Issues
- Questions: GitHub Discussions
- Email: pyptp@phasetophase.com
Developed by Phase to Phase
Metadata
Release files for pyptp 0.47.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyptp-0.47.0.tar.gz | 15.2 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyptp-0.47.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.6 MB
Release files / pyptp-0.47.0.tar.gz
| Download URL | pyptp-0.47.0.tar.gz |
|---|---|
| Size | 15.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b1e62354e851b576926bc832084ed34d6d15f45652c14f606c7178fb0875529
|
|
BLAKE2b-256 checksum How to use checksums |
70c56dcbad0a608909eabf023113bdce2901d29ff7a89453759ea43648609d79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logRelease files / pyptp-0.47.0-py3-none-any.whl
| Download URL | pyptp-0.47.0-py3-none-any.whl |
|---|---|
| Size | 15.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
834eb12a6afd40440e02a4f2e8bbb89701649adbbae95baed729dc42a14af79d
|
|
BLAKE2b-256 checksum How to use checksums |
37cab749f17bef5cbfc49217d7191ea4d6219bb8576101ed04330240a91beb82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logSecurity for pyptp 0.47.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pyptp-0.47.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.