dropman-1.1.3
توضیحات
A CLI Tool to manage Digital Ocean Droplets.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dropman-1.1.3 |
| نام | dropman |
| نسخه کتابخانه | 1.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Daniel Gomes |
| ایمیل نویسنده | me@danielcsgomes.com |
| آدرس صفحه اصلی | https://github.com/dcsg/dropman |
| آدرس اینترنتی | https://pypi.org/project/dropman/ |
| مجوز | MIT |
DropMan: Manage your Digital Ocean Droplets
===========================================
Installation
------------
To install simply
.. code-block:: bash
$ pip install dropman
Configuration
-------------
.. role:: bash(code)
:language: bash
**DropMan** will read the configuration file by *default* from your *home directory* :bash:`~/.dropman` but you can also
create
the configuration file wherever you want and specify as an option
:bash:`$ dropman my_command --config-path=path/to/my/ .dropman`
Create the :bash:`.dropman` configuration file in your home directory or in any .
.. code-block:: bash
$ touch ~/.dropman
Add the Digital Ocean API token to the configuration file:
.. code-block:: yaml
token: "YOUR DIGITAL OCEAN API TOKEN"
Run
------------
To list the options available:
.. code-block:: bash
$ dropman --help
List all droplets:
.. code-block:: bash
$ dropman list
Reboot a droplet:
.. code-block:: bash
$ dropman reboot <id>
Shutdown a droplet:
.. code-block:: bash
$ dropman shutdown <id>
Power On a droplet:
.. code-block:: bash
$ dropman poweron <id>
Power Off (hard shutdown) a droplet:
.. code-block:: bash
$ dropman poweroff <id>
Power Cycle (hard reboot) a droplet:
.. code-block:: bash
$ dropman powercycle <id>
نیازمندی
| مقدار | نام |
|---|---|
| ==0.6.2 | docopt |
| >=4.2b1 | pyyaml |
| ==0.7.5 | tabulate |
| ==1.9.0 | python-digitalocean |
| - | coverage |
| - | pytest |
| - | pytest-cov |
نحوه نصب
نصب پکیج whl dropman-1.1.3:
pip install dropman-1.1.3.whl
نصب پکیج tar.gz dropman-1.1.3:
pip install dropman-1.1.3.tar.gz