Skip to main content

Python Library for Caplena REST API.

Project description

PyPI version Downloads

Caplena Python Library

The Caplena Python library provides convenient access to the Caplena REST API from applications written in the Python programming language.

Documentation

To learn more about what you can use Caplena for and for how to create your own API key, please see our main website.

To learn more about the REST API that constitutes the basis for this project, take a look at our REST API docs.

To view the Python API docs and refernces, head over to our SDK documentation.

Installation

Minimum Version

We recommend using the latest version of Python. Caplena supports Python 3.8 and newer.

Dependencies

The following distributions will be installed automatically when installing Caplena.

  • Requests is an elegant and simple HTTP library for Python.
  • Typing Extensions enables use of new type system features on older Python versions.

Installing Caplena

Within your Python environment of choice, use the following command to install Caplena:

$ pip install caplena

Caplena is now installed.

Development

To use caplena-python in a development environment, we recommend you to set up a development virtualenv. Once done, you can run the following command to install all required dependencies:

make install

Run all tests:

make test

Run all tests in watch mode:

make test-watch

Run the formatter:

make fmt

Run the linter:

make lint

Build the Sphinx SDK docs:

make build-docs

The Sphinx generated documentation is automatically generated and uploaded to our developer documentation portal, using Github Actions.

Build the Python package:

make build-sdk

Publish the Python package:

make publish-sdk

Show all supported commands:

make help

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

caplena-2.1.3.tar.gz (54.7 kB view details)

Uploaded Source

Built Distribution

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

caplena-2.1.3-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

Details for the file caplena-2.1.3.tar.gz.

File metadata

  • Download URL: caplena-2.1.3.tar.gz
  • Upload date:
  • Size: 54.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.34.0

File hashes

Hashes for caplena-2.1.3.tar.gz
Algorithm Hash digest
SHA256 319e9fd53a4c78a4c5022f694d689cd553b11f86b59801856d9f06cd0c9ec46e
MD5 ff8ca03e72fd61ca7da9f2ab0076b843
BLAKE2b-256 c68967dd98b6c735ba1952ac4eef171bc9bc928dcedb4859058c3b5e8f08b35e

See more details on using hashes here.

File details

Details for the file caplena-2.1.3-py3-none-any.whl.

File metadata

  • Download URL: caplena-2.1.3-py3-none-any.whl
  • Upload date:
  • Size: 36.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.34.0

File hashes

Hashes for caplena-2.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bef2eb0dc2fe3ebedf6735a2ecc6209ec6e93c9b7d5149b8d0279326fb004b4a
MD5 4f0ccfd020cc3a85a296d934a196a4cf
BLAKE2b-256 f0a223070c248e03cb70c85f54e6152e237e95603dd670d9a760027949e6c8fb

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