semvec/pypi-packages huggingface dataset:
persistent_crypto_dict 0.4.3
UNKNOWN
License: BSD
Keywords: crypto collections container persistency cache

Persistent Crypto Dictionary
****************************

This class implements a persistent dictionary using sqlite3 and
encrypts the keys and the values of the dictionary in a way, that
makes it very hard to bruteforce either the key or the values in the
db.

example usage::
   >>> from pcd import PersistentCryptoDict
   >>> d=PersistentCryptoDict()
   >>> print d
   <pcd.PersistentCryptoDict instance at 0x8dcb54c>
   >>> print d['my key']
   None
   >>> d['my key']='secret value'
   >>> print d['my key']
   secret value
   >>> d['my key']='top secret value'
   >>> print d['my key']
   top secret value

Crypto
======

The key and the value in the dict is transformed according to the
following algorithm (credit: dnet):

Setting values
++++++++++++++
1. we calculate they keyhash - a hmac-sha512(salt,key)
2. we split the key in half, the first half as a hexdigest (ascii),
   the second we keep as a binary
3. we use the second binary half from step 2 of the keyhash to encrypt
   the value
4. we use the ascii keyhash from step 2 as a key to the database, and
   the value is the encrypted result from step 3.

Getting values
++++++++++++++
1. we calculate they keyhash - a hmac-sha512(salt,key)
2. we split the key in half, the first half as a hexdigest (ascii),
   the second we keep as a binary
3. we query the database using the ascii keyhash from step 2 as a key
4. we use the second binary half from step 2 of the keyhash to decrypt
   the value

The database contains only the following pairs of data:

  (hmac-sha512(key, salt).hexdigest()[:64],                # key
  aes256-ofb(hmac-sha512(key, salt).digest()[32:], value)) # value

we diligently obey Schneier's law:
https://www.schneier.com/blog/archives/2011/04/schneiers_law.html, and
thus we would consider the task to retrieve any meaningful data
without huge rainbow tables from such a database a futile task. :)
sentry-bitbucket 0.1.5
A Sentry extension which integrates with Bitbucket.
License: BSD

================
sentry-bitbucket
================

:Author: Neil Albrock
:Version: 0.1.5

An extension for Sentry which integrates with Bitbucket. Specifically, it allows you to easily create issues from events within Sentry.

This is largely a port of the ``sentry-github`` package, the main difference being that it makes use of the ``requests`` library for communication with Bitbucket and implements OAuth, which is the preferred way to integrate with their API.

Installation
============

Install the package via ``pip``::

    $ pip install sentry-bitbucket

Ensure you've configured Bitbucket auth in Sentry by adding the following to your ``sentry.conf.py``::

    # Bitbucket needs to be included as a valid auth provider
    SENTRY_AUTH_PROVIDERS = {
        'twitter': ('TWITTER_CONSUMER_KEY', 'TWITTER_CONSUMER_SECRET'),
        'facebook': ('FACEBOOK_APP_ID', 'FACEBOOK_API_SECRET'),
        'github': ('GITHUB_APP_ID', 'GITHUB_API_SECRET'),
        'google': ('GOOGLE_OAUTH2_CLIENT_ID', 'GOOGLE_OAUTH2_CLIENT_SECRET'),
        'trello': ('TRELLO_API_KEY', 'TRELLO_API_SECRET'),
        'bitbucket': ('BITBUCKET_CONSUMER_KEY', 'BITBUCKET_CONSUMER_SECRET'),
    }

    # https://bitbucket.org/account/user/<username>/api
    BITBUCKET_CONSUMER_KEY = ''
    BITBUCKET_CONSUMER_SECRET = ''

Associate your account with Bitbucket (if you haven't already) via Account -> Identities.

You'll now see a new action on groups which allows quick creation of Bitbucket issues.

Caveats
=======

If you have multiple Bitbucket identities associated in Sentry, the plugin will just select
one to use.
sidc-gui 0.4
Sudden ionospheric disturbance colletor (sidc) GUI
License: BSD

sidc-gui
=========

Sudden ionospheric disturbance colletor (sidc) GUI.

Features:
----------
 - `sidc <http://github.com/sorki/sidc>`_ data plotting
 - query running sidc instance info
 - live plot

Requirements:
--------------
 - python 2.6
 - psutil 0.1.3
 - wxPython 2.8
 - matplotlib 0.99.1.1

 Note: version numbers are just informative, sidc-gui should work fine with latest versions of the requirements.

Installation:
--------------
 - install sidc-gui (`easy_install sidc-gui` or `pip install sidc-gui`)
 - install requirements
 - run `sidc_gui`