Skip to main content

YANGcore

YANGcore is a Python based application server having a RESTCONF-based interface binding to a SQL Alchemy-based database backend.

Installation

pip install yangcore

Overview

  • HTTPS or HTTP
  • RESTCONF HEAD, GET, POST, PUT, DELETE, and PATCH work over entire tree.
  • Ordered-by user query parameters ('insert' and 'point') work.
  • List Pagination query parameters ('limit', 'offset', and 'direction') work.
  • The ./well-known/host-meta, RESTCONF root (i.e., {+restconf}), and YANG-library resources.
  • Tested using in-memory, file-base, MySQL and, a long time ago, AWS Aurora and Postgres.
  • TLS connection to backend RDBMS, with or w/o client certificate.
  • Logging and dynamic callouts for Audit log and Notifications log
  • Database-level transactions and concurrent access.
  • In-memory database support for ephemeral use-cases.
  • Lightweight and fast: single-threaded Asynchronous I/O.
  • Python 3.11 and 3.12

Motivation

RESTCONF is great REST API right out of the box. The API is auto-generated off of a collection of YANG modules, which defines the API contract. YANG is the popular data modelling langauge defined by the IETF (RFC 7950)and recommended by the Internet Architecture Board.

As far as APIs go, RESTCONF (RFC 8040) scores high on both the Richardson Maturity Model and the Amundsen Maturity Model models. See API Maturity for a description for what makes for a good API.

Python is a popular programming language. A Python implementation of a RESTCONF server seems like it could be popular. Searching for Python-based RESTCONF tooling found Jetconf, but its been abandoned.

Thus there seemed to be an opportunity to work and YANGcore became something.

More Information

Please see the documentation for more information.

Metadata

Release files for yangcore 0.0.99

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yangcore 0.0.99
File Size Uploaded
yangcore-0.0.99.tar.gz 123.8 kB Details

Release files / yangcore-0.0.99.tar.gz

Download URL yangcore-0.0.99.tar.gz
Size 123.8 kB
Tags Source
SHA-256 checksum
How to use checksums
12057880e2d3e7b0e4bda57b5d815456a1f9a09e33666a15d8bf7c1d635cd641
BLAKE2b-256 checksum
How to use checksums
1c30cd304632a48802c72fdfcc7d950664335a05c36126af0c6a9d962a7c5138
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.99 This release

1 release file

0.0.98

1 release file

0.0.97

1 release file

0.0.96

1 release file

0.0.95

1 release file

0.0.94

1 release file

0.0.93

1 release file

0.0.92

1 release file

0.0.91

1 release file

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