Like poetry, but it's pip
Project description
pip-inside
I use pip, so I have requirements.txt, and might requirements-dev.txt as well.
Later when I started to configure my black, isort, pypy..., I have pyproject.toml.
Then I wanted to move requrements.txt into pyproject.toml, as it's feature-rich, then I saw poetry.
After used poetry for months, I started to missing pip, as poetry:
- sometimes slow, and sometimes quite slow
- hash mismatch, then I have to delete my entire cache, and download everything again
- when you have huge dependencies like
torch(~2 GB), too bad to install a general version, then a working version later intoeplugin
So this pip-inside comes out. It's just flit-core with pip as the dependency installer.
NOTICES:
Only supports:
- dynamic
version(__version__ = 'your version'in {root_module}/init.py) - non-dynamic
description(inpyproject.toml) - no
srcfolder in project root - virtualenv folder named
.venvin project root - not checking hashes
install
# in each of your virtual env
pip install pip-inside
commands
- pip-inside
- pi
pi
Usage: pi [OPTIONS] COMMAND [ARGS]...
Options:
-V, --version show version of this tool
--help Show this message and exit.
Commands:
add Add a package as project dependency
build Build the wheel and sdist
init Init project in current directory
install Install project dependencies by groups
publish Publish the wheel and sdist to remote repository
remove Remove a package from project dependencies
version Show version of current project
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pip-inside-0.1.3.tar.gz.
File metadata
- Download URL: pip-inside-0.1.3.tar.gz
- Upload date:
- Size: 40.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4667eb364256335e52992176604fb2d2cffee1df9c0f173a6135ae1c8727eb25
|
|
| MD5 |
536e76e524bbb39944b3e4ed36e87146
|
|
| BLAKE2b-256 |
420d3fd695e9c7670a136f4fc9b7df518ecfe473bcbdc15b97cb2f7415cf3ddf
|
File details
Details for the file pip_inside-0.1.3-py3-none-any.whl.
File metadata
- Download URL: pip_inside-0.1.3-py3-none-any.whl
- Upload date:
- Size: 47.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
777bb1a981fff87af7e0206a6dec4c929529082c3d952eaaef5f4216d0050ef0
|
|
| MD5 |
9d5f13b7ff68473acb98847db35d3778
|
|
| BLAKE2b-256 |
6f5a7a996715b7fd978e404aa0924673c79f31c4201f5b945499af32f6829b29
|