semvec/pypi-packages huggingface dataset:
barviz 1.2.2
A simple python module to visualize barycentric data.
Requires Python: >=3.6

# BarViz

A simple python module to visualize barycentric data.

## 1/ About

**barviz** is a minimalist python module, built on top of **plotly**, allowing to display data in a barycentric space. 

## 1/ Installation

To install barviz :
```
pip install --upgrade barviz
```
Ideally, barviz is designed to be used from a **Jupyter lab** notebook.\
 To create a complete virtual environment :
```
python -m venv barviz-env
source barviz-env/bin/activate
pip install --upgrade barviz jupyterlab
jupyter lab
```

## 2/ Using it

For the impatients :
```
from barviz import Simplex

my_simplex = Simplex.build(5)
my_simlex.plot()
```

## 3/ Documentation 

**User manual** is available in **[html format](https://pjluc.gricad-pages.univ-grenoble-alpes.fr/barviz-mod/user-manual.html)** and as a [Jupyter lab notebook](https://gricad-gitlab.univ-grenoble-alpes.fr/pjluc/barviz-mod/-/raw/main/docs/user-manual.ipynb?inline=false). 

Reference API : In progres... - Hum, it will be necessary to wait a little more ;-)
shortauthstrings 0.1.8
A simple implementation of short authentication strings

# Short authentication strings for Python

This package implements rendering of short authenticated strings, which you
can use in your application after an unauthenticated exchange such as a
Diffie-Hellman process.

The usual way in which this works is, both sides of the exchange display
(hopefully) the same sequence based on the shared key (or a derivative of it),
indicating that the shared key is, in fact, shared and has not been tampered
with by an active man in the middle.

Here is a sample from a Python REPL:

```
>>> from shortauthstrings import emoji
>>> print(emoji(bytes([4,88,75,34,99,124])))
🍋 🍧 🍝 🌰 🍮 🦝
>>>
```

A ready-to-go module to perform Diffie-Hellman key agreement can be found in
the [blindecdh repository](https://github.com/Rudd-O/blindecdh).

See [module](https://github.com/Rudd-O/shortauthstrings/blob/master/src/shortauthstrings/__init__.py) for more documentation.

This package is distributed under the GNU Lesser General Public License v2.1.
For relicensing, contact the package author.
snakegamebymats 0.0.4
Einfaches Snake Spiel
Requires Python: >=3.6

# Schlangen
Das Projekt ist eine simple interrpretertion des Schlangen Spiels.
Wenn der Spieler sich nach voren bewegt hinterlässt die Schlange eine Spur,
welcher einer Schlange ähnlich ist. Man verliert wenn man mit sich selbst
oder mit einer Wand kollidiert.

Wenn man das Programm laufen lässte wird man als erstes mit einem Popupfentster 
konfrontiert, in welchem man seinen Namen definiert. Wenn man dies getan hat 
beginnt das Spiel mit einem Countdown.

Die Steuerung ist mit den Bewegungskeys:
- "up"
- "down"
- "left"
- "right"

Ich habe Pygame und Tkinter benutzt

pypi Link: https://pypi.org/project/snakegamebymats/0.0.3/
phacts 1.8
A program to predict the lifestyle (virulent/lytic or temperate/lysogenic) of a phage genome
Requires Python: >3.5.2

# PHACTS

A simple program to classify the lifestyle of phages.

Introduction
------------
Phage Classification Tool Set (PHACTS) utilizes a novel similarity algorithm and
a supervised Random Forest classifier to make a prediction whether the lifestyle
of a phage, described by its proteome, is virulent or temperate. The similarity 
algorithm creates a training set from phages with known lifestyles and along with
the lifestyle annotation, trains a Random Forest to classify the lifestyle of a
phage. PHACTS predictions are shown to have a 99% precision rate. 

To install `PHACTS`,
```
pip install phacts
```

or

```sh
 git clone https://github.com/deprekate/PHACTS.git
 pip install PHACTS/ --user
```

This is the new python based recoding of my original perl code, and is in an alpha state for now.
* I have included fasta35 binaries for Linux and OSX, that should install automatically.  For 
Windows, you will need to download a windows fasta35 binary, and make it visible on the PATH

I have tried to replicate exactly the functionality of the original published version.  

PHACTS Example
--------------

Run on included sample data, the output is the predicted lifestyle and the class probabilities:
```sh
$ phacts.py tests/NC_001416.faa 
Class       probability  standard deviation
Temperate   0.626273726  0.101584648
```
nice-parser 0.0.2
Identifique e gere querys para normalização de JSONs via AWS Athena
Requires Python: >=3.7

# Nice

Ferramenta para facilitar a normalização de JSON's via Amazon Athena

![Python Version](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-blue)

## Getting Started

Nice é uma aplicação que tem como finalidade a identificação de possíveis tabelas em um JSON, gerando querys para sua `normalização` via Amazon Athena.

## Installation

Instalar o pacote via PyPI:

    pip install nice_parser

## Usage

### Gerar Query

I. Importar Módulos

    from nice import MappingJson

II. Criar Query a partir de JSON, passando como parâmetro a `origem` de seu dado, o nome do `database` e da `tabela`

    parser = MappingJson('path/sample.json', databaseName='database', tableName='table')
    database = parser.parse()
    query = database.createQuery()
    query.Save('output.sql', database)

Um `JSON` com os seguintes valores:

```JSON

{
   "shipping_address":{
      "province_code":"TX",
      "latitude":-87.561414
   },
   "buyer_accepts_marketing":true,
   "token":"a4b8c15d16e42",
   "total_weight":0,
   "line_items":[
      {
         "destination_location_id":4815162342,
         "requires_shipping":true,
         "variant_title":"rb_nice"
      }
   ]
}

```

Será convertido e disponibilizado em um arquivo `.sql`, como no exemplo abaixo:

```SQL

/* ---------------------------------------------*
 * Descrição: Tabela Principal - tableName      *
 * ---------------------------------------------*/

 SELECT
  CAST("json_extract"(table, '$.shipping_address.province_code') AS VARCHAR) "shipping_address_province_code",
  CAST("json_extract"(table, '$.shipping_address.latitude') AS DECIMAL) "shipping_address_latitude",
  CAST("json_extract"(table, '$.buyer_accepts_marketing') AS BOOLEAN) "buyer_accepts_marketing",
  CAST("json_extract"(table, '$.token') AS VARCHAR) "token",
  CAST("json_extract"(table, '$.total_weight') AS BIGINT) "total_weight"
 FROM database.table

/* ---------------------------------------------*
 * Descrição: Tabela Secundária - tableName     *
 * ---------------------------------------------*/

 SELECT
  CAST("json_extract"("line_items", '$.destination_location_id') AS BIGINT) "destination_location_id",
  CAST("json_extract"("line_items", '$.requires_shipping') AS BOOLEAN) "requires_shipping",
  CAST("json_extract"("line_items", '$.variant_title') AS VARCHAR) "variant_title",
 FROM
  (database.table
 CROSS JOIN UNNEST(CAST("json_extract"(table, '$.line_items') AS array(json))) t (line_items))

...

```

## Getting Help

Para bug report, perguntas ou solicitações, devem ser utilizadas as [*Issues*](https://bitbucket.org/product/guides/basics/bitbucket-interface#issues) do Bitbucket.

## Contributing

Leia o documento `CONTRIBUTING.md` antes de enviar qualquer Issue ou Pull Request, garantindo assim, que tenhamos todas as informações necessárias para responder efetivamente à sua contribuição.
awscli-plugin-bolt 2.0.4
Bolt plugin for AWS CLI
Requires Python: >=3

# awscli-plugin-bolt

This AWS CLI plugin provides an authentication and authorization solution for accessing Bolt securely using the AWS CLI.

It uses the standard AWS CLI configuration to store the URL for accessing Bolt. Active profiles disable regular S3 request signing, and instead provide a presigned STS `GetCallerIdentity` API call to securely authenticate requests using Bolt.

## Prerequisites

The minimum supported version of Python is version 3.

`awscli` must be installed. e.g. `pip3 install awscli --user`

## Installation

To install the plugin package, run: `pip3 install awscli-plugin-bolt --user`.

## Configuration

To configure the plugin after it has been installed, use `aws configure`:

```bash
aws configure set plugins.bolt awscli-plugin-bolt
aws [--profile PROFILE] configure set bolt_custom_domain <bolt custom domain>
aws [--profile PROFILE] configure set bolt_az <preferred availability zone ID>
```
`bolt_custom_domain`

For example, to activate a Bolt service using an internal load balancer hosted at `https://bolt.us-east-1.project.n` for the `staging` AWS profile, run:
```bash
aws --profile staging configure set bolt_custom_domain project.n
aws --profile staging configure set bolt_az use1-az1
```

Alternatively, the bolt_url and bolt_hostname can be set explicitly
```bash
aws --profile staging configure set bolt_hostname bolt.us-east-1.project.n
aws --profile staging configure set bolt_url https://quicksilver.us-east-1.project.n
aws --profile staging configure set bolt_az use1-az1
```

## AWS CLI v2

This plugin has been tested for compatibility with [AWS CLI version 2](https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html), but please take note of the [[plugins] configuration breaking changes](https://docs.aws.amazon.com/cli/latest/userguide/cliv2-migration.html#cliv2-migration-profile-plugins). In particular, you will need to add a block like:

```
[plugins]
cli_legacy_plugin_path = /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
```

in your `~/.aws/config` file for the plugin registration to succeed.

To find the correct location for `cli_legacy_plugin_path` after installing the plugin, run:

```bash
pip3 show awscli-plugin-bolt | grep Location:
```