DevOps Tool
Project description
devops-cli
It is a dummy tool for testing the upload to gofile.io. But hopefully we can publish it with real usage.
To know gofile: https://gofile.io/welcome
An example to use the tool:
$ devops-cli -i myfile.txt --verbose
2021-01-24 12:41:42,693 - INFO - start uploading file: myfile.txt to server: https://srv-store4.gofile.io
2021-01-24 12:41:42,695 - DEBUG - Starting new HTTPS connection (1): srv-store4.gofile.io:443
2021-01-24 12:41:44,911 - DEBUG - https://srv-store4.gofile.io:443 "POST /uploadFile HTTP/1.1" 200 137
2021-01-24 12:41:44,914 - DEBUG - This is the request url: https://srv-store4.gofile.io/uploadFile
2021-01-24 12:41:44,915 - DEBUG - This is the response status code: 200
2021-01-24 12:41:44,915 - DEBUG - This is the response header: {'Access-Control-Allow-Origin': '*', 'Content-Length': '137', 'Content-Type': 'application/json; charset=utf-8', 'Date': 'Sun, 24 Jan 2021 01:41:44 GMT', 'Etag': 'W/"89-mfbMaqrQAo1Bc2RL0aGmuM/fzys"', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'DENY', 'X-Powered-By': 'Express', 'X-Xss-Protection': '1; mode=block'}
2021-01-24 12:41:44,915 - DEBUG - This is the response content b'{"status":"ok","data":{"code":"YpMEDT","adminCode":"LGK4xqfNl6xByIoGk3bn","file":{"name":"myfile.txt","mimetype":"text/plain","size":0}}}'
File Download Link: https://gofile.io/d/YpMEDT
2021-01-24 12:41:44,916 - INFO - The file download link is https://gofile.io/d/YpMEDT
pre-requisite
Python 3
IDE
VS Code or IntelliJ etc
Install
pip
pip install .
Editable install
pip install -e .
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 Distributions
File details
Details for the file devops-cli-Nicole-0.1.3.tar.gz
.
File metadata
- Download URL: devops-cli-Nicole-0.1.3.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c96f67e9d12f8cdddcde0503576e86760c335cd1183138288156a67eb776c1d7 |
|
MD5 | acd7ce61c144608eeacb32122171e8dc |
|
BLAKE2b-256 | acd5d68ba8762ee4f939e3e4c580e6df76f2fc0f085581153aa64ab9f5299a90 |
Provenance
File details
Details for the file devops_cli_Nicole-0.1.3-py3.9.egg
.
File metadata
- Download URL: devops_cli_Nicole-0.1.3-py3.9.egg
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb3b023eccea9998c22459a7d3975d65c4f269deb78dcb54473652cde016670a |
|
MD5 | 15e52920a74036693fe6499b2b5a3fe1 |
|
BLAKE2b-256 | 7dc9128eb2ca8601cda230f0939da3e2c0c62bb414f030f3e95426e744b667dd |
Provenance
File details
Details for the file devops_cli_Nicole-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: devops_cli_Nicole-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdfad690462d92b2e135582aa8dcdcf76ffc868ec9799fa8bff11d1d63bc5e84 |
|
MD5 | 8f20760049534e73671ffca69065452c |
|
BLAKE2b-256 | 4e58220aca30c3a17f5393368b53cf616a1e77de66143b1aa4e15c796e0079eb |