libnacl


Namelibnacl JSON
Version 2.1.0 PyPI version JSON
download
home_pagehttps://libnacl.readthedocs.org
SummaryPython bindings for libsodium based on ctypes
upload_time2023-08-06 21:23:56
maintainer
docs_urlNone
authorThomas S Hatch
requires_python>=3.4,<4.0
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            ==============
Python libnacl
==============

This library is used to gain direct access to the functions exposed by
Daniel J. Bernstein's nacl library via libsodium. It has
been constructed to maintain extensive documentation on how to use nacl
as well as being completely portable. The file in libnacl/__init__.py
can be pulled out and placed directly in any project to give a single file
binding to all of nacl.

Higher Level Classes
====================

The libnacl code also ships with many high level classes which make nacl
cryptography easy and safe, for documentation please see:
http://libnacl.readthedocs.org/

Why libnacl
===========

There are a number of libraries out there binding to libsodium, so why make
libnacl?

1. libnacl does not have any non-python hard deps outside of libsodium
2. libnacl does not need to be compiled
3. libnacl is easy to package and very portable
4. Inclusion of high level pythonic encryption classes
5. Ability to have a single embeddable and transferable bindings file
   that can be added directly to python applications without needing
   to dep libnacl

This makes libnacl very portable, very easy to use and easy to distribute.

Install
=======

The libnacl code is easiy installed via a setup.py from the source or via pip.

From Source:

.. code-block:: bash

    tar xvf libnacl-1.5.2.tar.gz
    cd libnacl-1.5.2
    python setup.py install

Via Pip:

.. code-block:: bash

    pip install libnacl

Remember that libnacl can be installed for python 2 and 3.

Linux distributions
-------------------

Libnacl is shiped with many linux distributions, check your distribution
package manager for the package ``python-libnacl``, ``python2-libnacl``
and/or ``python3-libnacl``.

            

Raw data

            {
    "_id": null,
    "home_page": "https://libnacl.readthedocs.org",
    "name": "libnacl",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.4,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Thomas S Hatch",
    "author_email": "thatch45@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/df/fc/65daa1a3fd7dd939133c30c6d393ea47e32317d2195619923b67daa29d60/libnacl-2.1.0.tar.gz",
    "platform": null,
    "description": "==============\nPython libnacl\n==============\n\nThis library is used to gain direct access to the functions exposed by\nDaniel J. Bernstein's nacl library via libsodium. It has\nbeen constructed to maintain extensive documentation on how to use nacl\nas well as being completely portable. The file in libnacl/__init__.py\ncan be pulled out and placed directly in any project to give a single file\nbinding to all of nacl.\n\nHigher Level Classes\n====================\n\nThe libnacl code also ships with many high level classes which make nacl\ncryptography easy and safe, for documentation please see:\nhttp://libnacl.readthedocs.org/\n\nWhy libnacl\n===========\n\nThere are a number of libraries out there binding to libsodium, so why make\nlibnacl?\n\n1. libnacl does not have any non-python hard deps outside of libsodium\n2. libnacl does not need to be compiled\n3. libnacl is easy to package and very portable\n4. Inclusion of high level pythonic encryption classes\n5. Ability to have a single embeddable and transferable bindings file\n   that can be added directly to python applications without needing\n   to dep libnacl\n\nThis makes libnacl very portable, very easy to use and easy to distribute.\n\nInstall\n=======\n\nThe libnacl code is easiy installed via a setup.py from the source or via pip.\n\nFrom Source:\n\n.. code-block:: bash\n\n    tar xvf libnacl-1.5.2.tar.gz\n    cd libnacl-1.5.2\n    python setup.py install\n\nVia Pip:\n\n.. code-block:: bash\n\n    pip install libnacl\n\nRemember that libnacl can be installed for python 2 and 3.\n\nLinux distributions\n-------------------\n\nLibnacl is shiped with many linux distributions, check your distribution\npackage manager for the package ``python-libnacl``, ``python2-libnacl``\nand/or ``python3-libnacl``.\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Python bindings for libsodium based on ctypes",
    "version": "2.1.0",
    "project_urls": {
        "Documentation": "https://libnacl.readthedocs.org",
        "Homepage": "https://libnacl.readthedocs.org",
        "Repository": "https://github.com/saltstack/libnacl"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "adce85fa0276de7303b44fef63e07c14d618b8630bbe41c7dd7e34db246eab8d",
                "md5": "3f7bde55ccd7e82a8cff0c18034614d0",
                "sha256": "a8546b221afe8b72b6a9f298cd92a4c1f90570d7b5baa295acb1913644e230a5"
            },
            "downloads": -1,
            "filename": "libnacl-2.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3f7bde55ccd7e82a8cff0c18034614d0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.4,<4.0",
            "size": 21870,
            "upload_time": "2023-08-06T21:23:55",
            "upload_time_iso_8601": "2023-08-06T21:23:55.120600Z",
            "url": "https://files.pythonhosted.org/packages/ad/ce/85fa0276de7303b44fef63e07c14d618b8630bbe41c7dd7e34db246eab8d/libnacl-2.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dffc65daa1a3fd7dd939133c30c6d393ea47e32317d2195619923b67daa29d60",
                "md5": "a3b2d12d849d0cd27e60b5206fd8919a",
                "sha256": "f3418da7df29e6d9b11fd7d990289d16397dc1020e4e35192e11aee826922860"
            },
            "downloads": -1,
            "filename": "libnacl-2.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a3b2d12d849d0cd27e60b5206fd8919a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.4,<4.0",
            "size": 42189,
            "upload_time": "2023-08-06T21:23:56",
            "upload_time_iso_8601": "2023-08-06T21:23:56.860163Z",
            "url": "https://files.pythonhosted.org/packages/df/fc/65daa1a3fd7dd939133c30c6d393ea47e32317d2195619923b67daa29d60/libnacl-2.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-06 21:23:56",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "saltstack",
    "github_project": "libnacl",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "lcname": "libnacl"
}
        
Elapsed time: 0.09657s