lagom
๐ฆ Autowiring dependency injection container for python 3
File Explorer
Download Latest Version (.zip)- 0001_baseline.json
- 0001_baseline.json
- 0001_baseline.json
- benchmark.yml
- build-wheels.yml
- codeql-analysis.yml
- main.yml
- dependabot.yml
- favicon.png
- logo_and_text.png
- CHANGELOG.md
- clean_up.md
- comparison.md
- CONTRIBUTING.md
- cookbook.md
- CREDITS_AND_THANKS.md
- exceptions.md
- experimental.md
- explicit_definitions.md
- framework_integrations.md
- full_example.md
- index.md
- next_steps.md
- requirements.txt
- testing_with_lagom.md
- __init__.py
- click.py
- django.py
- flask.py
- __init__.py
- context_based.py
- definitions.py
- __init__.py
- fast_api.py
- flask.py
- starlette.py
- __init__.py
- functional.py
- logging.py
- reflection.py
- __init__.py
- compilaton.py
- container.py
- context_based.py
- debug.py
- decorators.py
- definitions.py
- environment.py
- exceptions.py
- functools.py
- injection_context.py
- interfaces.py
- markers.py
- py.typed
- updaters.py
- version.py
- wrapping.py
- publish.sh
- __init__.py
- core_domain.py
- test_basic_benchmarks.py
- resources_for_189.py
- test_159_alias_to_self_recursion_error.py
- test_189_lagom_functions_should_be_mockable.py
- test_alias_to_constructor_skipped.py
- __init__.py
- conftest.py
- test_click_integration.py
- test_django_integration.py
- __init__.py
- test_async_context_based_executions.py
- test_function_injection.py
- __init__.py
- test_bug_254.py
- __init__.py
- __init__.py
- __init__.py
- test_fastapi.py
- test_flask.py
- test_starlette.py
- test_functional.py
- test_reflection.py
- __init__.py
- conftest.py
- examples.py
- test_abstracts_and_replacements.py
- test_async_definitions_can_be_used.py
- test_complex_type.py
- test_container_clone_layering.py
- test_container_cloning.py
- test_container_dependency_listing.py
- test_container_updaters.py
- test_context_based_executions.py
- test_decorators.py
- test_defaults_are_used_if_needed.py
- test_dep_definition_functions.py
- test_env_wrapper.py
- test_error_handling.py
- test_explicit_container.py
- test_explicit_partial_functions.py
- test_function_collections.py
- test_injectable_marker.py
- test_lambda_loaders.py
- test_magic_partial_async_functions.py
- test_magic_partial_classes.py
- test_magic_partial_functions.py
- test_magic_partial_functions_scoped_singletons.py
- test_objects.py
- test_objects_with_referential_loops.py
- test_optionals_are_well_handled.py
- test_overwritting.py
- test_partial_async_functions.py
- test_partial_classes.py
- test_partial_functions.py
- test_rich_typing.py
- test_shorter_syntax.py
- test_singleton.py
- test_temporary_singletons.py
- test_the_containers_can_be_extended.py
- test_undefinied_dep_logging.py
- .gitignore
- .pycrunch-config.yaml
- .readthedocs.yml
- .scrutinizer.yml
- CHANGELOG.md
- CLAUDE.md
- CONTRIBUTING.md
- CREDITS_AND_THANKS.md
- LICENSE
- Makefile
- MANIFEST.in
- mkdocs.yml
- mypy.ini
- Pipfile
- pyproject.toml
- pytest.ini
- README.md
- setup.cfg
- setup.py
# Installation Guide
1. Get the code
git clone https://github.com/meadsteve/lagom
Downloads the entire project code from GitHub to your computer.
cd lagom
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Python 3 Python is required to use pip.
pip install lagom
Installs the package published on PyPI directly โ no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install lagom
Installs the package published on PyPI directly โ no need to clone the source.
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
4. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
