{"id":13738051,"url":"https://github.com/oke-aditya/py_fresh","last_synced_at":"2025-10-09T17:03:55.924Z","repository":{"id":55595764,"uuid":"282142827","full_name":"oke-aditya/py_fresh","owner":"oke-aditya","description":"Python Project Maker","archived":false,"fork":false,"pushed_at":"2021-01-02T15:38:11.000Z","size":410,"stargazers_count":45,"open_issues_count":5,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-27T00:50:37.914Z","etag":null,"topics":["mkdocs","package","pypi-package","python","template","template-project"],"latest_commit_sha":null,"homepage":"https://oke-aditya.github.io/py_fresh/","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/oke-aditya.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null}},"created_at":"2020-07-24T06:37:22.000Z","updated_at":"2025-01-05T14:25:07.000Z","dependencies_parsed_at":"2022-08-15T04:00:40.214Z","dependency_job_id":null,"html_url":"https://github.com/oke-aditya/py_fresh","commit_stats":null,"previous_names":[],"tags_count":4,"template":true,"template_full_name":null,"purl":"pkg:github/oke-aditya/py_fresh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oke-aditya%2Fpy_fresh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oke-aditya%2Fpy_fresh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oke-aditya%2Fpy_fresh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oke-aditya%2Fpy_fresh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oke-aditya","download_url":"https://codeload.github.com/oke-aditya/py_fresh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oke-aditya%2Fpy_fresh/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259831207,"owners_count":22918471,"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":["mkdocs","package","pypi-package","python","template","template-project"],"created_at":"2024-08-03T03:02:09.884Z","updated_at":"2025-10-09T17:03:50.904Z","avatar_url":"https://github.com/oke-aditya.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Template Repo for python Projects.\n\n\u003cdiv align=\"center\"\u003e\n\n![CI Tests](https://github.com/oke-aditya/template_python/workflows/CI%20Tests/badge.svg)\n![Conda CI Tests](https://github.com/oke-aditya/py_fresh/workflows/Conda%20CI%20Tests/badge.svg)\n![Build Docker Image](https://github.com/oke-aditya/py_fresh/workflows/Build%20Docker%20Image/badge.svg)\n![Check Code formatting](https://github.com/oke-aditya/py_fresh/workflows/Check%20Code%20formatting/badge.svg)\n![CodeQL](https://github.com/oke-aditya/py_fresh/workflows/CodeQL/badge.svg)\n![Build mkdocs](https://github.com/oke-aditya/template_python/workflows/Build%20mkdocs/badge.svg)\n![Deploy mkdocs](https://github.com/oke-aditya/template_python/workflows/Deploy%20mkdocs/badge.svg)\n![PyPi Release](https://github.com/oke-aditya/template_python/workflows/PyPi%20Release/badge.svg)\n![Install Package](https://github.com/oke-aditya/template_python/workflows/Install%20Package/badge.svg)\n[![codecov](https://codecov.io/gh/oke-aditya/template_python/branch/master/graph/badge.svg)](https://codecov.io/gh/oke-aditya/template_python)\n\n\u003c/div\u003e\n\nA template repository to make all machine learning projects.\n\n## How this speeds up your python development\n\nMost people find it hard to package their python code and do not know how to set up the repo for it.\n\n\nIf the repository is setup in a wrong way, it would become hard to package and deploy the code later on as well.\n\n\nThis repo gives you the batteries required to package your code, CI checks, auto build and deploy docs,\neasy PyPi publishing support, and docker files.\n\n\nThis serves as a template to quickly have these things setup in your repo.\nMachine Learning Repos created from this template can easily be deployed and shipped. It becomes hassle free and easy to debug too.\n\nYou can add your code in `template_python` folder. Since this is a package make sure that imports are\nfrom the root. i.e. `from template_python import stuff`\n\n\n## How to use this: -\n\n- Choose use this repo as template option in GitHub.\n- This should create a repo in your GitHub account.\n\n## Files to edit to set up your project.\n\n- You would need to edit some files in order to rename this from `template_python` to your required repo name.\n- Just replace `pip install git+git://github.com/oke-aditya/template_python.git` in the `mk-docs-build.yml` and `mk-docs-deploy.yml` workflows in .github folder with your package git url. This will set up docs.\n- Please edit **ALL** the `.md` files to include description that you need.\n- Edit the `requirements.txt` and `requirements-extra.txt` (optionally).\n- Edit the `.gitingore` and `.dockerignore` files if anything extra is needed. I have included most stuff in them.\n- Edit the `settings.ini` and ` setup.py` (optionally). You perhaps need your name and different requirements. Again most stuff is there, you need to add very small tweaks.\n- Edit the `LICENSE` you may need a different one.\n- Edit the docs folder. It is built using [mkdocs.org](https://www.mkdocs.org). You can refer to mkdocs to know more about docs editing. These are just minimalistic docs that do the job.\n- Optionally Add tests to `tests` folder using `pytest`.\n\nAlso please read the `README` files that are present in the folders. They will help and guide you to setup stuff too.\n\n### I need help to setup my project\n- If you face any issues setting up project do raise an issue. I would be happy to help.\n- If you have a few suggestions and additions you would like please raise a PR. I would be happy to merge.\n\n### Projects built using this template.\n**Note: -** These repos might have diverted a little bit from this template.\n\n- [PyTorch CNN trainer](https://github.com/oke-aditya/pytorch_cnn_trainer.git).\n- [Fashion Intel](https://github.com/oke-aditya/fashion_intel)\n- [PyTorch Image Similarity](https://github.com/oke-aditya/image_similarity)\n- [quicktext: A Fast \u0026 Simple Text Detection Framework](https://github.com/GDGVIT/quicktext)\n\nRaise a PR if you have built your project with this template and I will add it here !!\n\n### Inspirations: -\nThis template was created using a lot of repositories, it includes these\n- [fastai nbdev](https://github.com/fastai/nbdev_template)\n- Made With ML [boilerplate](https://github.com/madewithml/boilerplate).\n- [PyTorch Lightning](https://github.com/PyTorchLightning/pytorch-lightning)\n- [IceVision](https://github.com/airctic/icevision)\n\nHuge credit to these repos, it would be hard to make this without them.\n\nThis template is different from above as this lays emphasis on bundling code in python packages and containers thus ensuring portability.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foke-aditya%2Fpy_fresh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foke-aditya%2Fpy_fresh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foke-aditya%2Fpy_fresh/lists"}