returns
Make your functions return something meaningful, typed, and safe!
파일 탐색기
최종 버전 다운로드 (.zip)- Bug.md
- config.yml
- codspeed.yml
- test.yml
- dependabot.yml
- pull_request_template.md
- zizmor.yml
- test_benchmarks.py
- overrides.css
- hypothesis_plugins.rst
- mypy_plugins.rst
- pytest_plugins.rst
- changelog.rst
- container.rst
- context.rst
- converters.rst
- create-your-own-container.rst
- curry.rst
- development.rst
- do-notation.rst
- functions.rst
- future.rst
- hkt.rst
- interfaces.rst
- io.rst
- maybe.rst
- methods.rst
- pipeline.rst
- pointfree.rst
- quickstart.rst
- railway.rst
- result.rst
- trampolines.rst
- types.rst
- conf.py
- index.rst
- Makefile
- __init__.py
- _future.py
- _future_result.py
- _reader_future_result.py
- __init__.py
- flow.py
- managed.py
- pipe.py
- pipe.pyi
- __init__.py
- __init__.py
- requires_context.py
- requires_context_future_result.py
- requires_context_ioresult.py
- requires_context_result.py
- __init__.py
- _entrypoint.py
- containers.py
- laws.py
- type_resolver.py
- __init__.py
- curry.py
- do_notation.py
- flow.py
- kind.py
- partial.py
- pipe.py
- __init__.py
- args.py
- types.py
- __init__.py
- analtype.py
- fallback.py
- inference.py
- transform_callable.py
- visitor.py
- __init__.py
- _consts.py
- returns_plugin.py
- __init__.py
- plugin.py
- __init__.py
- __init__.py
- future.py
- future_result.py
- io.py
- ioresult.py
- maybe.py
- reader.py
- reader_future_result.py
- reader_ioresult.py
- reader_result.py
- result.py
- __init__.py
- altable.py
- applicative.py
- bimappable.py
- bindable.py
- container.py
- equable.py
- failable.py
- lashable.py
- mappable.py
- swappable.py
- unwrappable.py
- __init__.py
- cond.py
- partition.py
- unwrap_or_failure.py
- __init__.py
- alt.py
- apply.py
- bimap.py
- bind.py
- bind_async.py
- bind_async_context_future_result.py
- bind_async_future.py
- bind_async_future_result.py
- bind_awaitable.py
- bind_context.py
- bind_context_future_result.py
- bind_context_ioresult.py
- bind_context_result.py
- bind_future.py
- bind_future_result.py
- bind_io.py
- bind_ioresult.py
- bind_optional.py
- bind_result.py
- compose_result.py
- cond.py
- lash.py
- map.py
- modify_env.py
- unify.py
- __init__.py
- asserts.py
- container.py
- exceptions.py
- hkt.py
- laws.py
- reawaitable.py
- tracing.py
- types.py
- __init__.py
- converters.py
- curry.py
- functions.py
- future.py
- io.py
- iterables.py
- maybe.py
- pipeline.py
- py.typed
- result.py
- trampolines.py
- unsafe.py
- test_context.py
- test_context_equality.py
- test_context_utils.py
- test_context_ioresult.py
- test_requires_context_ioresult.py
- test_requires_context_ioresult_bind.py
- test_requires_context_ioresult_cast.py
- test_context_result.py
- test_requires_context_result_bind.py
- test_requires_context_result_cast.py
- test_custom_interface_with_laws.py
- test_custom_strategy_for_callable.py
- test_custom_type_applicative.py
- test_custom_type_with_init.py
- test_unsatisfiable_type.py
- test_user_specified_strategy.py
- test_wrong_custom_type_with_init.py
- __init__.py
- test_type_resolution.py
- test_type_resolver.py
- test_plugin_error_handler.py
- test_plugin_has_trace.py
- test_flatten.py
- test_curry.py
- test_reader_future_result.py
- test_future_result.py
- test_ioresult_pattern_matching.py
- test_maybe_pattern_matching.py
- test_result_pattern_matching.py
- test_pair1.py
- test_pair2.py
- test_pair3.py
- test_pair4.py
- test_compose.py
- test_raise_exception.py
- test_asyncize_decorator.py
- test_future_decorator.py
- test_future_equality.py
- test_future_units.py
- test_future_result_decorator.py
- test_future_result_equality.py
- test_future_result_units.py
- test_impure.py
- test_io.py
- test_io_equality.py
- test_io_pickle.py
- test_impure_safe.py
- test_ioresult_bind.py
- test_ioresult_equals.py
- test_ioresult_map.py
- test_ioresult_values.py
- test_ioresulte_cast.py
- test_collect.py
- test_collect_all.py
- test_loop.py
- test_maybe_decorator.py
- test_maybe_bind.py
- test_maybe_conversions.py
- test_maybe_equality.py
- test_maybe_unwrap.py
- test_nothing_singleton.py
- test_partition.py
- test_managed_future_result.py
- test_managed_ioresult.py
- test_managed_reader_future_result.py
- test_managed_reader_ioresult.py
- test_is_successful.py
- test_assert_equal.py
- test_pickle.py
- test_pickle_backward_deserialization.py
- test_pickle_unwrap_failed_error.py
- test_laws_resolution.py
- test_safe.py
- test_result_bind.py
- test_result_equality.py
- test_result_error.py
- test_result_failure.py
- test_result_map.py
- test_result_unwrap.py
- test_result_value_or.py
- test_trampoline_decorator.py
- test_unsafe_perform_io.py
- test_laws.py
- test_pattern_matching.py
- test_context.yml
- test_requires_context_cast.yml
- test_requires_context_type.yml
- test_requires_context_typecast.yml
- test_context_future_result.yml
- test_requires_context_future_result.yml
- test_requires_context_future_result_aliases.yml
- test_requires_context_future_result_cast.yml
- test_requires_context_future_result_unit.yml
- test_context_ioresult.yml
- test_requires_context_ioresult.yml
- test_requires_context_ioresult_aliases.yml
- test_requires_context_ioresult_cast.yml
- test_requires_context_ioresult_unit.yml
- test_context_result.yml
- test_requires_context_cast.yml
- test_requires_context_result.yml
- test_requires_context_result_unit.yml
- test_check_all_laws.yml
- test_flatten.yml
- test_maybe_to_result.yml
- test_result_to_maybe.yml
- test_curry.yml
- test_curry_args_kwargs.yml
- test_curry_arguments.yml
- test_curry_generics.yml
- test_partial.yml
- test_partial_arguments.yml
- test_partial_generic.yml
- test_partial_overload.yml
- test_pair4_def.yml
- test_pair4_error.yml
- test_pair4_reuse.yml
- test_compose.yml
- test_identity.yml
- test_not_.yml
- test_raise_exception.yml
- test_tap.yml
- test_asyncify_decorator.yml
- test_do.yml
- test_future_base.yml
- test_future_decorator.yml
- test_future_typecast.yml
- test_do.yml
- test_future_result_base.yml
- test_future_result_typecast.yml
- test_future_safe_decorator.yml
- test_inheritance.yml
- test_inheritance.yml
- test_bimappable_inheritance.yml
- test_inheritance.yml
- test_inheritance.yml
- test_inheritance.yml
- test_diverse_failable.yml
- test_failable.yml
- test_single_failable.yml
- test_inheritance.yml
- test_inheritance.yml
- test_futurebased_inheritance.yml
- test_futurelike_inheritance.yml
- test_future_result_based.yml
- test_future_result_like.yml
- test_io_based.yml
- test_io_like.yml
- test_ioresultbased_inheritance.yml
- test_ioresultlike_inheritance.yml
- test_maybe_based.yml
- test_maybe_like.yml
- test_reader_based2.yml
- test_reader_like2.yml
- test_reader_like3.yml
- test_reader_future_result_based.yml
- test_reader_future_result_like.yml
- test_reader_ioresult_based.yml
- test_reader_ioresult_like.yml
- test_reader_result_based.yml
- test_reader_result_like.yml
- test_resultbased_inheritance.yml
- test_resultlike_inheritance.yml
- test_inheritance.yml
- test_inheritance.yml
- test_do.yml
- test_impure.yml
- test_io_base.yml
- test_io_type_cast.yml
- test_construct_iofailure.yml
- test_construct_iosucess.yml
- test_do.yml
- test_impure_safe.yml
- test_ioresult_helpers.yml
- test_ioresult_typecast.yml
- test_fold_collect.yml
- test_fold_collect_all.yml
- test_fold_loop.yml
- test_do.yml
- test_maybe_decorator.yml
- test_maybe_type.yml
- test_maybe_type_cast.yml
- test_cond.yml
- test_partition.yml
- test_unwrap_or_failure.yml
- test_flow_args.yml
- test_flow_base.yml
- test_flow_curry.yml
- test_flow_errors.yml
- test_flow_generics.yml
- test_managed_errors.yml
- test_managed_types.yml
- test_pipe_base.yml
- test_pipe_callable_protocol.yml
- test_pipe_curry.yml
- test_pipe_errors.yml
- test_pipe_generic.yml
- test_is_successful.yml
- test_alt.yml
- test_apply.yml
- test_bimap.yml
- test_bind.yml
- test_bind_async.yml
- test_bind_async_context_future_result.yml
- test_bind_async_future.yml
- test_bind_async_future_result.yml
- test_bind_awaitable.yml
- test_bind_context2.yml
- test_bind_context3.yml
- test_bind_context_future_result.yml
- test_bind_context_ioresult.yml
- test_bind_context_result.yml
- test_bind_future.yml
- test_bind_future_result.yml
- test_bind_io.yml
- test_bind_ioresult.yml
- test_bind_optional.yml
- test_bind_result.yml
- test_compose_result.yml
- test_cond.yml
- test_map.yml
- test_modify_env2.yml
- test_modify_env3.yml
- test_rescue.yml
- test_unify.yml
- test_dekind.yml
- test_kinded.yml
- test_kinded_methods.yml
- test_kinded_nested.yml
- test_kinded_overload.yml
- test_kindn.yml
- test_kindn_getattr.yml
- test_supports_kind.yml
- test_reawaitable_decorator.yml
- test_collect_traces.yml
- test_attempt.yml
- test_construct_failure.yml
- test_construct_success.yml
- test_do.yml
- test_result_error.yml
- test_result_type_cast.yml
- test_safe.yml
- test_trampoline.yml
- test_unsafe.yml
- .editorconfig
- .gitignore
- .pre-commit-config.yaml
- .readthedocs.yml
- CHANGELOG.md
- CONTRIBUTING.md
- LICENSE
- poetry.lock
- pyproject.toml
- README.md
- setup.cfg
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/dry-python/returns
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd returns
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천사전 준비물
- Python 3 pip 명령어를 쓰려면 Python이 필요합니다.
pip install returns
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install returns[compatible-mypy]
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
설치 후 새 터미널을 열고, 프로그램의 버전 확인 명령(예: --version)으로 정상 설치됐는지 확인하세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Python
쉬움사전 준비물
pip install returns
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install returns[compatible-mypy]
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
