Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pex-tool/pex
/ parse_requirement_string
Function
parse_requirement_string
pex/requirements.py:844–846 ·
view source on GitHub ↗
(requirement)
Source
from the content-addressed store, hash-verified
842
843
844
def
parse_requirement_string(requirement):
845
# type: (Text) -> ParsedRequirement
846
return
_parse_requirement_line(LogicalLine.from_str(requirement))
847
848
849
def
parse_requirement_strings(requirements):
Callers
15
parse
Method · 0.90
_default_build_system
Function · 0.90
_parse_options
Method · 0.90
_resolve_distributions
Function · 0.90
_resolve_from_venv
Function · 0.90
add_requirements
Function · 0.90
configure
Function · 0.90
save
Method · 0.90
convert
Function · 0.90
as_parsed_requirement
Method · 0.90
test_parse_nominal
Function · 0.90
test_parse_confounding_string_literals
Function · 0.90
Calls
2
_parse_requirement_line
Function · 0.85
from_str
Method · 0.80
Tested by
15
test_parse_nominal
Function · 0.72
test_parse_confounding_string_literals
Function · 0.72
test_simple_local_resolve
Function · 0.72
test_resolve_cache
Function · 0.72
test_cached_dependency_pinned_unpinned_resolution_multi_run
Function · 0.72
assert_resolve
Function · 0.72
test_resolve_extra_setup_py
Function · 0.72
test_resolve_extra_wheel
Function · 0.72
resolve_p537_wheel_names
Function · 0.72
resolve_cryptography_wheel_names
Function · 0.72
resolve_pytest
Function · 0.72
test_download2
Function · 0.72