New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ionicsdk

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ionicsdk

Ionic Machina Client SDK

  • 2.1.2.5
  • PyPI
  • Socket score

Maintainers
1

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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc