Skip to main content

Drone Api Python Client

Project description

drone-api-client

drone-api-client - is a client for provide integration with Drone server

General information about Drone server

Requirements

  • requests

Installation

pip install drone-api-client

Configuration

from drone_api_client.drone_api_client import DroneApi
drone = DroneApi('your_host', 'your_token', 'repository_name')

Features in version: 0.2.2

  • Supported api:
    • cron
    • secrets
    • user
    • users
    • builds
    • repos
  • Change repository name without initialization new class instance

TODO

  • Add support:
    • templates

Usage examples

cron_jobs = drone.cron.get_cron_list()
secrets = drone.secrets.get_secrets()

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

drone-api-client-0.2.3.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

drone_api_client-0.2.3-py2.py3-none-any.whl (11.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file drone-api-client-0.2.3.tar.gz.

File metadata

  • Download URL: drone-api-client-0.2.3.tar.gz
  • Upload date:
  • Size: 8.7 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.1

File hashes

Hashes for drone-api-client-0.2.3.tar.gz
Algorithm Hash digest
SHA256 be79819e60edc93f678b53264e7a146a7a0a4f1497239ac733bf7e2534b3b7a2
MD5 a4b6cf58c57d42073ec8ed778fd77986
BLAKE2b-256 301057246deb9dea0e45d38c97fb8d2e2790cf320890cebaafa825d88cd5171e

See more details on using hashes here.

File details

Details for the file drone_api_client-0.2.3-py2.py3-none-any.whl.

File metadata

  • Download URL: drone_api_client-0.2.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 2, 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.1

File hashes

Hashes for drone_api_client-0.2.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 49aab121303d4122dfa888d5190126c6111478af33bdca4a2da185d2d8fcbb0b
MD5 87c18d82837ed0f853c0dfa88b477638
BLAKE2b-256 f62040cc39226d371b7e4c8de6517da476eba785bad8d40070df80effa28635e

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