A simple deployer cmd tool
Project description
Python application deployer
This command line script exists for fast deployment to remote server. Was mostly created for test purposes and might have some issues.
Used languages/packages
Python3.6 and click.
This script uses ssh
, scp
, zip
and unzip
commands inside.
Installation and usage
To install simply run pip install py_deploy
You can also install it from git: pip install git+https://github.com/velykanov/py_deploy.git
To deploy your application to the server simply run py-deploy -t username@host:/some/dir/
.
This command would deploy current directory to remote server.
Here's the full list of options:
-i, --identity-file TEXT SSH identity file
-P, --port TEXT SSH target port
-s, --source TEXT Source (default: '.')
-t, --target TEXT Target [required]
-e, --exclude TEXT Dirs names to exclude (default: ['tests', '.git', '__pycache__'])
-v, --verbose
--version Show the version and exit.
--help Show this message and exit.
Please note!
This tool won't work if your python versions are mismatched (for instance your app is written using Python3.8 including some specific features and you're running this tool using Python3.6).
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
File details
Details for the file py_deploy-1.0.0.tar.gz
.
File metadata
- Download URL: py_deploy-1.0.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.20.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98bf7e802e5ba89b94e9a078fc3a17722965137f12168fc57c4b298690fb5a83 |
|
MD5 | ecd08a65fc30c7cd557daecf64884a77 |
|
BLAKE2b-256 | 10f4f3b386d44a3e64db7a414ebf969c597f5fe4dad490aca361b5a6fc377af1 |
File details
Details for the file py_deploy-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: py_deploy-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.20.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6002472a53675f6c0dfa9e6e3ed524a7413aa7721d153b0891df7e08edbb1a1 |
|
MD5 | 67cc3ddb934c5a9c15971a3da0ca2e8b |
|
BLAKE2b-256 | d2059a3627f7d01cd2742eaf4e80a9db12079401ff36c88995c962c84b4609b8 |