semvec/pypi-packages huggingface dataset:
configlib 2.0.4
wrapper for ConfigParser allowing for simple get calls to set options.

configlib
=========

simple python wrapper for .conf file get, set, delete operations.

Use thusly: 

.conf file:
```
[options]
somesetting=aDifferentValue

```

python code: 
```
    from configlib import getConfig,OptionParser
    def initConfig():
        #initialize config options
        #sets defaults or overrides from config file.
        options.something=getConfig('somesetting','defaultvalue',options.configfile)

    if __name__ == "__main__":
        parser=OptionParser()
        parser.add_option("-c", dest='configfile' , default='', help="configuration file to use")
        (options,args) = parser.parse_args()
        initConfig()
```

pip install configlib
jibrel-aiohttp-swagger 0.1.0
Plugin for aiohttp with swagger support a
Keywords: jibrel_aiohttp_swagger

# Jibrel aiohttp swagger plugin

Minimal aiohttp swagger UI plugin.

Features:

* render swagger UI
* add spec endpoint and serve provided yaml for UI
* serve swagger UI static
* optional spec version substitution from file content

## Install

Last published release:

`pip install jibrel-aiohttp-swagger`

Dev version from git:

`pip install git+https://github.com/jibrelnetwork/jibrel-aiohttp-swagger#egg=jibrel_aiohttp_swagger`

## Usage

```python
from jibrel_aiohttp_swagger import setup_swagger
setup_swagger(app,
              spec_path='v1.swagger.yml',
              version_file_path='version.txt')
```


=======
History
=======

0.1.0 (2019-07-05)
------------------

* First release on PyPI.
CredentialHolder 0.0.7
simple class for serializable and secure credential holder

# Simple Serializable Credential Holder
This is a simple class for handling credentials. It is serializable for data transfer and is able to securely hold
credentials in its constructed form.

## Usage
To get a serialized credential holder, start by picking a passphrase (that you must remember or keep track of) for usage
as an encryption key. Then, create an instance of the CredentialHolder object using the credential you want to encrypt
and the passphrase and you can serialize it and use the string to store or communicate the credentials.

```Python
from credential_holder import CredentialHolder, CredentialHolderSerializer


credential_holder = CredentialHolder("passphrase", "password")
serialized_credential_holder = CredentialHolderSerializer.serialize_credential_holder(credential_holder)
```

This creates something along the lines of 
```Python

serialized_credential_holder = 'aG9sZGVyLl' + 'GQzXHInKQ==' # shortened representation of a large base64 string

```

This value can be then transferred and used elsewhere as follows

```Python
from credential_holder import  CredentialHolderSerializer

serialized_credential_holder = "same_as_above"

credential_holder = CredentialHolderSerializer.deserialize_credential_holder(serialized_credential_holder)

credential_holder.get_credential("passphrase")
```

Using the wrong passphrase will cause an Exception - you will not be able to decrypt a Credential Holder or serialized
string unless you have the same passphrase that was used to create it.