Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

in_layers_core-0.3.4.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

in_layers_core-0.3.4-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file in_layers_core-0.3.4.tar.gz.

File metadata

  • Download URL: in_layers_core-0.3.4.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

Hashes for in_layers_core-0.3.4.tar.gz
Algorithm Hash digest
SHA256 e01abe700b64d1eda121696749195dc18fb69e0b93a04da2b3b16951a06598df
MD5 776e25fe5c93a5e2912a845d2c8d3e40
BLAKE2b-256 868b653fbbfd4bb577450691b9df5014e240948ee8c7abcf88ebfd690fa77eef

See more details on using hashes here.

File details

Details for the file in_layers_core-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: in_layers_core-0.3.4-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

Hashes for in_layers_core-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 083d856af08fdeffe28e73a1aa81b1847c61fc98d152f30fde52d30b7bca47ea
MD5 0dce3068f6a10799c98fbea5eca9be2a
BLAKE2b-256 c82acf79d58da6734dc5f717b83ac79db0a37c22681d933d22ee52a4b0ccc919

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page