{"id":24746569,"url":"https://github.com/samuelmarks/python-package-gen","last_synced_at":"2025-10-06T00:56:32.541Z","repository":{"id":27251444,"uuid":"30723779","full_name":"SamuelMarks/python-package-gen","owner":"SamuelMarks","description":"Simple code-generator using only stdlib. Supports two modes, single file and folder.","archived":false,"fork":false,"pushed_at":"2024-04-03T17:43:25.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T01:27:49.332Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SamuelMarks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2015-02-12T21:03:49.000Z","updated_at":"2024-04-03T17:30:38.000Z","dependencies_parsed_at":"2025-01-28T04:29:39.506Z","dependency_job_id":"1a8a6a59-9e20-400c-ac0f-1e97ef426305","html_url":"https://github.com/SamuelMarks/python-package-gen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SamuelMarks/python-package-gen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fpython-package-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fpython-package-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fpython-package-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fpython-package-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamuelMarks","download_url":"https://codeload.github.com/SamuelMarks/python-package-gen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fpython-package-gen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278542675,"owners_count":26004061,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-01-28T04:29:27.781Z","updated_at":"2025-10-06T00:56:32.526Z","avatar_url":"https://github.com/SamuelMarks.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"python package gen\n==================\n[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech)\n![Python version range](https://img.shields.io/badge/python-2.7%20|%203.5%20|%203.6%20|%203.7%20|%203.8%20|%203.9%20|%203.10%20|%203.11%20|%203.12%20|%203.13-blue.svg)\n[![License](https://img.shields.io/badge/license-Apache--2.0%20OR%20MIT%20OR%20CC0--1.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\nSimple code-generator using only stdlib. Supports two modes, single file and folder.\n\nBoth provide tests (unittest) and support for:\n\n    python setup.py install\n    python setup.py test\n\n## Install\n\n    pip install https://github.com/SamuelMarks/python-package-gen/zipball/master#egg=python_package_gen\n\n## Example run\n\n    python -m python_package_gen -n bar -o bar\n\n### Generates\n\n    $ tree -a bar --charset=ascii\n    bar\n    |-- .editorconfig\n    |-- .gitignore\n    |-- README.md\n    |-- bar\n    |   |-- __init__.py\n    |   `-- _data\n    |       `-- logging.yml\n    |-- requirements.txt\n    `-- setup.py\n    \n    2 directories, 7 files\n\n## Usage\n\n    $ python -m python_package_gen -h\n    usage: __main__.py [-h] -n NAME [-a AUTHOR] [-d DESCRIPTION] [-v VERSION] [-t]\n                       [-o OUTPUT_DIRECTORY] [-s] [-f]\n    \n    Generate project scaffold\n    \n    optional arguments:\n      -h, --help            show this help message and exit\n      -n NAME, --name NAME  Package name\n      -a AUTHOR, --author AUTHOR\n                            Author name [Samuel Marks]\n      -d DESCRIPTION, --description DESCRIPTION\n                            Description\n      -v VERSION, --version VERSION\n                            Version number [0.0.1]\n      -t, --tests           Generate unittests [True]\n      -o OUTPUT_DIRECTORY, --output-directory OUTPUT_DIRECTORY\n                            Directory to extract to [tempdir/ISO-time with s/:/_]\n      -s, --single-file     single-file project [False]\n      -f, --flatten         on bad module-name, generate p-kg/p_kg,p-kg/setup.py\n                            not p-kg/p_kg/setup.py [False]\n\n## License\n\nLicensed under any of:\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or \u003chttps://www.apache.org/licenses/LICENSE-2.0\u003e)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or \u003chttps://opensource.org/licenses/MIT\u003e)\n- CC0 license ([LICENSE-CC0](LICENSE-CC0) or \u003chttps://creativecommons.org/publicdomain/zero/1.0/legalcode\u003e)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\nlicensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmarks%2Fpython-package-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelmarks%2Fpython-package-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmarks%2Fpython-package-gen/lists"}