Giter Club home page Giter Club logo

cookiecutter-fastapi's Introduction

cookiecutter-fastapi's People

Contributors

arthurhenrique avatar dependabot[bot] avatar renovate[bot] avatar sourcery-ai-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cookiecutter-fastapi's Issues

build error

I build project next command
docker-compose build --no-cache
And get error

2.583   • Installing stack-data (0.6.2)
8.716 
8.716   ChefBuildError
8.716 
8.716   Backend 'setuptools.build_meta:__legacy__' is not available.
8.716 
8.716   at /usr/local/lib/python3.12/site-packages/poetry/installation/chef.py:147 in _prepare
8.719       143│ 
8.719       144│                 error = ChefBuildError("\n\n".join(message_parts))
8.719       145│ 
8.719       146│             if error is not None:
8.719     → 147│                 raise error from None
8.719       148│ 
8.720       149│             return path
8.720       150│ 
8.720       151│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
8.720 
8.720 Note: This error originates from the build backend, and is likely not a problem with poetry but with numpy (1.24.1) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "numpy (==1.24.1)"'.
8.720 
------
failed to solve: process "/bin/sh -c if [ \"$DEV\" = \"true\" ] ; then poetry install --with dev ; else poetry install --only main ; fi" did not complete successfully: exit code: 1

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

docker-compose
{{cookiecutter.project_slug}}/docker-compose.yml
dockerfile
{{cookiecutter.project_slug}}/Dockerfile
  • python 3.11.0
github-actions
.github/workflows/ci.yaml
  • actions/checkout v4
  • actions/cache v3
  • actions/setup-python v4
{{cookiecutter.project_slug}}/.github/workflows/ci.yaml
  • actions/checkout v3
  • actions/setup-python v3
pep621
{{cookiecutter.project_slug}}/pyproject.toml
  • poetry >=0.12
poetry
{{cookiecutter.project_slug}}/pyproject.toml
  • python ^3.9
  • fastapi ^0.103.0
  • uvicorn 0.23.2
  • pydantic ^2.0.0
  • requests ^2.22.0
  • loguru ^0.7.0
  • joblib ^1.2.0
  • scikit-learn ^1.2.0
  • pytest ^7.2
  • autopep8 ^2.0.0
  • ipdb ^0.13.0
  • pylint ^3.0.0
  • mangum ^0.17.0

  • Check this box to trigger a request for Renovate to run again on this repository

Add Support for Django Tenant

Hi there,

I hope this message finds you well. I wanted to reach out and discuss a feature request that I believe would greatly enhance the functionality of Django Cookie Cutter.

Is your feature request related to a problem? Please describe.
I've encountered a recurring issue while working with Django Cookie Cutter. It currently lacks support for Django Tenant, which makes implementing multi-tenancy in Django quite challenging and frustrating.

Describe the solution you'd like
I would like to propose the addition of native support for Django Tenant in the Django Cookie Cutter template. It would be fantastic if the template could include all the necessary packages, configurations, and templates to seamlessly integrate Django Tenant into the project structure generated by Cookie Cutter.

Describe alternatives you've considered
In terms of alternatives, I have thought about manually integrating Django Tenant into the project after generating it with Django Cookie Cutter. However, this approach is time-consuming, error-prone, and adds an extra layer of complexity. It would be far more convenient and reliable to have native support for Django Tenant directly within the Cookie Cutter template.

Additional context
To provide some additional context, please consider the following points:

  • Django Tenant is widely recognized as a robust package for implementing multi-tenancy in Django projects.
  • The inclusion of Django Tenant support in Django Cookie Cutter would be highly beneficial for developers working on multi-tenant applications.
  • This feature would streamline the initial setup process and ensure consistent and reliable implementation of multi-tenancy.

Thank you very much for considering this feature request. I truly appreciate your time and attention to this matter. Please let me know if there's any further information I can provide.

CookieCutter Template

Transform on cookiecutter template, in order to use cookiecutter cli, like:

cookiecutter https://github.com/arthurhenrique/fastapi-boilerplate

Creating project with default values throw an error on .github\workflows\ci.yaml file

Error message:

Unable to create file '.github/workflows/ci.yaml'
Error message: 'matrix' is undefined
Context: {
    "cookiecutter": {
        "_extensions": [
            "jinja2_time.TimeExtension"
        ],
        "_template": "gh:arthurhenrique/cookiecutter-fastapi",
        "email": "Your address email ([email protected])",
        "full_name": "Your name",
        "machine_learn_model_name": "model.pkl",
        "machine_learn_model_path": "./ml/model/",
        "project_name": "Name of the project",
        "project_short_description": "A short description of the project",
        "project_slug": "name-of-the-project",
        "release_date": "2022-06-17",
        "version": "0.1.0"
    }
}

Steps to reproduce:

cookiecutter gh:arthurhenrique/cookiecutter-fastapi
You've downloaded /home/maciej/snap/cookiecutter/1/.cookiecutters/cookiecutter-fastapi before. Is it okay to delete and re-download it? [yes]: yes
project_name [Name of the project]: 
project_slug [name-of-the-project]: 
project_short_description [A short description of the project]: 
machine_learn_model_path [./ml/model/]: 
machine_learn_model_name [model.pkl]: 
full_name [Your name]: 
email [Your address email ([email protected])]: 
release_date [2022-06-17]: 
version [0.1.0]: 

Enviroment:

Ubuntu 20.04.4 LTS
Python 3.10.4 (via pyenv 2.3.0-14-g0930533)
Cookiecutter 1.6.0 from /snap/cookiecutter/1/lib/python3.6/site-packages (Python 3.6)
Creation of project inside venv

license?

Hello, thanks for putting this together :)

Sorry if there's a license somewhere, but I wasn't able to find one.

Would you be up for adding a LICENSE file? For purely selfish reasons, I'd appreciate if it were permissive (e.g. Apache, MIT), but GPL would be better than nothing :)

Thanks again

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.