Giter VIP home page Giter VIP logo

piptools-example's Introduction

piptools-example

pip-compile

$ pip-compile --generate-hashes requirements/main.in
#
# This file is autogenerated by pip-compile
# To update, run:
#
#    pip-compile --generate-hashes requirements/main.in
#
django==2.2 \
    --hash=sha256:7c3543e4fb070d14e10926189a7fcf42ba919263b7473dceaefce34d54e8a119 \
    --hash=sha256:a2814bffd1f007805b19194eb0b9a331933b82bd5da1c3ba3d7b7ba16e06dc4b \
    # via -r requirements/main.in
pytz==2019.3 \
    --hash=sha256:1c557d7d0e871de1f5ccd5833f60fb2550652da6be2693c1e02300743d21500d \
    --hash=sha256:b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be \
    # via django
sqlparse==0.3.1 \
    --hash=sha256:022fb9c87b524d1f7862b3037e541f68597a730a8843245c349fc93e1643dc4e \
    --hash=sha256:e162203737712307dfe78860cc56c8da8a852ab2ee33750e33aeadf38d12c548 \
    # via django
$ pip-compile --generate-hashes requirements/dev.in
#
# This file is autogenerated by pip-compile
# To update, run:
#
#    pip-compile --generate-hashes requirements/dev.in
#
django-debug-toolbar==2.2 \
    --hash=sha256:eabbefe89881bbe4ca7c980ff102e3c35c8e8ad6eb725041f538988f2f39a943 \
    --hash=sha256:ff94725e7aae74b133d0599b9bf89bd4eb8f5d2c964106e61d11750228c8774c \
    # via -r requirements/dev.in
django==2.2 \
    --hash=sha256:7c3543e4fb070d14e10926189a7fcf42ba919263b7473dceaefce34d54e8a119 \
    --hash=sha256:a2814bffd1f007805b19194eb0b9a331933b82bd5da1c3ba3d7b7ba16e06dc4b \
    # via -r requirements/main.txt, django-debug-toolbar
pytz==2019.3 \
    --hash=sha256:1c557d7d0e871de1f5ccd5833f60fb2550652da6be2693c1e02300743d21500d \
    --hash=sha256:b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be \
    # via -r requirements/main.txt, django
sqlparse==0.3.1 \
    --hash=sha256:022fb9c87b524d1f7862b3037e541f68597a730a8843245c349fc93e1643dc4e \
    --hash=sha256:e162203737712307dfe78860cc56c8da8a852ab2ee33750e33aeadf38d12c548 \
    # via -r requirements/main.txt, django, django-debug-toolbar

pip-sync

$ pip-sync requirements/main.txt
Found existing installation: django-debug-toolbar 2.2
Uninstalling django-debug-toolbar-2.2:
  Successfully uninstalled django-debug-toolbar-2.2
$ pip-sync requirements/dev.txt
Collecting django-debug-toolbar==2.2
  Using cached django_debug_toolbar-2.2-py3-none-any.whl (198 kB)
Requirement already satisfied: sqlparse>=0.2.0 in /Users/lwan/.pyenv/versions/3.6.9/envs/piptools-example/lib/python3.6/site-packages (from django-debug-toolbar==2.2->-r /var/folders/dt/cwsz1mms1lnd36hx_3mzsc_40000gp/T/tmpwuiygv52 (line 1)) (0.3.1)
Requirement already satisfied: Django>=1.11 in /Users/lwan/.pyenv/versions/3.6.9/envs/piptools-example/lib/python3.6/site-packages (from django-debug-toolbar==2.2->-r /var/folders/dt/cwsz1mms1lnd36hx_3mzsc_40000gp/T/tmpwuiygv52 (line 1)) (2.2)
Requirement already satisfied: pytz in /Users/lwan/.pyenv/versions/3.6.9/envs/piptools-example/lib/python3.6/site-packages (from Django>=1.11->django-debug-toolbar==2.2->-r /var/folders/dt/cwsz1mms1lnd36hx_3mzsc_40000gp/T/tmpwuiygv52 (line 1)) (2019.3)
Installing collected packages: django-debug-toolbar
Successfully installed django-debug-toolbar-2.2

TODO

  • Add virtualenv
  • Add pre-commit

piptools-example's People

Contributors

sfdye avatar

Watchers

 avatar  avatar

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.