Skip to content

Repository files navigation

🛠️ Python Project Metadata

Extracts Python project metadata from a repository.

python-project-metadata-action

Usage Example

 - name: 'Get Python project metadata'uses: lfreleng-actions/python-project-metadata-action@main

 Inputs

Variable NameRequiredDescription
path_prefixFalsePath/directory to Python project code

Outputs

Variable NameDescription
python_project_fileFile used to define/describe the project
python_project_nameThe name of the Python project
versioning_typeCan be either static or dynamic (determined by tags)
python_project_versionThe name of the Python project
python_package_nameThe name of the Python package
project_match_packageSet true when the project and package name match
project_match_repoSet true when the project name and repository name match
build_pythonMost recent Python version supported by project
matrix_jsonAll Python versions supported by project as JSON string

Python package names can be different from project names.

Note: dashes in the project name typically get replaced with underscores

About

Extracts Python project metadata from a repository

Topics

Resources

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors