Skip to main content

Python utilities for working with CSDMS Standard Names

Project description

Python Build Status PyPI Build Status

standard_names

Python utilities for working with CSDMS Standard Names.

CSDMS Standard Names is an element of the CSDMS Workbench, an integrated system of software tools, technologies, and standards for building and coupling models.

As Regular Expression

^                           # Start of the object name
[a-z]+                      # Starts with one or more lowercase letters
(?:                         # Start of a non-capturing group for subsequent parts
    [-~_]?                  # Optional separator: hyphen, tilde, or underscore
    [a-zA-Z0-9]+            # One or more alphanumeric characters
)*                          # Zero or more repetitions of the group
__                          # Double underscore separator
[a-z]+                      # Start of the quantity
(?:                         # Start of a non-capturing group for subsequent parts
    [-~_]?                  # Optional separator: hyphen, tilde, or underscore
    [a-zA-Z0-9]+            # One or more alphanumeric characters
)*                          # Zero or more repetitions of the group
$                           # End of the name

As Parsing Expression Grammar

Start
    = LowercaseWord UnderscoreSeparator LowercaseWord

LowercaseWord
    = [a-z] AdditionalCharacters*

AdditionalCharacters
    = Separator? Alphanumeric+

Separator
    = "-" / "~" / "_"

Alphanumeric
    = [a-zA-Z0-9]

UnderscoreSeparator
    = "__"

Links

  • Source code: The standard_names source code repository.
  • Documentation: User documentation for standard_names
  • Get: Installation instructions
  • Registry: The official registry of CSDMS Standard Names.

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

standard_names-0.2.9.tar.gz (93.3 kB view details)

Uploaded Source

File details

Details for the file standard_names-0.2.9.tar.gz.

File metadata

  • Download URL: standard_names-0.2.9.tar.gz
  • Upload date:
  • Size: 93.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for standard_names-0.2.9.tar.gz
Algorithm Hash digest
SHA256 e224d1ceae89fb7ebb4439eb9d7e25da190d6a2d289b38e1e7404ecbd85439e3
MD5 3947ed248d60d3fa144321887f358ee3
BLAKE2b-256 449b143bddb1961301c9c38aa29923b68ecb0c44b79d919556c3a28561ae530c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page