semvec/pypi-packages huggingface dataset:
CSV-mAP-calculator 0.1.2
Calculate mAP for CSV format detection result
License: MIT

Function to calculate mean average precision (mAP) in CSV format for post detection prediction calculation.

# Requirements

python 3.*, numpy, pandas, cython(optinal), pyximport(optional)

# Installation

```
pip install CSV-mAP-calculator
pip install CSV-mAP-calculator -i https://pypi.python.org/simple
```

## Usage example:

Path to CSV-files:

```python
from CSV_mAP_calculator import get_csv_mAP

gt_file = 'csvs/gt.csv'
predict_file = 'csvs/predictions.csv'
mean_ap, average_precisions = get_csv_mAP(gt_file, predict_file, iou_threshold=0.5)
```

Or numpy arrays of shapes **(N, 6)** and **(M, 7)**. 

```python
from CSV_mAP_calculator import get_csv_mAP
import pandas as pd

gt = pd.read_csv('csvs/gt.csv', header=None, names=['img_path', 'x1', 'y1', 'x2', 'y2','conf', 'label']).values
pred = pd.read_csv('csvs/predictions.csv', header=None, names=['img_path', 'x1', 'y1', 'x2', 'y2', 'label']).values
mean_ap, average_precisions = get_csv_mAP(gt, pred)
```


## Input files format


* Annotation CSV-file:

```csv
'img_path','x1','y1','x2','y2','label'
path/imgname1.jpg,0,0,511,511,cat1
path/imgname2.jpg,122,247,666,799,cat2
...
```

* Detection CSV-file:

```csv
'img_path','x1','y1','x2','y2','conf','label'
path/imgname1.jpg,0,0,511,511,0.8958333,cat1
path/imgname1.jpg,121,32,511,242.5,0.9998,cat2
path/imgname2.jpg,0,0,511,511,0.8958333,cat3
...
```

* Return should be like:

```python
Number of files in annotations: 7283
Number of files in predictions: 7282
Unique classes: 3
Detections length: 7282
Annotations length: 7283
cat1                 | 0.917434 |    2445
cat2                 | 0.861768 |    2400
cat3                 | 0.930730 |    2438
mAP: 0.903311
0.903310916116078
```
py-auxo-bee 0.1.9
Bee is an all-in-one python framework for simplifying micro service program development.
License: MIT
Requires Python: >=3.6.0

#Bee

**bee** is an all-in-one python framework for simplifying micro service program development.

## Components

* **Config** - Manage configuration for yml, yaml & json
* **RPC** - Lightweight and high performace
    * Serializable
        * ProtoBuf
        * json
        * http to be continued
    * Service Discovery - Automatic registration and name resolution with service discovery
        * etcd3
        * consul
    * Load Balancing - Smart client side load balancing of services built on discovery
        * RandomBalancer
        * RoundRobbinBalancer

* **Web** - Web server with a variety of advanced features, to be continued
* **Database**
    * Psd - A lightweight, fluent SQL data access and ORM library
    * MongoDB - A useful wrapper for [mongo](https://pypi.org/project/pymongo)
    * Redis - A useful wrapper for [redis](https://pypi.org/project/redis),[redis-py-cluster](https://pypi.org/project/redis-py-cluster)
* **Utility** - Some useful utility packages..
    * debug
    * i18n
    * guid
    * const
    * map
    * objectpool
flight-status 1.0.1
PIP package to get status of flight pnr status and other details [Indian Airlines]
License: MIT
Requires Python: >=2.7.0
Keywords: Flight,PNR,Pnr status,India,Airlines

# flight-status
PIP package to get status of flight pnr status and other details [Supports multiple Indian Airlines]

## Architecture
!["architecture"](/docs/images/architecture.png)

# How to Install
To install this pip package run the following command.

`pip install flight-status`

# Supported Airlines
- Indigo
- Spice Jet
- AirAsia


## Prerequisites
- Chrome webdriver is required for the package to work.
- webdriver execuatable is passed as parameter to the package.
- Download chrome webdriver supported for your installed chrome version. 

Download Link: https://chromedriver.chromium.org/downloads

## Usage
- Create an object of class `Airlines` with particular aviation company.

params:
- aviation : Aviation company name
- config : webdriver config

Example:

``driver_config = {"webdriver": "chrome", "executable": "/path/to/executable"}``

``aviation = Airlines(aviation="indigo", config=driver_config)``

- Use available functions to get respective details.

### Get PNR status:

- define a `config` dict with the required parameters

| Airline  | Config  |
| ------------ | ------------ |
|  indigo  | `{ "booking_reference": "XXX",    "email_lastname": "XXX"}` |
|  spice_jet  |  `{ "booking_reference": "XXX",    "email_lastname": "XXX"}` |
|  air_asia  |  `{ "booking_reference": "XXX",    "email_lastname": "XXX",  "departure_city": "XXX"}` |


`` aviation.get_pnr_status(parameters=config)``
pymemdb 1.4.3
A very fast in-memory database with export to sqlite written purely in python
License: MIT
Requires Python: >=3.6

# pymemdb
[![CircleCI](https://circleci.com/gh/luerhard/pymemdb.svg?style=svg)](https://circleci.com/gh/luerhard/pymemdb) [![codecov](https://codecov.io/gh/luerhard/pymemdb/branch/master/graph/badge.svg)](https://codecov.io/gh/luerhard/pymemdb)

will soon be available with 
```
pip install pymemdb
```

# Description
Very simple RDMBS that is supposed to serve as a drop-in replacement for a conventional DB during build-up. It is very fast, completely written in python und relies heavily on dictionaries. It features a `to_sqlite` export method - more DBs will follow.

# Usage

## Insert into a table

```
from pymemdb import Table

table = Table()
row1 = dict(firstname="John", lastname="Smith")
row2 = dict(firstname="Jane", lastname="Smith")
row3 = dict(firstname="John", lastname="Doe")

for row in [row1, row2, row3]:
    table.insert(row)
```
## iterate over the entire table
```
print(list(table.all()))

[{'id': 0, 'firstname': 'John', 'lastname': 'Smith'},
 {'id': 1, 'firstname': 'Jane', 'lastname': 'Smith'},
 {'id': 2, 'firstname': 'John', 'lastname': 'Doe'}]
```
## update rows
```
table.update(where={"firstname": "Jane"}, firstname="Joanne")
print(list(table.all()))

[{'id': 0, 'firstname': 'John', 'lastname': 'Smith'},
 {'id': 1, 'firstname': 'Joanne', 'lastname': 'Smith'},
 {'id': 2, 'firstname': 'John', 'lastname': 'Doe'}]
```
## search for rows
```
print(list(table.find(firstname="John")))

[{'id': 0, 'firstname': 'John', 'lastname': 'Smith'},
{'id': 2, 'firstname': 'John', 'lastname': 'Doe'}]
```

## search for values in iterable
```
print(list(table.find(firstname=["John", "Joanne"])))

[{'id': 0, 'firstname': 'John', 'lastname': 'Smith'},
{'id': 1, 'firstname': 'Joanne', 'lastname': 'Smith'},
{'id': 2, 'firstname': 'John', 'lastname': 'Doe'}]

```
## delete rows
```
table.delete(firstname="John", lastname="Smith")
print(list(table.all()))

[{'id': 1, 'firstname': 'Joanne', 'lastname': 'Smith'},
 {'id': 2, 'firstname': 'John', 'lastname': 'Doe'}]
```
gvapi 0.8
Неофициальная обертка для API godville.net.
License: MIT

gvapi
=====

|python|
|coverage|
|version|
|requirements|
|doc|
|pypgk|

Неофициальная обертка для API игры `Годвилль <https://godville.net>`_, реализованная на Python.
`Документация <https://gvapi.readthedocs.io/ru/stable/>`_.

Установка
---------

Данный пакет доступен для установки из PyPi через ``pip``.

.. code-block:: bash

   python3 -m pip install gvapi


Пример использования
--------------------

Базовый вариант использования будет выглядеть следующим образом.

.. code-block:: python3

   from gvapi import Hero

   hero = Hero('God Name')
   hero_with_token = Hero('God Name', token='aiowdjwaoijd')

Описание атрибутов героя можно найти в документации.


.. |pypgk| image:: https://github.com/TitaniumHocker/gvapi/workflows/Python%20package/badge.svg?branch=master

.. |coverage| image:: https://raw.githubusercontent.com/TitaniumHocker/gvapi/master/media/coverage.svg

.. |python| image:: https://img.shields.io/badge/python-3.5%20|%203.6%20|%203.7%20|%203.8-blue?style=flat

.. |requirements| image:: https://img.shields.io/badge/requirements-requests%20%26%20click-blue?style=flat

.. |doc| image:: https://readthedocs.org/projects/gvapi/badge/?version=stable
   :target: https://gvapi.readthedocs.io/ru/latest/?badge=stable
   :alt: Documentation Status

.. |version| image:: https://badge.fury.io/py/gvapi.svg
   :target: https://badge.fury.io/py/gvapi
   :alt: Latest Version