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.2.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.2-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: in_layers_core-0.3.2.tar.gz
  • Upload date:
  • Size: 16.4 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.2.tar.gz
Algorithm Hash digest
SHA256 0cdf139d4aa4a97592244d1eec31ba8522cb53d8458506f420d10dfa36b3c083
MD5 a6d5f7e574c49159fd6a3816b83a0e94
BLAKE2b-256 04a070652a9e2a0019422e5185daf82c4b5601fe59ba2dfd9da567331712621d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for in_layers_core-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 65d8861413de1f5d33f0045490225fcd43883bfe90af6f9eb0736f6854fa6850
MD5 f5894e985033991a8cbc2e5212d886e8
BLAKE2b-256 59f0f0b6b92f40007a6bf1b1d96143c5e7c6866f9f25f708eec801d2600fee52

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