{ "info": { "author": "Jay Deiman", "author_email": "admin@splitstreams.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "# py-secobj #\n\n## ABOUT ##\nA simple python library that will handle synchronous encryption (AES) of\na python object to either a string or dumping it right to a file.\n\n## REQUIRED LIBRARIES ##\nThe only non-standard library required is the PyCrypto library, which\nis usually available in your package manager. If not, get it from \n\n https://www.dlitz.net/software/pycrypto/\n\n## INSTALL ##\nInstall is easy with the standard Python package install\n\n```bash\ntar -xvzf py-secobj-X.X.X.tar.gz\ncd py-secobj-*\npython setup.py install\n```\n\nYou can also install via *pip* or *easy_install*\n \n```bash\npip install py-secobj\n```\n\n## USAGE ##\nYou can use this library to encrypt any \"pickleable\" object. It will only\nencrypt one object so if you wanted to encrypt multiple, put them in a\ncontainer like a list or dict.\n\nA couple of quick examples:\n\n```python\nimport secobj\n\npassphrase = 'spam and eggs'\nfname = '/var/tmp/test.enc'\nmyObj = [1 , 2 , 3]\nenc = secobj.EncObject(passphrase)\n\n# Encrypt to file and decrypt\nenc.encryptToFile(myObj , fname)\nunencryptedObject = enc.decryptFromFile(fname , True)\n\n# Encrypt to string. You will need to hold on to your IV here\nencStr , IV = enc.encryptToStr(myObj)\nunencryptedObject = enc.decryptFromStr(encStr , IV)\n```\n\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://stuffivelearned.org/doku.php?id=programming:python:py-secobj", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "py-secobj", "package_url": "https://pypi.org/project/py-secobj/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/py-secobj/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://stuffivelearned.org/doku.php?id=programming:python:py-secobj" }, "release_url": "https://pypi.org/project/py-secobj/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "A simple object encryptor and decryptor", "version": "0.2.0" }, "last_serial": 796861, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "cdc16896d30cbbd6c437aa19d00b1271", "sha256": "261ebe21ec7e251b7e0be6bd71e9f4d2dd7f34221d7a33707fb4e6d802393d53" }, "downloads": -1, "filename": "py-secobj-0.1.0.tar.gz", "has_sig": false, "md5_digest": "cdc16896d30cbbd6c437aa19d00b1271", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10713, "upload_time": "2013-02-07T22:15:43", "url": "https://files.pythonhosted.org/packages/78/62/3b0cb4bef1c529fd4bfac693d3ea489c9085aef092cfb54bdb071daaadbc/py-secobj-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "1e4705ec86d6a28d82c0b9944af943a3", "sha256": "4f8e194e855ee98a80f9cef91698d370a08330e0a05af2d2ae386f66b6e4d052" }, "downloads": -1, "filename": "py-secobj-0.2.0.tar.gz", "has_sig": false, "md5_digest": "1e4705ec86d6a28d82c0b9944af943a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10892, "upload_time": "2013-02-08T20:23:48", "url": "https://files.pythonhosted.org/packages/80/34/4d501822d60ec46357a32f17191b3c2fb14de2dce297dba2b7bb2bad6f88/py-secobj-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1e4705ec86d6a28d82c0b9944af943a3", "sha256": "4f8e194e855ee98a80f9cef91698d370a08330e0a05af2d2ae386f66b6e4d052" }, "downloads": -1, "filename": "py-secobj-0.2.0.tar.gz", "has_sig": false, "md5_digest": "1e4705ec86d6a28d82c0b9944af943a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10892, "upload_time": "2013-02-08T20:23:48", "url": "https://files.pythonhosted.org/packages/80/34/4d501822d60ec46357a32f17191b3c2fb14de2dce297dba2b7bb2bad6f88/py-secobj-0.2.0.tar.gz" } ] }