{"id":16281137,"url":"https://github.com/vchrombie/peodd","last_synced_at":"2025-03-20T01:33:51.725Z","repository":{"id":45130406,"uuid":"383908929","full_name":"vchrombie/peodd","owner":"vchrombie","description":"poetry export, but only for dev-dependencies","archived":false,"fork":false,"pushed_at":"2023-05-22T17:30:48.000Z","size":54,"stargazers_count":6,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-17T21:31:01.909Z","etag":null,"topics":["dev-dependencies","hacktoberfest","poetry"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/peodd/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vchrombie.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":"2021-07-07T19:46:56.000Z","updated_at":"2023-04-21T09:29:36.000Z","dependencies_parsed_at":"2022-09-26T17:31:28.924Z","dependency_job_id":null,"html_url":"https://github.com/vchrombie/peodd","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vchrombie%2Fpeodd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vchrombie%2Fpeodd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vchrombie%2Fpeodd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vchrombie%2Fpeodd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vchrombie","download_url":"https://codeload.github.com/vchrombie/peodd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221733337,"owners_count":16871851,"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":["dev-dependencies","hacktoberfest","poetry"],"created_at":"2024-10-10T19:05:11.354Z","updated_at":"2024-10-27T21:07:02.496Z","avatar_url":"https://github.com/vchrombie.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# peodd \n\n[![tests](https://github.com/vchrombie/peodd/actions/workflows/tests.yml/badge.svg)](https://github.com/vchrombie/peodd/actions/workflows/tests.yml) \n[![Coverage Status](https://coveralls.io/repos/github/vchrombie/peodd/badge.svg?branch=master)](https://coveralls.io/github/vchrombie/peodd?branch=master) \n[![PyPI version](https://badge.fury.io/py/peodd.svg)](https://badge.fury.io/py/peodd)\n\n[![downloads](https://static.pepy.tech/badge/peodd)](https://pepy.tech/project/peodd)\n[![downloads/week](https://static.pepy.tech/badge/peodd/week)](https://pepy.tech/project/peodd)\n\npoetry export, but only for dev-dependencies\n\nScript to export the pyproject.toml dev-dependencies to a txt file.\n\nThis software is licensed under GPL3 or later.\n\n**Note:** Right now, this tool supports only some poetry formats of the dependencies (see below)\n\n- `foo = \"^1.2.3\"`\n- `bar = \"\u003e=1.2.3\"`\n- `bas = {extras = [\"bar\"], version = \"^1.2.3\"}`\n- `baz = \"1.2.3\"`\n\nI would be interested to add support for more formats, please \n[open an issue](https://github.com/vchrombie/peodd/issues/new) incase if you need any other. \n\n## Requirements\n\n * Python \u003e= 3.6\n * Poetry \u003e= 1.0\n * tomli \u003e= 1.0.4\n * Click \u003e= 7.0.0\n * release-tools \u003e= 0.3.0\n\n## Installation\n\n### PyPI\n\nYou can install the package directly using pip.\n```\n$ pip install peodd\n```\n\n### Getting the source code\n\nClone the repository\n```\n$ git clone https://github.com/vchrombie/peodd/\n$ cd peodd/\n```\n\n### Prerequisites\n\n#### Poetry\n\nWe use [Poetry](https://python-poetry.org/docs/) for managing the project.\nYou can install it following [these steps](https://python-poetry.org/docs/#installation).\n\nWe use [Bitergia/release-tools](https://github.com/Bitergia/release-tools) for managing \nthe releases. This is also used in the project, so you need not install it again.\n\n### Installation\n\nInstall the required dependencies (this will also create a virtual environment)\n```\n$ poetry install\n```\n\nActivate the virtual environment\n```\n$ poetry shell\n```\n\n## Usage\n\nOnce you install the tool, you can use it with the `peodd` command.\n```\n$ peodd --help\nUsage: peodd [OPTIONS]\n\n  Script to export the pyproject.toml dev-dependencies to a txt file.\n\nOptions:\n  -o, --output TEXT  Output filename for the dependencies  [required]\n  --non-dev          Export non-dev dependencies  [default: False]\n  --help             Show this message and exit.\n```\n\nExport the dev-dependencies to `requirements-dev.txt` file\n```\n$ peodd -o requirements-dev.txt\n```\n\nExport the non-dev dependencies to `requirements.txt` file\n```\n$ peodd --non-dev -o requirements.txt\n```\n\n## Contributions\n\nAll contributions are welcome. Please feel free to open an issue or a PR. \nIf you are opening any PR for the code, please be sure to add a \n[changelog](https://github.com/Bitergia/release-tools#changelog) entry.\n\n## License\n\nLicensed under GNU General Public License (GPL), version 3 or later.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvchrombie%2Fpeodd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvchrombie%2Fpeodd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvchrombie%2Fpeodd/lists"}