Skip to main content

Atakama sdk

Project description

Atakama Python SDK

Overview

This is a library for programmatically interacting and enhancing the Atkamama encrypted file system.

However, the best way to interact with Atakama is to use the filesystem itself.

It is not necessary to use this SDK for most development efforts, it is provided solely for effenciency and convenience.

For example:

In order to integrate with ssh, so that you have to approve a login on your phone, the easiest thing to do is create an identity file, secure it with Atakama, and then put a soft link to it.

That way when you go to ssh in somewhere, the identity file is unlocked, and you are prompted on your mobile device.

Using the atakama command-line or SDK would not be recommended in this case.

Plugin System:

Atakama supports plugins. This is largely done so that we can have multiple release cycles for 3rd party vendor integrations.

Dectector Plugins:

Atakama runs a file monitoring system. This system will autoamtically-encrypt files as files are modified. For efficiency, expecially on large systems, it may be desirable to alter the rules used to detect and encrypt files.

Example of a detector plugin:

This plugin will cause any file with the word "secret" in the name to be encrypted.

from atakama import DetectorPlugin

class ExampleDetector(DetectorPlugin):
    @staticmethod
    def name():
        return "example-detector"

    def needs_encryption(self, full_path):
        return "secret" in full_path:

Dependencies:

Detector plugins run inside a protected namespace within Atakama. Not all imports are available.

  • Python code is version 3
  • All __builtins__ are guaranteed to be available
  • In particalar, subprocess, sys, requests, os, zipfile and atakama are explicitly available.
  • If you're concerned about specific package versions and other dependencies, please package your plugin as a subprocess call (or DLL) with its own deps included
  • Atakama will endeavor to update the ATAKAMA_SDK_VERSION if we ship libraries that have major version changes, or backward breaking python-version changes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

atakama-1.1.4-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file atakama-1.1.4-py3-none-any.whl.

File metadata

  • Download URL: atakama-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.6.8

File hashes

Hashes for atakama-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1da9c34df39e50e436a0e166bdfbb64417fbda2ddcf1bed546cf1b125bb8b43e
MD5 1b11467c7eda5df84e35390688ece359
BLAKE2b-256 9bbc68e37982acd0a63c2c8ecdbf58239f0efbe5c6730c1e071980a9c129abe8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page