lagom
π¦ Autowiring dependency injection container for python 3
νμΌ νμκΈ°
μ΅μ’ λ²μ λ€μ΄λ‘λ (.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
# μ€μΉ κ°μ΄λ
1. μ½λ λ΄λ €λ°κΈ°
git clone https://github.com/meadsteve/lagom
κΉνλΈμμ νλ‘μ νΈ μ½λ μ 체λ₯Ό λ΄ μ»΄ν¨ν°λ‘ λ΄λ €λ°μ΅λλ€.
cd lagom
λ°©κΈ λ΄λ €λ°μ νλ‘μ νΈ ν΄λ μμΌλ‘ μ΄λν©λλ€.
2. 곡μ μ€μΉ μ€ν¬λ¦½νΈ
μ¬μ μΆμ²μ¬μ μ€λΉλ¬Ό
- Python 3 pip λͺ λ Ήμ΄λ₯Ό μ°λ €λ©΄ Pythonμ΄ νμν©λλ€.
pip install lagom
PyPIμ λ°°ν¬λ ν¨ν€μ§λ₯Ό λ°λ‘ μ€μΉν©λλ€. μμ€ ν΄λ‘ μ΄ νμ μμ΅λλ€.
μ€μΉ ν μ ν°λ―Έλμ μ΄κ³ , νλ‘κ·Έλ¨μ λ²μ νμΈ λͺ
λ Ή(μ: --version)μΌλ‘ μ μ μ€μΉλλμ§ νμΈνμΈμ.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
3. Python
μ¬μμ¬μ μ€λΉλ¬Ό
pip install lagom
PyPIμ λ°°ν¬λ ν¨ν€μ§λ₯Ό λ°λ‘ μ€μΉν©λλ€. μμ€ ν΄λ‘ μ΄ νμ μμ΅λλ€.
μλ¬ λ©μμ§ μμ΄ μ€νλκ³ ν°λ―Έλμ μλ΄ λ¬Έκ΅¬κ° μΆλ ₯λλ©΄ μ μμ
λλ€.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
4. Make
보ν΅μ¬μ μ€λΉλ¬Ό
- Git GitHubμμ νλ‘μ νΈ μ½λλ₯Ό λ΄λ €λ°μΌλ €λ©΄ νμν©λλ€.
- Make Linux/macOSλ λ³΄ν΅ κΈ°λ³Έ μ€μΉλμ΄ μμ΅λλ€. Windowsλ λ³λ μ€μΉ(μ: MSYS2, WSL)κ° νμν©λλ€.
make
μμ±λ λΉλ μ€μ μ λ°νμΌλ‘ μ€μ μ»΄νμΌμ μ§νν΄ μ€ν νμΌμ λ§λλλ€.
μλ¬ μμ΄ λλλ©΄ μ±κ³΅μ
λλ€. μμ±λ μ€ν νμΌμ μ§μ μ€νν΄λ³΄μΈμ.
// repository documentation
Was this content helpful?
(0 ratings)
