semvec/pypi-packages huggingface dataset:
smart-status-bar 1.0.3
A smart status bar for loops.
Requires Python: >=3.6

# Description

It provides a smart status bar for loops. It can be used to display the progress of a long running operation

# Install

	pip3 install smart-status-bar 

# Usage
	loop:
	    """ Statements """
	    smart_status_bar.status_bar(index, total, message)

	where
	    index : current iteration of our loop
	    total : total number of iteration of out loop
	    message : Unique message for each iteration

# Example
<pre><code>
import smart_status_bar 
import time

ITERATIONS = 50
for i in range(ITERATIONS):
	smart_status_bar.status_bar(i, ITERATIONS, f"This is iteration {i}")
	time.sleep(0.2)
</code></pre>

![Alt text](https://github.com/Shreyansh7499/smart-status-bar/blob/main/Screenshots/Screenshot_1.png?raw=true "Example 1")
<br>
![Alt text](https://github.com/Shreyansh7499/smart-status-bar/blob/main/Screenshots/Screenshot_2.png?raw=true "Example 1")
robot-poete 0.1.0
Le robot poète
Requires Python: >=3.6

robot_poete - Le Robot Poète
========================================================

Ce module permet de programmer le Robot Poète.

	'    ____        __          __     ____        __   __      '
	'   / __ \____  / /_  ____  / /_   / __ \____  _\_\ / /____  '
	'  / /_/ / __ \/ __ \/ __ \/ __/  / /_/ / __ \/ _ \/ __/ _ \ '
	' / _, _/ /_/ / /_/ / /_/ / /_   / ____/ /_/ /  __/ /_/  __/ '
	'/_/ |_|\____/_.___/\____/\__/  /_/    \____/\___/\__/\___/  '
	'                                                            '



Vous pouvez l'installer avec pip:

    pip install robot_poete


Exemple d'usage:

	# importation et initialisation de la biblioteque
	from robot_poete import RP
	rp = RP()

	# chemin du dossier de rimes
	pathDossier1 = rp.pathSongFolder(rp.path, 'dossier', 'sous_dossier')

	# liste des pistes audio
	liste1 = rp.listSong(pathDossier1)

	# choix aléatoire d'une piste
	song = rp.random(liste1)

	# suppression de la piste dans la liste
	rp.remove(liste1, song)

	# lecture de la piste
	rp.playSong(pathDossier1, song)

Ce code est sous licence MIT.

Copyright (c) 2020 Yoann VARENNE

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
kunsplash 0.0.2
kunsplash
Requires Python: >=3.5

# kunsplash
![python_version](https://img.shields.io/static/v1?label=Python&message=3.5%20|%203.6%20|%203.7&color=blue) [![PyPI downloads/month](https://img.shields.io/pypi/dm/kunsplash?logo=pypi&logoColor=white)](https://pypi.python.org/pypi/kunsplash)

## Description


## Install
~~~~bash
pip install kunsplash
# or
pip3 install kunsplash
~~~~
djangoDeployGitHook 0.8
A Django app to conduct automatic deploy and updade django instance.

===================
DjangoDeployGitHook
===================

djangoDeployGitHook is a Django app to automatically update django instance from a git
hook signal.


Quick start
-----------

1. Add "djangoDeployGitHook" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [
        ...
        'djangoDeployGitHook',
    ]

2. Include the polls URLconf in your project urls.py like this::

    path('deploy/', include('djangoDeployGitHook.urls')),

3. Visit http://127.0.0.1:8000/deploy/test_update too see 'Hello, From DjangoDeployGitHook!'.
aws-nsm-interface 1.0.0
Native Python interface for the AWS Nitro Secure Module (NSM)
Requires Python: >=3.6

# AWS Nitro Secure Module (NSM) interface in native Python 
This library offers a native Python interface to the `/dev/nsm` device in AWS Nitro Enclaves.

## Installation
To install `aws_nsm_interface`, run:

```
pip install aws_nsm_interface
```

### Requirements
* To install: python>=3.6
* To run: a Python application running in an AWS Nitro Enclave

## Quickstart
```python
import aws_nsm_interface

file_desc = aws_nsm_interface.open_nsm_device()

rand_bytes = aws_nsm_interface.get_random(file_desc, 12) # Get 12 random bytes from /dev/nsm
print(rand_bytes)

public_rsa_key = b'1234' # An RSA public key exported as DER

attestation_doc = aws_nsm_interface.get_attestation_doc(
    file_desc,
    public_key=public_rsa_key
)['document']

attestation_doc_b64 = base64.b64encode(attestation_doc).decode('utf-8')

aws_nsm_interface.close_nsm_device(file_desc)

# Use `attestation_doc_b64` in your AWS KMS Decrypt call
```

## Public methods
The Python AWS NSM interface provides the following functions:

```python
# open_nsm_device() returns a file object for /dev/nsm
open_nsm_device() -> typing.TextIO
# close_nsm_device() closes the file object
close_nsm_device(file_handle: typing.TextIO) -> None


# All of the functions below raise an IoctlError in case of an exception.

# Generate up to 256 random bytes with /dev/nsm. Returns the raw bytes.
get_random(file_handle: typing.TextIO, length: int = 32) -> bytes
# Example output: b'se\xb7\x05O<:\x07W\x8cfn'

# Return an attestation doc generated by /dev/nsm. `user_data`, `nonce` and
# `public_key` are all binary (bytes) and optional.
get_attestation_doc(
    file_handle: typing.TextIO,
    user_data: bytes = None,
    nonce: bytes = None,
    public_key: bytes = None
) -> dict
# Example output: {'document': b'\x84D\xa1\x018"\xa0Y ... 
# \xeb|\x1b\xf6\xb6\x95\xb4\x9c[+x\x8b'}


# Describe the NSM and known PCRs.
describe_nsm(file_handle: typing.TextIO) -> dict
# Example output: {'version_major': 1, 'version_minor': 0, 'version_patch': 0,
# 'module_id': 'i-00c89f181802cdef4-enc0175cd0dcee36866', 'max_pcrs': 32,
# 'locked_pcrs': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
# 'digest': 'SHA384'}

# Extend a PCR at the given index. Raises an IoctlError if the PCR is locked.
# Returns the new data for the PCR.
extend_pcr(file_handle: typing.TextIO, index: int, data: bytes) -> dict
# Example output: {'data': b'\x9c\t\x15Rk\xb6(R~+mi\xabs ...
# \xf6j\xf8\xbf\xa3*A\x19\xc0\x0cr\x15\xdf\x1b'}

# Returns a dictionary with the lock status and PCR data for the PCR at the 
# given index (index 0 returns PCR0, and so on).
describe_pcr(file_handle: typing.TextIO, index: int) -> dict
# Example output: {'lock': False, 'data': b'\x9c\t\x15Rk\xb6(R~ ...
# \x15\xdf\x1b'}

# lock_pcr() locks the PCR at the given index.
lock_pcr(file_handle: typing.TextIO, index: int) -> bool

# lock_pcrs() locks the PCRs from 0 up to the given lock_range.
# For example: a range of 5 will lock PCRs [0, 1, 2, 3, 4] - a range
# of 5 starting at 0.
lock_pcrs(file_handle: typing.TextIO, lock_range: int) -> bool
```