Skip to main content

Natural language request to json converter library

Project description

Project "INJECT-X"

version 0.0.1 of 03/05/2025

Summary

Glossary

Term Description

Project Description

Project inject-x is based on injector library in order to give additional features.

Features:

1. Automatic context loader

Providing a folder path the library will load every class that inherit from Presentation, Repository, Service, Config classes.

from src.injectx import Injector, Presentation, Repository

inj: Injector = Injector().register_all_from_folder("path_to_folder")

2. Getter for a given child's classes

After registrating classes we can retrieve all child's classes with:

from src.injectx import Injector, Presentation, Repository

class Pres1(Presentation):...
class Pres2(Pres1):...
class Pres3(Pres2):...

res_pres = inj.get_all_by_type(Presentation)

it will returns instances of Pres1, Pres2, Pres3 classes.

Build package

bumpver update --patch  # or --minor / --major
python -m build
twine upload dist/* # to upload to pypi

Sommario

Referente: mirko.colageo@gmail.com

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

inject_x-0.0.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

inject_x-0.0.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file inject_x-0.0.0.tar.gz.

File metadata

  • Download URL: inject_x-0.0.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for inject_x-0.0.0.tar.gz
Algorithm Hash digest
SHA256 c779c17c773a29fea0c48d8ac935aa2de751c0a76313a63edf25df53f1d3f058
MD5 7f156b9fa2d2cc3241d2297e343809a8
BLAKE2b-256 0e275cba518b8a54fc288c368be946f6417ab491f46c1f64a991555cc4dd1184

See more details on using hashes here.

File details

Details for the file inject_x-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: inject_x-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for inject_x-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 593cfe3c934061e32759777d99e1f5033fe8ea85f794eaa3df61d42998d4ade1
MD5 ae6a59e398ba0cbfa81e89ccd4b631ce
BLAKE2b-256 4afa165154e5313ae18b664c93623451315d9889e0c5be4eca9cd1d1db396c46

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