{"id":21030596,"url":"https://github.com/workfloworchestrator/nwa-stdlib","last_synced_at":"2025-08-12T05:07:10.320Z","repository":{"id":43041439,"uuid":"302556991","full_name":"workfloworchestrator/nwa-stdlib","owner":"workfloworchestrator","description":"This repository contains some utility functions for the workflow orchestrator project.","archived":false,"fork":false,"pushed_at":"2025-04-17T10:39:41.000Z","size":415,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-06-16T03:15:25.226Z","etag":null,"topics":["python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/workfloworchestrator.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-10-09T06:48:45.000Z","updated_at":"2025-04-17T09:46:37.000Z","dependencies_parsed_at":"2023-11-15T13:26:16.179Z","dependency_job_id":"60507d5b-13f7-4e5b-b855-462bcce0a57d","html_url":"https://github.com/workfloworchestrator/nwa-stdlib","commit_stats":{"total_commits":308,"total_committers":18,"mean_commits":17.11111111111111,"dds":0.6948051948051948,"last_synced_commit":"3ace2eb2beb9dc4b98b07f281786135b7af89a59"},"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/workfloworchestrator/nwa-stdlib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workfloworchestrator%2Fnwa-stdlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workfloworchestrator%2Fnwa-stdlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workfloworchestrator%2Fnwa-stdlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workfloworchestrator%2Fnwa-stdlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/workfloworchestrator","download_url":"https://codeload.github.com/workfloworchestrator/nwa-stdlib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workfloworchestrator%2Fnwa-stdlib/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270005591,"owners_count":24510939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python"],"created_at":"2024-11-19T12:19:23.200Z","updated_at":"2025-08-12T05:07:10.291Z","avatar_url":"https://github.com/workfloworchestrator.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Network Automation Standard Library\n\n[![pypi_version](https://img.shields.io/pypi/v/nwa-stdlib?color=%2334D058\u0026label=pypi%20package)](https://pypi.org/project/nwa-stdlib)\n[![Supported python versions](https://img.shields.io/pypi/pyversions/nwa-stdlib.svg?color=%2334D058)](https://pypi.org/project/nwa-stdlib)\n[![codecov](https://codecov.io/github/workfloworchestrator/nwa-stdlib/graph/badge.svg?token=9XWVHKKF06)](https://codecov.io/github/workfloworchestrator/nwa-stdlib)\n\nThis library contains the functions and utilities that are shared by most Network Automation projects built at SURF.\n\n## Installation\n\nTo install the package from PyPI:\n\n```bash\npip install nwa-stdlib\n```\n\n## Development\n\n### Virtual Environment\n\nSteps to setup a virtual environment.\n\n#### Step 1:\n\nCreate and activate a python3 virtualenv.\n\n#### Step 2:\n\nInstall flit to enable you to develop on this repository:\n\n```bash\npip install flit\n```\n\n#### Step 3:\n\nTo install all development dependencies:\n\n```bash\nflit install --deps develop\n```\n\nAll steps combined into 1 command:\n\n```bash\npython -m venv .venv \u0026\u0026 source .venv/bin/activate \u0026\u0026 pip install -U pip \u0026\u0026 pip install flit \u0026\u0026 flit install --deps develop\n```\n\n### Unit tests\n\nActivate the virtualenv and run the unit tests with:\n\n```bash\npytest\n```\n\n### Pre-commit\n\nThis project uses [pre-commit](https://pre-commit.com/) to automatically run a number of checks before making a git commit.\nThe same checks will be performed in the CI pipeline so this can save you some time.\n\nFirst ensure you have pre-commit installed.\nIt is recommended to install it outside the virtualenv.\nOn Linux and Mac, pre-commit is available in most package managers. Alternatively you can install it globally with [pipx](https://github.com/pypa/pipx).\n\nOnce pre-commit is installed, go into the project root and enable it:\n```bash\npre-commit install\n```\n\nThis should output `pre-commit installed at .git/hooks/pre-commit`. The next time you run `git commit` the pre-commit hooks will validate your changes.\n\n### Bump version\n\nDepending on the feature type, run bumpversion (patch|minor|major) to increment the version you are working on. For\nexample to update the increment the patch version use\n```bash\nbumpversion patch\n```\n\n## Supported Python versions\n\nnwa-stdlib must support the same python versions as [orchestrator-core](https://github.com/workfloworchestrator/orchestrator-core).\n\nExceptions to this rule are:\n* **A new python version is released:** nwa-stdlib should support the new version before orchestrator-core does\n* **Support for an old python version is dropped:** nwa-stdlib should drop the python version after orchestrator-core does\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkfloworchestrator%2Fnwa-stdlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkfloworchestrator%2Fnwa-stdlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkfloworchestrator%2Fnwa-stdlib/lists"}