Skip to main content

Ionic Machina Client SDK

Project description

Ionic Python SDK

Overview

This module provides Python developers with access to the core services of the Ionic Platform. At a high level, the platform provides developers with straightforward methods to

  • Securely create and retrieve data protection keys
  • Use these keys to encrypt or decrypt application data
  • Encrypt or decrypt arbitrary files
  • Enroll users and devices with the Ionic backend system.

Quick Start

Once you have access to an Ionic account (sign up for free at our developer portal), the Python environment makes it very simple to access some central features of the platform. The example below assumes you have already enrolled your system and have a default peristor.

import ionicsdk                            # top level module for all Ionic classes

plaintext = "Welcome to the Python SDK"    # create some text to encrypt
agent = ionicsdk.Agent()                   # the "Agent" class provides access to several common services.

cipher = ionicsdk.ChunkCipherV1(agent)     # a "cipher" object provides "encrypt" and "decrypt" operations.
                                           # it uses the supplied "agent" to create and retrieve keys.
ciphertext = cipher.encryptstr(plaintext)
print ciphertext
decrypted = cipher.decryptstr(ciphertext)
print decrypted

Additional Information

The Ionic Python SDK distribution includes online documentation for the classes and methods. You can review this documentation by browsing to the "index.html" file within the "docs" directory. It is also available online at the Machina Python SDK Documentation

In order to use the SDK, you will need to enroll in one or more "Ionic tenants". If you don't already have an established tenant, you can create one for free at the Ionic Machina Developer Portal, as well as find additional information, documentation, and community resources.

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

ionicsdk-2.1.2.5.tar.gz (21.2 MB view details)

Uploaded Source

Built Distribution

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

ionicsdk-2.1.2.5-py2.py3-none-any.whl (20.2 MB view details)

Uploaded Python 2Python 3

File details

Details for the file ionicsdk-2.1.2.5.tar.gz.

File metadata

  • Download URL: ionicsdk-2.1.2.5.tar.gz
  • Upload date:
  • Size: 21.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for ionicsdk-2.1.2.5.tar.gz
Algorithm Hash digest
SHA256 001f423203224fd4f9f7b67698c2695d730df421fb0e1cd9522664c7ba1a6dcd
MD5 114d99f48ebf2f94f4c80942d543840e
BLAKE2b-256 55302c639496ea8347182ddbb79b15a2b4c6378adbd31bea3ef62622371a1082

See more details on using hashes here.

File details

Details for the file ionicsdk-2.1.2.5-py2.py3-none-any.whl.

File metadata

  • Download URL: ionicsdk-2.1.2.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 20.2 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for ionicsdk-2.1.2.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 86c78b17b3227ab181da9d049bd98768216dae47f74f5d36c07d3ac6e25c6f3e
MD5 7762d692fda055fa384700f5983327f9
BLAKE2b-256 918234f9d427421785cbe2adcce602422687d998ded59b981c6942452f6dec5d

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