{"id":19224415,"url":"https://github.com/hermann-web/pyv","last_synced_at":"2026-01-24T16:38:26.504Z","repository":{"id":235169490,"uuid":"790239377","full_name":"Hermann-web/pyv","owner":"Hermann-web","description":"A pypi package providing a command-line interface (CLI) application for managing versioning in a using Python","archived":false,"fork":false,"pushed_at":"2024-10-30T03:15:50.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-30T06:16:10.680Z","etag":null,"topics":["autoversioning","version-manager","versioning"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/versioning-python/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hermann-web.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-22T14:16:08.000Z","updated_at":"2024-10-30T03:15:54.000Z","dependencies_parsed_at":"2024-04-22T14:26:40.879Z","dependency_job_id":null,"html_url":"https://github.com/Hermann-web/pyv","commit_stats":null,"previous_names":["hermann-web/pyv"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hermann-web%2Fpyv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hermann-web%2Fpyv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hermann-web%2Fpyv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hermann-web%2Fpyv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hermann-web","download_url":"https://codeload.github.com/Hermann-web/pyv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223842190,"owners_count":17212323,"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":["autoversioning","version-manager","versioning"],"created_at":"2024-11-09T15:11:37.704Z","updated_at":"2026-01-24T16:38:26.459Z","avatar_url":"https://github.com/Hermann-web.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyv\n\npyv is a command-line interface (CLI) application for managing versioning in a using Python.\n\nIt correspond to a scpecific versioning plan explained in the [versioning_plan](./docs/api-versioning-strat.md). This versioning plan is compatible with the [Semantic Versioning Specification](https://semver.org/)\n\n## Installation\n\n1. From pypi:\n\n  ```bash\n  pip install versioning-python\n  ```\n\n1. Clone the repository:\n\n  ```bash\n  git clone https://github.com/your-username/pyv.git\n  \n  # Navigate to the project directory:\n  cd versioning-cli\n  \n  # Install the required dependencies:\n  pip install -r requirements.txt\n  ```\n\n## Versioning App Usage\n\nRun the CLI app using the following command format:\n\n```bash\npyv app --dev \u003cdev_subversion\u003e --prod \u003cprod_subversion\u003e \u003caction\u003e [--level \u003clevel\u003e]\n```\n\nReplace `\u003cdev_subversion\u003e` with the dev subversion in the format `Vx.y.z` , and `\u003cprod_subversion\u003e` with the prod subversion in the format `Vx.y.z`. The `\u003caction\u003e` parameter can be either `post_prod` or `push_prod`. The optional `--level` parameter specifies the level for the post_prod action (default: 1).\n\n- initialize the state as:\n  - dev subversion: V{n}.0.0: for example V2.0.0\n  - prod subversion (not_required if n==0): V{n-1}.p.q\n- actions\n  - post_prod: return the version to create V{n-1}.(p+1).q if --level=1 or V{n-1}.p.(q+1) --level=1 (1 by default)\n  - push_prod: return the version to create V{n+1}.0.0\n\nIf you have cloned the repository, instead, use `python pyv/main.py` instead of `pyv`\n\n## Examples\n\n```bash\npyv app --dev V3.0.0 --prod V1.2.3 push_prod --level 2\n```\n\n```bash\npyv app --dev V2.0.0 --prod V1.2.3 post_prod --level 2\n```\n\nother examples:\n\n```bash\n$ pyv app --dev V3.0.0 --prod V1.2.3 push_prod --level 2\n\u003e\u003e error: V3 do not follow V1\n\n$ pyv app --dev V3.0.0 push_prod --level 2\n\u003e\u003e error: if prod is not set dev should be V0.0.0 or V1.0.0\n\n$ pyv app --dev V2.0.0 --prod V1.2.3 post_prod --level 2\n\u003e\u003e your new version V1.2.4\n\n$ pyv app --dev V2.0.0 --prod V1.2.3 push_prod --level 2\n\u003e\u003e your new version V3.0.0\n```\n\n## AutoVersioning Usage\n\nRun the CLI app using the following command format:\n\n```bash\npyv auto \u003crepo_path\u003e\n```\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Related works\n- https://pypi.org/project/bumpversion/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhermann-web%2Fpyv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhermann-web%2Fpyv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhermann-web%2Fpyv/lists"}