semvec/pypi-packages huggingface dataset:
gitlabenvmngr 0.2.1
Package to manage Gitlab environment variables

# Environment Manager

## Usage

```bash
gitlabenvmngr
```

or

```bash
gitlabenvmngr -t/--token TOKEN -g/--group-id GROUP_ID
```

## Install

```bash
pip3 install --upgrade gitlabenvmngr
```

### Testing

```bash
pip3 install -i https://test.pypi.org/simple/ --upgrade gitlabenvmngr
```
sectool 0.0.17
A tool for keeping secrets during software builds and deployments
Requires Python: >=3.7

# SECTOOL

A tool for keeping secrets during software builds and deployments.

## Challenge
The secrets like API keys or passwords should be used during run time and provided by execution environment.
The simple solution is keeping them as environment variables. But values of the variables are usually kept as
plain text inside files like ``Dockerfile`` or ``docker-compose.yml`` which is not secure.

## Way to solve
The tool solves the issue, it allows you to keep secrets in an encrypted file and inject the values
during software builds.

### How it works?
1. You create an .ini file where in section ``secrets`` you keep all your secrets.
2. Encrypt the file. Later you can use the file (or files if you need different secrets for different environments).
3. Run ``sectool`` by specifying the file and your deployment config file. The tool reads your 
deployment config, injects the corresponding values and print the result to stdout.
4. Here is the step when Linux magic begins, the stdout can be piped to your building or deployment tool,
also ``xargs`` can help.

### Examples
First of all, install ``sectool``:
```shell
python3 -m pip install sectool
```
And develop a shell code that calls sectool:
```shell
# The function has three arguments 
# * path to encrypted file keeping secrets
# * password for decrypting the file
# * path to file where we need to merge variables
merge() {
read -r -d '' script <<-"----EOF"
import os
from sectool import process
process(os.environ['SEC_FILE'], os.environ['PASS'], os.environ['TMPL_FILE'])
----EOF
SEC_FILE="$1" PASS="$2" TMPL_FILE="$3" python3 -c "$script"
}
```

Inject to ``Dockerfile`` and build a Docker image:
```shell
echo -n "Enter your password: "
read PASSWORD
merge "secrets.dat" $PASSWORD "Dockerfile" | docker build -t tulip -f - .
```

Inject to ``docker-compose.yml`` and build all images mentioned there:
```shell
echo -n "Enter your password: "
read PASSWORD
merge "secrets.dat" $PASSWORD "docker-compose.yml" | docker-compose -f - build
```

Inject to AWS Task Definition:
```shell
echo -n "Enter your password: "
read PASSWORD
merge "secrets.dat" $PASSWORD "my-aws-task-def.json" | xargs -0 aws ecs register-task-definition --region eu-west-1 --cli-input-json
```

### How do I encrypt .ini file?
Easy. You need ``openssl``, the software is very popular and included in almost popular Linux/Unix distributions.

How do I encrypt file?
```shell
openssl enc -aes128 -pbkdf2 -in secrets.ini -out secrets.dat
```
Don't forget password that the tool will ask! If you forget it, you won't be able to get access to your secrets.

How do I decrypt to check if everything okay?
```shell
openssl enc -aes128 -pbkdf2 -d -in secrets.dat -pass pass:<password>
```

### How do I mention secret variables in my, for instance, Dockerfile?
Just use a name of the variable in double curly brackets ``{{api_key}}``

Example of .ini file:
```ini
[secrets]
api_key = AGTDBLWLB5BGG7NNVHV
```

Example of Dockerfile:
```dockerfile
FROM ubuntu:20.04
USER wheel

ENV API_KEY={{api_key}}
```
onetsdb 1.3.1
A Uniform Interface for Timeseries Database Python Library.
Keywords: TSDB,MongoDB,InfluxDB,NoSQL,Sqlite3,tslite,Time Series Database

# onetsdb
A Uniform Interface for Timeseries Database Python Library. Will Support MongoDB, InfluxDB, SQLITE3 etc.

Install
===============
```
 pip install onetsdb
```

Usage
===============

```python

from onetsdb import connect, TSDBPoint

# tsdb = connect('mongodb://localhost/tsdb')
# tsdb = connect('influxdb://localhost/tsdb')
# tsdb = connect('sqlite3://localhost/tmp/tsdb.sqlite3')  # file: with/tmp/tsdb.sqlite3,
# tsdb = connect('tslite://localhost/tmp/tslite/test')  # tslite
tsdb = connect('sqlite3://localhost/file::memory:')  # with memory sqlite3

tsdb.register_table('device', {
    'tags': {   # Tags can be a filter for querying
        'devid': 'string',  # Device ID
    },
    'fields': {
        'temp': 'float',  # Temperature value
        'humi': 'float',  # humidity value
    }
})
tsdb.write_point('device', TSDBPoint(data={'devid': 'A1', 'temp': 23.5, 'humi': 45.5}))
tsdb.write_point('device', TSDBPoint(data={'devid': 'A2', 'temp': 20.2, 'humi': 35}))
tsdb.write_point('device', TSDBPoint(data={'devid': 'A1', 'temp': 24.5, 'humi': 50}))

print tsdb.query('device').filter(devid='A1').all()

```


[Click to view more information!](https://github.com/sintrb/onetsdb)


CHANGES
===============
1.0.0

- first version

1.2.0

- support mongodb, influxdb, sqlite3

1.2.4

- fix sqlite3 bug

1.3.0

- support tslite

1.3.1

- mongodb support time_group, values and aggregate oprations
cipher-yx2625 0.1.0
simple Python package to cipher textual data
Requires Python: >=3.9,<4.0

# cipher_yx2625

A basic text ciphering package

## Installation

Make sure you are downloading this package with **Python3.9 or above** 
```bash
$ pip install cipher_yx2625
```

## Usage

This package is somewhat simple. It applies caesarian ciphering method to shift text by a specified number of positions right (if the shift parameter is positive) or left (if the shift parameter is negative). 

```python:
import cipher_yx2625 from cipher_yx2625

#c all cipher function from cipher_yx2625. 
cipher_yx2625.cipher('Harry', 3) // => 'KduuB'
cipher_yx2625.cipher('H=rmione',-10) // => 'x=hcYedU'
```

## Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

## License

`cipher_yx2625` was created by Ye (Connie) Xu. It is licensed under the terms of the MIT license.

## Credits

`cipher_yx2625` was created with [`cookiecutter`](https://cookiecutter.readthedocs.io/en/latest/) and the `py-pkgs-cookiecutter` [template](https://github.com/py-pkgs/py-pkgs-cookiecutter).