Skip to main content

network object models

Project description

netom

PyPI PyPI Tests Codecov

Network object models

Development

Install (poetry)[https://python-poetry.org/]

poetry install

Testing:

poetry run pytest -v -rxs --cov-report term-missing --cov=src/netom/ tests/

Rendering:

poetry run netom render bgp_neighbors netom0 bird1-0 tests/data/config/bgp/neighbors.yml

Template filters

make_variable_name: Makes value into a name safe to use as a variable name. Changes spaces, punctuation, etc into _

ip_version: returns IP version of passed value (returns either 4 or 6).

License

Copyright 2018-2021 20C, LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this softare 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

netom-0.2.0.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

netom-0.2.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file netom-0.2.0.tar.gz.

File metadata

  • Download URL: netom-0.2.0.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

File hashes

Hashes for netom-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d7cfc4b3acc84445c1c09471da907f5e8523ee4e66cebf0b0d5a61ed38d37d75
MD5 c78e8b997384894cc158612a0d872ef5
BLAKE2b-256 55e0886679bfff331430f668090d7d82486dfa328dcb573d7204a17465ad0c8a

See more details on using hashes here.

File details

Details for the file netom-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: netom-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

File hashes

Hashes for netom-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc1ac53b877da48ec44c85cac73dd2b474e5906b4c1bc262a74b1fa18a127a50
MD5 987b6361bc2657f2f05ab1cbb15b7783
BLAKE2b-256 59880600bef1ffc02718b251568df26bb4fbe7c0cb68c976865684a0ecb72c7b

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