Giter VIP home page Giter VIP logo

python-project-template-with-pip-compile's Introduction

python-project-template-with-pip-compile

This project is an explanatory template showing how to do effective dependency management in Python with pip-compile.

This template is minimal, including only the ingredients that you'll need to do dependency management effectively. In almost all cases, you'll want to add in additional tools for unit testing, linting, documentation generation, build automation, and many other things. Sean Fisk's python-project-template is a great place to start for incorporating more build tools into your project.

Usage

To use this as a template, clone it, modify the files to your liking, and you're good to go! Each file is documented to explain how it works, so you can also browse the files to learn more about how to set up dependency management for a Python project.

To install dependencies and run tests, run tox. Running tox -r will recreate all virtualenvs.

If you want to add a tool that's only needed to test this project, add it to requirements.testing.in, then run tox -e pip-compile to update your requirements.txt file.

If you want to add a Python library that is needed by the code itself, add it to requirements.in, then run tox -e pip-compile to update your requirements.txt file.

Philosophy

For a more detailed explanation of how this project works, see [this blog post](link to second blog post).

python-project-template-with-pip-compile's People

Contributors

khwilson avatar

Watchers

 avatar  avatar

Forkers

isabella232

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.