Skip to main content

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.

Metadata

Release files for netom 0.2.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 netom 0.2.0
File Size Uploaded
netom-0.2.0.tar.gz 11.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for netom 0.2.0
File Interpreter ABI Platform
netom-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.6 kB

Release files / netom-0.2.0.tar.gz

Download URL netom-0.2.0.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d7cfc4b3acc84445c1c09471da907f5e8523ee4e66cebf0b0d5a61ed38d37d75
BLAKE2b-256 checksum
How to use checksums
55e0886679bfff331430f668090d7d82486dfa328dcb573d7204a17465ad0c8a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / netom-0.2.0-py3-none-any.whl

Download URL netom-0.2.0-py3-none-any.whl
Size 13.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc1ac53b877da48ec44c85cac73dd2b474e5906b4c1bc262a74b1fa18a127a50
BLAKE2b-256 checksum
How to use checksums
59880600bef1ffc02718b251568df26bb4fbe7c0cb68c976865684a0ecb72c7b
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

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