{"id":16359755,"url":"https://github.com/jmsv/python-packagify","last_synced_at":"2025-12-31T14:30:18.305Z","repository":{"id":95749793,"uuid":"140209359","full_name":"jmsv/python-packagify","owner":"jmsv","description":":snake: python scripts :arrow_right: package :package:","archived":false,"fork":false,"pushed_at":"2018-07-23T22:52:20.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-29T17:34:06.941Z","etag":null,"topics":["package","python","setuptools"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jmsv.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-08T23:18:48.000Z","updated_at":"2021-12-03T17:27:47.000Z","dependencies_parsed_at":"2023-05-21T21:30:41.859Z","dependency_job_id":null,"html_url":"https://github.com/jmsv/python-packagify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsv%2Fpython-packagify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsv%2Fpython-packagify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsv%2Fpython-packagify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsv%2Fpython-packagify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmsv","download_url":"https://codeload.github.com/jmsv/python-packagify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239727035,"owners_count":19687096,"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":["package","python","setuptools"],"created_at":"2024-10-11T02:09:34.874Z","updated_at":"2025-12-31T14:30:18.261Z","avatar_url":"https://github.com/jmsv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"___very new idea / very not working yet / come back later___\n\n# packagify\n\n## :snake: Python scripts :arrow_right: Package :package:\n\n`npm init` but for Python. Takes a Python script (or a collection thereof) and generates a nice neat package with a `setup.py`\n\n| Before                | After                      |\n|-----------------------|----------------------------|\n| `thingy.py`           | `thingy/__init__.py`       |\n| `imported_file.py`    | `thingy/imported_file.py`  |\n|                       | `setup.py`                 |\n\n## Initial Ideas\n\n- Dependencies\n  - Imports are parsed to find local imports, e.g. if `import thingy` in code and `thingy.py` exists in directory\n  - If imports aren't found locally, add to setup's `install_requires`\n    - Could also check PyPI and output warning if package doesn't exist\n- Setup fields\n  - `name`: Defaults to input entry filename, minus `.py`\n  - `version`: Defaults to 0.1.0 (not sure about this)\n  - `description`: No default, prompt user\n  - `long_description`: Defaults to README content if exists\n  - `long_description_content_type`: 'text/markdown' if `README.md`, etc.\n  - `url`: Defaults to git remote if exists, otherwise prompt\n  - `author`: Defaults to git config name, otherwise prompt\n  - `author_email`: Defaults to git config email, otherwise prompt\n  - `python_requires`: Prompt user for minimum Python 3 version, default to 3.3\n  - `classifiers`: Listed [here](https://pypi.org/pypi?%3Aaction=list_classifiers)\n    - '`Programming Language :: Python :: {version}`' for every version allowed by `python_requires`\n    - Prompt for '`Development Status`' and '`License`'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmsv%2Fpython-packagify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmsv%2Fpython-packagify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmsv%2Fpython-packagify/lists"}