Giter VIP home page Giter VIP logo

pygpgme's Introduction

PyGPGME

Note: This is a fork of the original project hosted on launchpad: https://launchpad.net/pygpgme

The goal here is mainly to add docstrings to methods and generate some actual documentation of the Python library (w/o making users guess arguments by reading documentation of the C library..)

Documentation

http://pygpgme.readthedocs.org/en/latest/

About pygpgme

A Python binding for the gpgme library, used to drive the gpg command line program.

More information about gpgme can be found here: http://www.gnupg.org/related_software/gpgme/index.html

This binding stays fairly close to the C API with the following exceptions:

  • Memory management is not exposed to the user

  • Functions like gpgme_get_foo()/gpgme_set_foo() are converted to attribute access on gpgme.Context objects.

  • Functions that take gpgme_data_t arguments take arbitrary Python file-like objects. The read(), write(), seek() and tell() methods may be used on the object.

  • Non-zero gpgme_error_t return values are converted to gpgme.error exceptions.

  • Only the synchronous versions of functions have been wrapped. However, the Python global interpreter lock is dropped, so should play nicely in multi-threaded Python programs.

  • Function pairs like gpgme_op_import()/gpgme_op_import_result() are combined into single method calls.

  • The Python version of gpgme_op_keylist() returns an iterator over the matched keys, rather than requiring the user to use a special iteration function.

This library is licensed under the LGPL, the same license as the gpgme library.

pygpgme's People

Contributors

rshk avatar torfsen avatar hwonp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.