Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

An ultra-lightweight library to securely encrypt any file with AES.

Project Description

aespy is an ultra-lightweight, pure-python library for doing AES encryption. It draws heavily on the popular crypto library, simplifying AES encryption and decryption of files to a single function each.

Usage

Simple usage follows this pattern:

import aespy
encrypt_me = "my_transcript.pdf"
output_file = easy-aes.encrypt_file(encrypt_me)

output_file is a string with the new file name.

WARNING: IF YOU FORGET YOUR PASSWORD AND DELETE THE ORIGINAL DATA, YOUR FILE WILL NOT BE ABLE TO BE RETRIEVED!

import aespy
encrypted_file = "my_encrypted_filename.aes"
binary_data = easy-aes.decrypt_file(encrypted_file)
with open('my_new_file.aaa','wb') as new_file:
  new_file.write(decrypted_data)

decrypt_file returns a Python object containing the now-decrypted data.

Installation

aespy works Python 3.3+. To install it, use:

$ pip install aespy

0.1

Released on September 10, 2016

Release History

Release History

This version
History Node

0.131

History Node

0.14

History Node

0.13

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
aespy-0.131.zip (2.7 kB) Copy SHA256 Checksum SHA256 Source Sep 11, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting