semvec/pypi-packages huggingface dataset:
transcendental 0.5.5
Minimal IA for image recognition

# Transcendental (π)

Artificial Intelligence image recognition.

Learn from input data and generate model, predict from previous generated model

## Disclaimer

This is testing project purpose so it's currently in development and features
are minimal don't juge me :)

## Features

- Recognize cats
- Recognize dogs

## Install

```shell
$ pip install transcendental
```

## Usage

### trans-predict

This command allow you to recognize an image passed in argument.

Predict take exactly one argument who is the image to predict
```shell
$ trans-predict --help 
usage: trans-predict [-h] image

Recognize cat and dogs

positional arguments:
  image       an image to analyze

  optional arguments:
    -h, --help  show this help message and exit

$ trans-predict ./image.png
```

### trans-train

This command allow you to train your IA.

This command generate models automaticaly used by predict at launch

Currently in development!

### Requires

- python 2.7+
- keras
- tensorflow
- Pillow
- h5py

## Resources
- https://becominghuman.ai/building-an-image-classifier-using-deep-learning-in-python-totally-from-a-beginners-perspective-be8dbaf22dd8
- https://drive.google.com/drive/folders/1XaFM8BJFligrqeQdE-_5Id0V_SubJAZe
- https://machinelearningmastery.com/save-load-keras-deep-learning-models/
- https://www.quora.com/How-do-artificial-neural-networks-work
- http://torch.ch/blog/2015/11/13/gan.html
BitcoinValueGraph 0.7
Bitcoin value

Bitcoin Value
-------------

Bitcoin Value is a simple script that fetches data about value
of Bitcoin for the past month and presents it in a graph as a
SVG file that can be opened in your default browser.

You can get it by downloading it directly or by typing:

    $ pip install BitcoinValueGraph

After it is installed you can start it by simply typing in your terminal:

    $ bitcoin
redlock-dist 1.0.1
Distributed locks with Redis

### redlock-dist
Implementation of distributed locking with [Redis](https://redis.io)

[Distributed locks with Redis](https://redis.io/topics/distlock)

### Usage
Install:

```
pip install redlock-dist
```

example:

```

from redis import StrictRedis
from redlock_dist import RedLock

rds = StrictRedis(host='localhost', port=6379, db=0)

"""
:param expire: lock key ttl(ms)
:param retry_times: retry times to get lock
:param retry_interval: retry interval(ms)
"""
with RedLock(rds, 'key-name', expires=30000, retry_times=3, retry_interval=50) as red_lock:

    if red_lock:
        print('get lock')
    else:
        print('do not get lock')
```

### Principle and notes
Because Redis is single-threaded and you can use `SET key value NX PX expires`
adb 1.3.0
A pure python implementation of the Android ADB and Fastboot protocols
Keywords: android,adb,fastboot

This repository contains a pure-python implementation of the Android
ADB and Fastboot protocols, using libusb1 for USB communications.

This is a complete replacement and rearchitecture of the Android
project's ADB and fastboot code available at
https://github.com/android/platform_system_core/tree/master/adb

This code is mainly targeted to users that need to communicate with
Android devices in an automated fashion, such as in automated
testing. It does not have a daemon between the client and the device,
and therefore does not support multiple simultaneous commands to the
same device. It does support any number of devices and never
communicates with a device that it wasn't intended to, unlike the
Android project's ADB.