Skip to main content

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


Download files

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

Source Distribution

devops-cli-ericli-0.1.7.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devops_cli_ericli-0.1.7-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file devops-cli-ericli-0.1.7.tar.gz.

File metadata

  • Download URL: devops-cli-ericli-0.1.7.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5

File hashes

Hashes for devops-cli-ericli-0.1.7.tar.gz
Algorithm Hash digest
SHA256 fc31506fc9bd710a9331ebef1ec6480d4f0435f4598b2449f627eef17062ffa6
MD5 8f6d3dc2f34421fd734dec8e6b73c0ea
BLAKE2b-256 4ff75a667c365b5ec1a70b39b70efb99b6586050052f5636bb167807a7076cfd

See more details on using hashes here.

File details

Details for the file devops_cli_ericli-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: devops_cli_ericli-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5

File hashes

Hashes for devops_cli_ericli-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 37a30064ddf164d6d6fe618b5b8c43523a9ae6f14994170111b1ef3eed0a393a
MD5 7f9a3d1ba4d71e65ca00882e9be9d02a
BLAKE2b-256 1ca70e8054827fba2efa703ab92994bf74856d684ca84ca29b12768ae9856792

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page