python-injection
Dead-simple dependency injection framework for Python.
파일 탐색기
최종 버전 다운로드 (.zip)- action.yml
- action.yml
- action.yml
- action.yml
- cd.yml
- ci.yml
- pages.yml
- dependabot.yml
- FUNDING.yml
- imports.md
- main-functions.md
- profiles.md
- register-dependencies.md
- resolve-dependencies.md
- scopes.md
- fastapi.md
- classes.md
- pytest.md
- test-dependencies.md
- CNAME
- index.md
- next-steps.md
- threadsafety.md
- __init__.py
- asynchronous.py
- event.py
- invertible.py
- lazy.py
- threading.py
- type.py
- __init__.py
- asfunction.py
- descriptors.py
- injectables.py
- locator.py
- module.py
- scope.py
- slots.py
- __init__.py
- fastapi.py
- fastapi.pyi
- __init__.py
- __init__.pyi
- __init__.py
- __init__.pyi
- entrypoint.py
- exceptions.py
- loaders.py
- py.typed
- __init__.py
- test_asfunction.py
- test_descriptors.py
- test_module.py
- test_scope.py
- __init__.py
- test_entrypoint.py
- test_entrypointmaker.py
- __init__.py
- test_fastapi.py
- __init__.py
- event_helper.py
- __init__.py
- module3.py
- __init__.py
- module2.py
- __init__.py
- module1.py
- module_suffix.py
- prefix_module.py
- __init__.py
- injectable.py
- __init__.py
- module.py
- __init__.py
- test_load_profile.py
- test_profile_loader.py
- test_python_module_loader.py
- __init__.py
- test_constant.py
- test_inject.py
- test_injectable.py
- test_scoped.py
- test_should_be_injectable.py
- test_singleton.py
- __init__.py
- asfunction.py
- constant.py
- entrypoint.py
- inject.py
- injectable.py
- scoped.py
- should_be_injectable.py
- singleton.py
- __init__.py
- fastapi.py
- .gitignore
- conftest.py
- LICENSE
- Makefile
- mkdocs.yml
- pyproject.toml
- README.md
- uv.lock
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/100nm/python-injection
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd python-injection
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천사전 준비물
- Python 3 pip 명령어를 쓰려면 Python이 필요합니다.
pip install python-injection
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
설치 후 새 터미널을 열고, 프로그램의 버전 확인 명령(예: --version)으로 정상 설치됐는지 확인하세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Python
쉬움사전 준비물
pip install python-injection
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
4. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
