{"id":16314796,"url":"https://github.com/smarie/python-getversion","last_synced_at":"2025-03-20T22:30:38.882Z","repository":{"id":57434091,"uuid":"167214398","full_name":"smarie/python-getversion","owner":"smarie","description":"Get the version number of any python module or package, reliably.","archived":false,"fork":false,"pushed_at":"2021-02-24T12:50:49.000Z","size":1459,"stargazers_count":13,"open_issues_count":3,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-11T21:55:21.389Z","etag":null,"topics":["binary","egg","egg-info","git","library","module","package","pep396","pep427","pkg","resource","scm","setuptools","source","svn","version","wheel"],"latest_commit_sha":null,"homepage":"https://smarie.github.io/python-getversion/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smarie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-23T16:24:39.000Z","updated_at":"2023-03-12T20:19:19.000Z","dependencies_parsed_at":"2022-08-27T21:11:17.939Z","dependency_job_id":null,"html_url":"https://github.com/smarie/python-getversion","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smarie%2Fpython-getversion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smarie%2Fpython-getversion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smarie%2Fpython-getversion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smarie%2Fpython-getversion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smarie","download_url":"https://codeload.github.com/smarie/python-getversion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221809167,"owners_count":16883868,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["binary","egg","egg-info","git","library","module","package","pep396","pep427","pkg","resource","scm","setuptools","source","svn","version","wheel"],"created_at":"2024-10-10T21:55:17.662Z","updated_at":"2024-10-28T08:45:43.482Z","avatar_url":"https://github.com/smarie.png","language":"Python","readme":"# getversion\n\n*Get the version number of any python module or package, reliably.*\n\n[![Python versions](https://img.shields.io/pypi/pyversions/getversion.svg)](https://pypi.python.org/pypi/getversion/) [![Build Status](https://travis-ci.org/smarie/python-getversion.svg?branch=master)](https://travis-ci.org/smarie/python-getversion) [![Tests Status](https://smarie.github.io/python-getversion/junit/junit-badge.svg?dummy=8484744)](https://smarie.github.io/python-getversion/junit/report.html) [![codecov](https://codecov.io/gh/smarie/python-getversion/branch/master/graph/badge.svg)](https://codecov.io/gh/smarie/python-getversion)\n\n[![Documentation](https://img.shields.io/badge/doc-latest-blue.svg)](https://smarie.github.io/python-getversion/) [![PyPI](https://img.shields.io/pypi/v/getversion.svg)](https://pypi.python.org/pypi/getversion/) [![Downloads](https://pepy.tech/badge/getversion)](https://pepy.tech/project/getversion) [![Downloads per week](https://pepy.tech/badge/getversion/week)](https://pepy.tech/project/getversion) [![GitHub stars](https://img.shields.io/github/stars/smarie/python-getversion.svg)](https://github.com/smarie/python-getversion/stargazers)\n\n**This is the readme for developers.** The documentation for users is available here: [https://smarie.github.io/python-getversion/](https://smarie.github.io/python-getversion/)\n\n## Want to contribute ?\n\nContributions are welcome ! Simply fork this project on github, commit your contributions, and create pull requests.\n\nHere is a non-exhaustive list of interesting open topics: [https://github.com/smarie/python-getversion/issues](https://github.com/smarie/python-getversion/issues)\n\n## Running the tests\n\nThis project uses `pytest`.\n\n```bash\npytest -v getversion/tests/\n```\n\nYou may need to install requirements for setup beforehand, using \n\n```bash\npip install -r ci_tools/requirements-test.txt\n```\n\n## Packaging\n\nThis project uses `setuptools_scm` to synchronise the version number. Therefore the following command should be used for development snapshots as well as official releases: \n\n```bash\npython setup.py egg_info bdist_wheel rotate -m.whl -k3\n```\n\nYou may need to install requirements for setup beforehand, using \n\n```bash\npip install -r ci_tools/requirements-setup.txt\n```\n\n## Generating the documentation page\n\nThis project uses `mkdocs` to generate its documentation page. Therefore building a local copy of the doc page may be done using:\n\n```bash\nmkdocs build -f docs/mkdocs.yml\n```\n\nYou may need to install requirements for doc beforehand, using \n\n```bash\npip install -r ci_tools/requirements-doc.txt\n```\n\n## Generating the test reports\n\nThe following commands generate the html test report and the associated badge. \n\n```bash\npytest --junitxml=junit.xml -v getversion/tests/\nant -f ci_tools/generate-junit-html.xml\npython ci_tools/generate-junit-badge.py\n```\n\n### PyPI Releasing memo\n\nThis project is now automatically deployed to PyPI when a tag is created. Anyway, for manual deployment we can use:\n\n```bash\ntwine upload dist/* -r pypitest\ntwine upload dist/*\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmarie%2Fpython-getversion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmarie%2Fpython-getversion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmarie%2Fpython-getversion/lists"}