SWAP
Simple components sharing tool
Installation
pip install swp
Optionnal dependencies
# Linux
apt install tree
# MacOS
brew install tree
Documentation
Swapfile
swap.yaml example:
git@github.com:mathix420/pylone.git:
# name: local_path:remote_path@optionnal_branch_or_commitID
pylone_utils: utils:pylone/utils
git@github.com:vuejs/ui.git:
vue_ui: components/vue_ui:src/components
Commands
swp initWill guide you for creating a new config file.swp treeWill show you the path structure of remotes.swp syncWill by directionnal update of tracked modules/files.swp addWill add the specified path to the swapfile.swp rmWill remove the specified path from the swapfile.swp getWill pull a module/file from a specified remote URL and add it to the swapfile.
More detailed documentation is available here
As
swp syncwill push local updates to remote, I recommand you to fork repositories likevuejs/uito have write rights on thems.
Release files for swp 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| swp-1.0.1.tar.gz | 9.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swp-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.7 kB
Release files / swp-1.0.1.tar.gz
| Download URL | swp-1.0.1.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c5f8a63c073ac991ae3af65223f47d6a4bf320746a5227f8f767ca705e9fab4
|
|
BLAKE2b-256 checksum How to use checksums |
39bef3a4369db2305fc013331b2787534f480f46f28b0f21f4950553c6219a10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
|
Release files / swp-1.0.1-py3-none-any.whl
| Download URL | swp-1.0.1-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
139742cb40c9489d0994c5f5b2bb015264c418deb1cccfed2dac2dd972178bd0
|
|
BLAKE2b-256 checksum How to use checksums |
c51d9faaf575d17d1d05ff40e5e95aec11ad68bc794d68bd02515c07140a650d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
|