This release is a pre-release and may not be stable for production use.
DMC
DMCode - like a deploy my code
Allows you to upload your code to an ftp server without any ftp/sftp clients.
why is this needed?
for example, you need to quickly deploy code or files to a remote ftp or sftp server directly from a directory with easy-to-understand console commands.
Where is working?
Linux, MacOS, Windows - in progress 🚀
TODO v1.0
- add mysql backup restore
- ask user when replacing file [--replace ASK|NOT|default: replace all]
- add save rights after deploying
- add windows support
- add "paste" method
dmc.ini
Using the configuration file dmc.ini, you can exclude directories, files or file extensions that you do not need, and more. Just execute the command in the desired directory for ftp:
dmcode --ftp_config
or for sftp:
dmcode --sftp_config
or specify ftp settings right away:
dmcode --ftp_config|--sftp_config --host <your_ftp_host> --port <your_ftp_port> --password <your_ftp_password> --path /var/www/html
this is to create a configuration file dmc.ini that you can edit.
[DMC]
ignore_ext = ignored extensions for upload
ignore_files = ignored file names for upload
ignore_dirs = ignored directory names for upload
max_size_dir_mb = allowed maximal directory size for upload (in Bytes)
max_size_file_mb = allowed maximal file size for upload (in Bytes)
Deploy your code
Just execute:
dmcode --ftp|--sftp
Setup
pip install dmcode
or
git clone https://github.com/foozzi/dmcode.git && cd dmcode
python setup.py install
Metadata
Release files for dmcode 0.9b0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dmcode-0.9b0.tar.gz | 10.3 kB | Without provenance | Details for dmcode-0.9b0.tar.gz |
Release files / dmcode-0.9b0.tar.gz
| Download URL | dmcode-0.9b0.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9561737540e5121ac32ba5bc1fc34160e647d5eae62b20bca9939660cfbcddaa
|
|
BLAKE2b-256 checksum How to use checksums |
37885d1c77ef9f5e06a5e98ad33faec947939664afe1371f3d3f7a7dbf9d0f33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0
|
Security for dmcode 0.9b0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.