Skip to main content

CLI implementation of the ElephantSQL API

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

PyPI version

CLI implementation of the ElephantSQL API

Usage:

Install using pip

$ pip install elephantsql-cli

Register your API token

$ elephant register  # this will prompt you to add your API token

List backups:

$ elephant backups [--db=my_database]

Create backups:

$ elephant backup [--db=my_database]

Restore backup:

$ elephant restore backup_id

List alarms:

$ elephant alarms

Project Features

Getting Started

The project’s documentation contains a section to help you get started as a developer or user of the library.

Development Prerequisites

If you’re going to be working in the code (rather than just using the library), you’ll want a few utilities.

Resources

Below are some handy resource links.

  • Project Documentation

  • Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary.

  • Sphinx is a tool that makes it easy to create intelligent and beautiful documentation, written by Geog Brandl and licnsed under the BSD license.

  • pytest helps you write better programs.

  • [GNU Make] is a tool which controls the generation of executables and other non-source files of a program from the program’s source files.

Authors

  • Malik S - Initial work - github

See also the list of contributors who participated in this project.

LicenseMIT License

Copyright (c) flyudvik

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

elephantsql_cli-0.0.2.tar.gz (6.0 kB view details)

Uploaded Source

File details

Details for the file elephantsql_cli-0.0.2.tar.gz.

File metadata

  • Download URL: elephantsql_cli-0.0.2.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for elephantsql_cli-0.0.2.tar.gz
Algorithm Hash digest
SHA256 24fcc543d216bebb4a0f100dd433370d72f0bfeb6835a5627937b71dba00eaa6
MD5 2869c3ed850dabfd29b647633376d17b
BLAKE2b-256 f75df5aa1801ae674c7d21ee5d6ff8bd238195867fd8445ccd5b1aa8c35f6ca1

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