The Python port of Node in Layers Core.
Project description
In Layers Core
Python port of the Node-in-Layers core framework. Supports Domains, config and layers loading, and cross-layer logging.
Key points:
- Domains explicitly provided in config (no convention discovery)
- Layers are loaded in configured order (supports composite layers)
- Cross-layer logging with automatic id propagation and function wraps
Pecularities, Limitations, and Recommendations
No Keyword Arguments for Layer level Functions
For the public functions for a given layer, the arguments cannot use kwargs. The reason behind this is it creates a consistent interface to allow the framework and other tools to work.
We recommend making arguments an object (class instance, dict), and making the last argument a "cross_layer_props" object, that can pass along across layers.
Contributing
Running Unit Tests
poetry run pytest --cov=. --cov-report=term-missing --cov-report=html -q
Auto-Cleaning / Checking Tools
./bin/lint.sh
Publishing
./bin/deploy.sh
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file in_layers_core-0.3.3.tar.gz.
File metadata
- Download URL: in_layers_core-0.3.3.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3590d5fdcf871fb3386697dfab171f6d1e4433fbef2f1f89ae19c7db44a895d3
|
|
| MD5 |
bfde636be0e1f5d9bce69f6c8f877273
|
|
| BLAKE2b-256 |
b0a03f4a13c9dec8e1876e0cb9af1a422290d4ada1bfd6e799124e6afe921c94
|
File details
Details for the file in_layers_core-0.3.3-py3-none-any.whl.
File metadata
- Download URL: in_layers_core-0.3.3-py3-none-any.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c42937497bb4fde32e73d5fd3397db1fb09db00f48fada7f64ff8bd4d90f8543
|
|
| MD5 |
6d257204fb4e0e80b30f0edcf21ee5a1
|
|
| BLAKE2b-256 |
8424c16580777b59246a9e62d10a8fc88ca7e23784a84c6af2a79e40627d3af7
|