Skip to main content

🕸️ nx_yaml

PyPI version License: CC0 1.0 Network Science

nx_yaml bridges YAML documents and NetworkX by representing YAML as the standard Hypergraph Interchange Format (HIF). For YAML users, this unlocks higher-order graph theory analysis, moving beyond simple tree parsing. For the HIF ecosystem, it provides human-readable native support for higher-order program descriptions.

Features

  • Isomorphic Conversion: Losslessly convert between YAML character streams and NetworkX hypergraphs using nx_hif.
  • Round-Trip Property: Ensuring full structural and syntactic preservation:
    • serialize(compose(yaml)) == yaml
    • compose(serialize(hif)) == hif
  • Formal Hypergraph Definition: Implements the Hypergraph Interchange Format.
  • NetworkX Ecosystem: Built to interoperate with the broader NetworkX ecosystem and libraries.
  • Extensible: Designed for further support of diverse higher-order representations.

Ecosystem Compatibility

nx_yaml enables interoperability across projects in the Higher-order Network Science community, including the HIF-standard:

Citation

If you use nx_yaml in your research, please consider citing the above work:

@article{Coll_Joslyn_Landry_Lotito_Myers_Pickard_Praggastis_Szufel_2025,
  title={HIF: The hypergraph interchange format for higher-order networks},
  volume={13},
  DOI={10.1017/nws.2025.10018},
  journal={Network Science},
  author={Coll, Martín and Joslyn, Cliff A. and Landry, Nicholas W. and Lotito, Quintino Francesco and Myers, Audun and Pickard, Joshua and Praggastis, Brenda and Szufel, Przemysław},
  year={2025},
  pages={e21}
}

License

nx_yaml is dedicated to the public domain under the CC0 1.0 Universal license.

Metadata

Release files for nx-yaml 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nx-yaml 1.0.0
File Size Uploaded Provenance Actions
nx_yaml-1.0.0.tar.gz 176.6 kB Without provenance Details for nx_yaml-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nx-yaml 1.0.0
File Interpreter ABI Platform Actions
nx_yaml-1.0.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for nx_yaml-1.0.0-py2.py3-none-any.whl

Total release size: 204.8 kB

Release files / nx_yaml-1.0.0.tar.gz

Download URL nx_yaml-1.0.0.tar.gz
Size 176.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2ea3e9183b7c25f1c3b221bff5eb176b96c151db185644036140869d451eae92
BLAKE2b-256 checksum
How to use checksums
8f3ef37b8538dc3bbe4d6f6d5ffde5e504f23a44f5660e9de8c1ab231d46660b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / nx_yaml-1.0.0-py2.py3-none-any.whl

Download URL nx_yaml-1.0.0-py2.py3-none-any.whl
Size 28.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3182a449e9731f26ec7e10aa92156b204a14ca1501ce4428dd02492b4f44f805
BLAKE2b-256 checksum
How to use checksums
1cb0281d75abd467544f9112ffdf40d81b35d56cc5102b78263dd0f8b21a2325
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for nx-yaml 1.0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page