Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

4
just-pip-tools: An example of managing python dependencies as layered lock files with just and pip-tools
Post Flair (click to view more posts with a particular flair)
Post Body

I've created a small project called just-pip-tools that combines pip-tools and just to manage Python dependencies in a layered approach. This isn't a magic bullet; it's a set of files you can adapt to your needs.

What it Does:

  • Layered Dependencies: Dependencies are organized into 'main', 'dev', and 'local' layers for better management.
  • Top Level Dependencies: You only need to specify the top-level, minimally-pinned packages in .in files.
  • Lock Files: Generates lock files to ensure that your environment is consistent across different stages.
  • Local Requirements: Allows you to add libraries that are specific to your local development environment.

Examples:

  • just lock: This command will generate lock files for each layer, ensuring version consistency.
  • just add-dependency dev black: This adds the 'black' package to your development dependencies.
  • just sync: Running this will align your virtual environment exactly with the lock files.

Happy to hear any ideas or improvements.

Read the full README here

Author
Account Strength
100%
Account Age
8 years
Verified Email
Yes
Verified Flair
No
Total Karma
110,891
Link Karma
17,774
Comment Karma
86,300
Profile updated: 4 days ago
Posts updated: 8 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago