cookiecutter-pypackage
python-blueprint
cookiecutter-pypackage | python-blueprint | |
---|---|---|
6 | 1 | |
4,140 | 536 | |
- | - | |
7.7 | 7.5 | |
5 days ago | 11 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cookiecutter-pypackage
-
Which scaffolding package should I use?
- cookiecutter-pypackage
-
Would this project be okay to show employers
Just a quick note - your link leads to the cookiecutter tool repo whereas OP needs a python templates like: https://github.com/audreyfeldroy/cookiecutter-pypackage
-
I learned about how to take extra time and effort to write pep8 quality code, and it reflects well on my open source projects.
The base template is here: https://github.com/audreyfeldroy/cookiecutter-pypackage
-
Having to set the working directory for pytest
I'm experiencing some trouble with running pytest and tox. With this project I mainly wanted to learn how to setup a good repository style and learn to publish my package. I used Cookiecutter PyPackage as template.
-
An easy way to deal with __pycache__ bytecode within specific projects.
Take a look at the makefile in this python package cookie cutter template: https://github.com/audreyfeldroy/cookiecutter-pypackage. I’ve started using this for pretty much all my python projects because I like being able to run ‘make clean’ to clean up any pyc files or build artifacts that I don’t want to accidentally commit to version control.
-
Best practices for structuring a project
For additional exploration... check out cookiecutter and cookiecutter-pypackage. Not so much a guide as much as a tool, but in short, cookiecutter lets you jumpstart new projects and populate directory structure with one command. Cookiecutter-pypackage is a template that does a pretty good job of following best practices. Though, it does a lot, so, prepare to be a little overwhelmed wondering why it includes so many files. But it may give you an idea of some things you may want to do when creating your own projects.
python-blueprint
-
Which scaffolding package should I use?
I used https://github.com/johnthagen/python-blueprint to build https://github.com/DaveCoDev/not-again-ai. It uses poetry to manage dependencies, sets up automatic linting, testing, and type checking with nox and gets it running with GitHub Actions. It is continually being updated and stays up to date modern Python tooling (ruff, nox, poetry, etc). Not sure why the comments are being so discouraging, but regardless if you are looking to publish a polished library, its super helpful to have these things setup for you.
What are some alternatives?
BookContentToYoutubeVideos - scrape the table of content from a book and search using youtube using the chapter titles
pyscaffold - 🛠 Python project template generator with batteries included
cookiecutter - A cross-platform command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, C projects.
vhdl-style-guide - Style guide enforcement for VHDL
not-again-ai - A Python package designed to once and for all collect all the little things that come up over and over again in AI projects.
Python Packages Project Generator - 🚀 Your next Python package needs a bleeding-edge project structure.
Poetry - Python packaging and dependency management made easy
FastAPI-Backend-Template - A backend project template with FastAPI, PostgreSQL with asynchronous SQLAlchemy 2.0, Alembic for asynchronous database migration, and Docker.