semvec/pypi-packages huggingface dataset:
bna 5.1.0
Blizzard Authenticator and OTP library in Python
License: MIT
Requires Python: >=3.7,<4.0

# python-bna

## Requirements

- Python 3.6+


## Command-line usage

bna is a command line interface to the python-bna library. It can store
and manage multiple authenticators, as well as create new ones.


Remember: Using an authenticator on the same device as the one you log in with
is less secure than keeping the devices separate. Use this at your own risk.

Configuration is stored in `~/.config/bna/bna.conf`. You can pass a
different config path with `bna --config=~/.bna.conf` for example.


### Creating a new authenticator

    $ bna new

If you do not already have an authenticator, it will be set as default.
You can pass `--set-default` otherwise.


### Getting an authentication token

    $ bna
    01234567
    $ bna EU-1234-1234-1234
    76543210


### Getting an authenticator's restore code

    $ bna show-restore-code
    Z45Q9CVXRR
    $ bna restore EU-1234-1234-1234 ABCDE98765
    Restored EU-1234-1234-1234


### Getting an OTPAuth URL

To display the OTPAuth URL (used for setup QR Codes):

    $ bna show-url
    otpauth://totp/Blizzard:EU123412341234:?secret=ASFAS75ASDF75889G9AD7S69AS7697AS&issuer=Blizzard&digits=8

Now paste this to your OTP app, or convert to QRCode and scan, or
manually enter the secret.

This is compatible with standard TOTP clients and password managers such as:
- [andOTP](https://play.google.com/store/apps/details?id=org.shadowice.flocke.andotp) (Android),
- [KeepassXC](https://keepassxc.org/) (Cross-platform)
- [1Password](https://1password.com/) (Cross-platform)


#### Getting a QR code

To encode to a QRCode on your local system install \'qrencode\'

For a PNG file saved to disk :

    $ bna show-url | qrencode -o ~/BNA-qrcode.png
    # Scan QRCode
    $ rm ~/BNA-qrcode.png

Or to attempt ot display QRCode in terminal as text output :

    $ bna --otpauth-url | qrencode -t ANSI


## Python library usage

### Requesting a new authenticator

```py
import bna
try:
    # region is EU or US
    # note that EU authenticators are valid in the US, and vice versa
    serial, secret = bna.request_new_serial("US")
except bna.HTTPError as e:
    print("Could not connect:", e)
```

### Getting a token

```py
    # Get and print a token using PyOTP
    from pyotp import TOTP
    totp = TOTP(secret, digits=8)
    print(totp.now())
```
lastfmapi-py 1.0.0
Get charts, top artists and top songs WITHOUT LastFM API
License: MIT
Requires Python: >=3.6

# LastFM
Get charts, top artists and top songs WITHOUT LastFM API

# Usage

## Get stats (charts)
We provide many filters and options to customize. Geo filter is only one, that doesn't have a specific enum (class).
```py
from lastfm import *

print(get_charts(SearchType.artists))
print(get_charts(SearchType.tracks,
                 geo_filter="si",
                 music_type_filter=MusicTypeFilter.electronic,
                 limit=1,
                 year_filter=YearFilter.t2010s))
```

## Search
We also provide searching.
```py
from lastfm import *

print(search("Glass Animals", search_type=SearchType.all))
```
aiy-prayer 1.0.1
AIY optimized Python command line tool that tells when the next Islamic prayer will occur.
License: MIT

# Google-AIY-prayer_assistant
AIY optimized voice assistant Python library that tells when the next Islamic prayer will occur.\
This application is based on the open-source [prayer-tool](https://github.com/Nabil-Lahssini/prayer_assistant) library.

## How to get it ?
The aiy prayer assistant is a python package available via pip.
```
pip install aiy_prayer
```
## How to use it ?
To use the tool you must simply type this command. When it's done, the assistant will wait for you to push the button. That's it !
```
python -m aiy_prayer -c <city> -l <language> -v <volume>
```
Example
```
python -m aiy_prayer -c Brussels -l fr -v 60
```
pyGinit 0.3.1
a simple cli tools for automation git repository creation
License: MIT
Requires Python: >=3.7
Keywords: automation,tools,cli,git,github,development

![GitHub](https://img.shields.io/github/license/AlphaBeta1906/pyGinit?style=flat-square)
# pyGinit

pyGinit is a command line tools that help you to initialize your current project a local git repo and remote repo

## Requirements
Requirements before install pyGinit:
1. a github account and it's personal access token
2. git 1.70 or newer
3. python >= 3.7

## Installation
using pip :
```bash
pip install pyGinit
```
from this repository(may not stable) :
```bash
git clone  https://github.com/AlphaBeta1906/pyGinit.git
cd pyGinit
pip install --editable . # install it globally so you can use it everywhere
```

## Usage

### Authentication :
You need to add token and username of your github account using :

```bash
pyginit set-auth <YOUR_GITHUB_TOKEN> <YOUR_GITHUB_USERNAME>
```
use the same command to change your auth value

if you dont know how to get your github token, you can see [this](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token)

all your token are save in `.pyGinitconfig.ini` at home path, so you will be secure

### repository initalization : 

go to your project directory where you want to create local and remote repository for it. and then type :
```bash
pyginit init
```
all you need is to fill out inquirer by `pyInquirer` and let `pyGinit` do the rest, from creating local repository,remote github repository, and push your directory to github   

**_Note: make sure the directory is not a local git repository_**

### create empty github repository
open your terminal and following command:  
```bash
pyginit remote
```

inquirer will appear and then pyGinit will crate a empty github repository 



## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.


## License
[MIT](https://github.com/AlphaBeta1906/pyGinit/blob/master/LICENSE)

## Development status :
[v0.2.1](https://github.com/AlphaBeta1906/pyGinit/releases/tag/v0.2.1)  
[v0.2.0](https://github.com/AlphaBeta1906/pyGinit/releases/tag/v0.2.0)  
[v0.1.9](https://github.com/AlphaBeta1906/pyGinit/releases/tag/v0.1.9)  
[v0.1.7](https://github.com/AlphaBeta1906/pyGinit/releases/tag/V0.1.7)  
[v0.1.6-beta](https://github.com/AlphaBeta1906/pyGinit/releases/tag/v0.1.6-beta)    
[v0.1.5-beta](https://github.com/AlphaBeta1906/pyGinit/releases/tag/v0.1.5-beta)   
[v0.1.3-alpha](https://github.com/AlphaBeta1906/pyGinit/releases/tag/v0.1.3-alpha)
minos-discovery 0.1.1
Minos Discovery service for Microservices subscription.
License: MIT
Requires Python: >=3.9,<4.0
Keywords: clariteia,minos,api gateway,discovery

# Discovery

[![codecov](https://codecov.io/gh/Clariteia/discovery/branch/main/graph/badge.svg)](https://codecov.io/gh/Clariteia/discovery)
![Tests](https://github.com/Clariteia/discovery/actions/workflows/python-tests.yml/badge.svg)

Minos is a framework which helps you create [reactive](https://www.reactivemanifesto.org/) microservices in Python.
Internally, it leverages Event Sourcing, CQRS and a message driven architecture to fulfil the commitments of an
asynchronous environment.

## Documentation

The official documentation as well as the API you can find it under https://clariteia.github.io/discovery/. 
Please, submit any issue regarding documentation as well!

## Set up a development environment

Minos uses `poetry` as its default package manager. Please refer to the
[Poetry installation guide](https://python-poetry.org/docs/#installation) for instructions on how to install it.

Now you con install all the dependencies by running
```bash
make install
```

In order to make the pre-commits checks available to git, run
```bash
pre-commit install
```

Make yourself sure you are able to run the tests. Refer to the appropriate section in this guide.

## Run the tests

In order to run the tests, please make sure you have the [Docker Engine](https://docs.docker.com/engine/install/)
and [Docker Compose](https://docs.docker.com/compose/install/) installed.

Move into `tests/` directory

```bash
cd tests/
```
Run service dependencies:

```bash
docker-compose up -d
```

Install library dependencies:

```bash
make install
```

Run tests:

```bash
make test
```

## How to contribute

Minos being an open-source project, we are looking forward to having your contributions. No matter whether it is a pull
request with new features, or the creation of an issue related to a bug you have found.

Please consider these guidelines before you submit any modification.

### Create an issue

1. If you happen to find a bug, please file a new issue filling the 'Bug report' template.
2. Set the appropriate labels, so we can categorise it easily.
3. Wait for any core developer's feedback on it.

### Submit a Pull Request

1. Create an issue following the previous steps.
2. Fork the project.
3. Push your changes to a local branch.
4. Run the tests!
5. Submit a pull request from your fork's branch.

## Credits

This package was created with ![Cookiecutter](https://github.com/audreyr/cookiecutter) and the ![Minos Package](https://github.com/Clariteia/minos-pypackage) project template.
AdCalc 0.0.5
AdCalc (Advanced calculator), A python module has some ready functions to use in math.
License: MIT
Keywords: calculator

AdCalc
by: AliFGT

ACalc (Advanced calculator), A python module has some ready functions to use in math example: fractions, get cube, etc....

GitHub: https://github.com/AliFGT-ai/AdCalc/

Change Log

Version 0.0.4 (10/2/2022) = First Release

Version 0.0.5 = Fix some errors
move-jismeshcode 0.0.5
return new JIS meshcode that moves (x, y)
License: MIT
Keywords: meshcode,jis

move_jismeshcode
================

与えられた地域メッシュコードを(x, y)動かした時のメッシュコードを返す

install
=======

::

   pip install move_jismeshcode

Usage
=====

::

   import move_jismeshcode as mj

   # 与えれたメッシュコードを (5, 3) 動かした時のメッシュコードを返す
   newmeshcode = mj.move(5438234312, 5, 3)
   print(newmeshcode)
   5438235342

   # メッシュコード(5438235342) - メッシュコード(5438234312) の座標を返す
   x, y = mj.sub(5438235342, 5438234312)
   print(x, y)
   5, 3

Todo
====

-  ☐ 定義外のメッシュコードのときに例外を返す

Reference
=========

-  `第１章
   地域メッシュ統計の特質・沿革 <http://www.stat.go.jp/data/mesh/pdf/gaiyo1.pdf>`__