Skip to main content

A Python package for the Simplified Zone Notation standard

Project description

A Python package for parsing the Simplified Zone Notation (SZN) format.

Documentation

https://pyszn.readthedocs.org/

Changelog

1.8.1 (2026-03-12)

New

  • Adds a test for find_topology_in_python, specifically for the TOPOLOGY_ID feature. [Carlos Jenkins]

Fix

  • Fixes find_topology_in_python, a generator was being consumed in the first comparison and then it was empty in the second one, now a comprehension is used instead. [Carlos Jenkins]

1.8.0 (2026-03-11)

New

  • Adds GitHub Actions workflow to run tests on pull request. [Carlos Jenkins]

Changes

  • Updates project to use uv, pyproject.toml and removes setup.py. [Carlos Jenkins]

  • Updated the find_topology_in_python to use modern Python, be deterministic and fixed documentation. [Carlos Jenkins]

Fix

  • Fixes pyparsing deprecation warnings. [Carlos Jenkins]

  • Fixes documentation build. [Carlos Jenkins]

1.7.1 (2025-07-03)

Fix

  • Fix an issue where the attribute injection parser aborted processing a injection rule when it finds a non-topology file in the expanded rule files. Now it continues processing the same rule with the next file. [Sergio Salazar]

1.7.0 (2024-10-04)

New

  • Nodes, ports and links are now ordered using natural sorter. [Carlos Jenkins]

1.6.0 (2022-06-07)

New

  • Add the capability to specify subnodes by using ´node>subnode´ syntax. [Sergio Salazar]

  • Add the capability to specify a multiline text as value of an attribute by using ``` [Sergio Salazar]

1.5.0 (2021-11-04)

Changes

  • Up to a 10x speedup when parsing attribute injection [Max Nedorezov]

1.4.0 (2021-05-21)

New

  • Support parse topology from a ‘TOPOLOGY_ID’ [Jose Martinez]

1.3.0 (2020-10-05)

New

  • Allow user to skip paths using fnmatch [David Diaz]

1.2.0 (2019-06-11)

New

  • Support for lists and floats types [Eduardo Mora]

1.1.1 (2018-11-21)

Changes

  • Parser supports multiline attributes. [Javier Peralta]

1.1.0 (2018-11-09)

Changes

  • Dropped support for Python 2.7. [Carlos Jenkins]

Fix

  • Fix grammar description for pyparsing > 2.2.2. [Carlos Jenkins]

1.0.0 (2017-11-02)

Initial public release.

New

  • Inject support links ports and env. [Javier Peralta]

License

Copyright (C) 2016-2026 Hewlett Packard Enterprise Development LP

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.

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

pyszn-1.8.1.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyszn-1.8.1-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file pyszn-1.8.1.tar.gz.

File metadata

  • Download URL: pyszn-1.8.1.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for pyszn-1.8.1.tar.gz
Algorithm Hash digest
SHA256 2399f5c6c966e6fddc19461faf2016c8384a8b34e0538ed3641fcb0fdf8c9067
MD5 fc8435f566fa0cd5b03ee19c999d9159
BLAKE2b-256 be1662a54f0570e92b4204da4026d2e842b3fb054fb886df0e11a374c709681e

See more details on using hashes here.

File details

Details for the file pyszn-1.8.1-py3-none-any.whl.

File metadata

  • Download URL: pyszn-1.8.1-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for pyszn-1.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6709fcae37bbbc5fa9f9a72f30fdef1708ff6f14851385794d760efb7591bce4
MD5 a16106cb7911e724cb08d8ae2a272d95
BLAKE2b-256 d83ec186d68c2019717496759e1f0bdcac1cff2e1324e6c28ec6eef135bd6418

See more details on using hashes here.

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