Skip to main content

Naylence resource factory and extension management framework

Project description

Join our Discord

Naylence factory

Naylence factory is the resource factory and extension management framework for the Naylence ecosystem. It provides a structured way to define, register, and instantiate resources (connectors, stores, clients, etc.) using Pydantic-based configuration, priority-based defaults, and plugin-style extension loading.


Features

  • 🏭 Resource Factories — Define factories that build typed resources from configs.
  • 🔌 Extension Management — Discover and register implementations via Python entry points.
  • Priority-based Defaults — Automatically select the “best” default implementation.
  • 🧩 Composable Configs — Pydantic models with expression support (${env:VAR:default}).
  • 🔒 Policy-driven Evaluation — Control how config expressions are handled: evaluate, literal, or error.
  • 🔄 Polymorphic Dispatch — Automatically instantiate subclasses based on type fields.

Installation

pip install naylence-factory

Requires Python 3.12+.


License

Apache 2.0 © Naylence Dev

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

naylence_factory-0.1.7.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

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

naylence_factory-0.1.7-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file naylence_factory-0.1.7.tar.gz.

File metadata

  • Download URL: naylence_factory-0.1.7.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for naylence_factory-0.1.7.tar.gz
Algorithm Hash digest
SHA256 a28f36e5c66a72337e06ba68d760d96ba4b8cb71e1cddd22888b9c17ed5fb010
MD5 8c4fd419e98167334530566d917886d2
BLAKE2b-256 5a79f81843d70da518340ec1e3bbf3748bd58951c03bb15842affa06d9c3de27

See more details on using hashes here.

Provenance

The following attestation bundles were made for naylence_factory-0.1.7.tar.gz:

Publisher: publish.yml on naylence/naylence-factory-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file naylence_factory-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for naylence_factory-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 dd8468587adbfc6f689c9d4d621a31388fd1b2ab729b305559d39bc0b67bb1da
MD5 2f5e51035f0c506793829475c8500f82
BLAKE2b-256 4c6c76278c54d94952396bd485ad8b8c9c2e8f59df1dcc4e275a37a275c97353

See more details on using hashes here.

Provenance

The following attestation bundles were made for naylence_factory-0.1.7-py3-none-any.whl:

Publisher: publish.yml on naylence/naylence-factory-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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