Skip to main content

Simple components sharing tool

Project description

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 init Will guide you for creating a new config file.
  • swp tree Will show you the path structure of remotes.
  • swp sync Will by directionnal update of tracked modules/files.
  • swp add Will add the specified path to the swapfile.
  • swp rm Will remove the specified path from the swapfile.
  • swp get Will pull a module/file from a specified remote URL and add it to the swapfile.

More detailed documentation is available here

As swp sync will push local updates to remote, I recommand you to fork repositories like vuejs/ui to have write rights on thems.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for swp, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size swp-1.0.1-py3-none-any.whl (11.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size swp-1.0.1.tar.gz (9.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page