semvec/pypi-packages huggingface dataset:
black-holes 0.0.32
Easy way to handle platform secrets.

BlackHoles
---

Black Holes is a simple way to handle your projects secrets using a `database` or `Consul.io`.

**IMPORTANT**: `Work-in-Progress. Beta version. Non production software.`

+ [Installing BlackHoles](#install)
+ [Using BlackHoles](#usage)
    - [Sqlite BlackHole](#sqliteblackhole)
        * [Plain Keys](#simple-usage-db-black-hole)
        * [Encrypted Keys](#advanced-usage-db-black-hole)
    - [Consul BlackHole](#consulblackhole)
        * [Plain Keys](#simple-usage-consul-black-hole)

# Install

Installing from `Pip`

```bash
(pyenv) $ pip install blackhole
```


Installing from `sources`:

```bash
(pyenv) $ cd black_holes
(pyenv) $ python setup.py install
```

# Usage:

## `SqliteBlackHole` 

__Database BlackHole based__ 

### simple usage db-black-hole

Plain `{'key': 'values'}` storage.

```python
from black_holes import SqliteBlackHole

# Create a new SqliteBlackHole instance
near_black_hole = SqliteBlackHole()

# Create a key called "key" with value "value"
near_black_hole['key'] = 'value'

# print key
print(near_black_hole['key'])
# >>> value
``` 

###  Advanced usage db-black-hole:

Encrypted `{'key': 'values'}` storage.

```python
from black_holes import SqliteBlackHole

# Create a new SqliteBlackHole instance
# By default AES password is `qwerty12345678`
near_black_hole = SqliteBlackHole()

# Create a new custom password_callback function
my_pass = lambda instance: 'my-very-poor-password'
near_black_hole = SqliteBlackHole(password_callback=my_pass)

# Create a AES Encrypted key
near_black_hole['encrypted_key'] = 'it is a secret'

# Encrypted value
print(near_black_hole['key'])
# >>> Encrypted Value

# Decrypted value
print(near_black_hole['decrypted_key'])
# >>> Decrypted Value
```

## `ConsulBlackHole` 

__Consul.io BlackHole based__ 

### Simple usage consul-black-hole

Plain `{'key': 'values'}` storage.

```python
from black_holes import ConsulBlackHole

# Create a new DEV ConsulBlackHole instance
remote_black_hole = ConsulBlackHole()

# You can also creates a new ConsulBlackHole instance using consul auth token
# remote_black_hole = ConsulBlackHole(token='{consul-io-token}')

# Create a key called "key" with value "value"
remote_black_hole['key']= 'value'

# print key
print(remote_black_hole['key'])
# >>> value
```


_Made it with ❤ by __DTecDeal___
sqltap 0.3.11
Profiling and introspection for applications using sqlalchemy

sqltap is a library that allows you to profile and introspect the
queries that your application makes using SQLAlchemy.

sqltap helps you quickly understand:

   * how many times a sql query is executed
   * how much time your sql queries take
   * where your application is issuing sql queries from

Full HTML documentation can be generated by sphinx, or browsed online at:
http://sqltap.inconshreveable.com

SQLTap is hosted on github at: https://github.com/inconshreveable/sqltap
notion-log-exec 0.2.4
Runs a command and reports the result back to a notion collection
Requires Python: >=3.7

# notion-log-exec

![](https://api.travis-ci.org/Adjective-Object/notion-log-exec.svg?branch=master)

Run a command and report the result back to notion

```
usage: notion-log-exec [--config config] [--log_failure_only]  [command_args [command_args ...]]


Runs a command and reports the result back to a collection row on Notion

positional arguments:
  command_args

optional arguments:
  -h, --help            show this help message and exit
  --config config, -c config
                        Path to a config file
  --log_failure_only    Append an entry to the log only when the command fails
```