friendly_dist_manager.pyproject.project_table module¶
Primitives for manipulating the ‘project’ table in a pyproject.toml file
-
class
friendly_dist_manager.pyproject.project_table.Entrypoint(name, ref)¶ Bases:
tupleCreate new instance of Entrypoint(name, ref)
-
property
name¶ Alias for field number 0
-
property
ref¶ Alias for field number 1
-
property
-
class
friendly_dist_manager.pyproject.project_table.Person(name, email)¶ Bases:
tupleCreate new instance of Person(name, email)
-
property
email¶ Alias for field number 1
-
property
name¶ Alias for field number 0
-
property
-
class
friendly_dist_manager.pyproject.project_table.ProjectTable(data)[source]¶ Bases:
objectAbstraction around the ‘project’ table from a pyproject.toml file
References
- Parameters
data (dict) – TOML data parsed from a pyproject.toml config file
list of people who are considered ‘authors’ of the project
Note: each person may have a name and/or an email address, but either one may be omitted
-
property
classifiers¶ trove classifiers describing properties of the project
-
property
console_scripts¶ list of entry points for console / shell scripts exposed by the project
- Type
-
property
dependencies¶ list of package dependencies associated with this project
References
-
property
entrypoint_identifiers¶ list of custom entrypoint identifiers associated with the project
-
get_entrypoint(entrypoint_id)[source]¶ Gets definition for a custom entrypoint associated with the project
- Parameters
entrypoint_id (str) – ID of the entrypoint to retrieve. See
entrypoint_identifiers()for supported values- Returns
list of entrypoints associated with the entrypoint identifier
- Return type
-
get_optional_dependencies(dependency_id)[source]¶ Set of dependencies associated with a specific group ID
References
- Parameters
dependency_id (str) – identifier for a specific group of optional dependencies associated with the project. See
optional_dependency_identifiers()for list of valid options- Returns
list of dependency definitions for the optional dependencies associated with the specified ID
- Return type
-
property
gui_scripts¶ list of application entry points for GUI based projects
- Type
-
property
maintainers¶ list of people who are considered ‘maintainers’ of the project
Note: each person may have a name and/or an email address, but either one may be omitted
-
property
optional_dependency_identifiers¶ list of IDs associated with groups of optional package dependencies associated with the project
-
property
python_requirement¶ the Python runtime version identifier indicating the range of versions supported by this project
- Type
-
property
readme¶ text formatted data loaded from the mentioned readme file associated with the project
- Type
-
property
readme_file¶ reference to the readme file associated with the project, or None if no readme file provided
- Type
-
property
urls¶ URLs providing additional information about the distribution package
- Type