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.1.tar.gz (16.4 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.1-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: in_layers_core-0.3.1.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for in_layers_core-0.3.1.tar.gz
Algorithm Hash digest
SHA256 8e66dd85229fec72590e948de8112a93d687dd96bf1e2bd0181c813025b50b02
MD5 667aa984ed39ed496699cefc91b6a736
BLAKE2b-256 26519b3540b1b033724c72e9819639d6f0455db9943760547bb4116386378848

See more details on using hashes here.

File details

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

File metadata

  • Download URL: in_layers_core-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for in_layers_core-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8484319f76ee79e77069c27bd512612f9f03859b77c002be7ad13808371ef284
MD5 4761421b394f73368dcb3b0287d84dcd
BLAKE2b-256 93053cba69ef91a881b4ba44b4f93f8b575a141bb6f5dc4f170a1297612ef780

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