semvec/pypi-packages huggingface dataset:
geolibs-cartoasync 0.0.4
GeoLibs CARTOasync
License: MIT
Requires Python: >=3.7,<4.0

# GeoLibs-CARTOasync
Asynchronous Python client for CARTO.

## Features

- [x] SQL API
- [ ] Batch API
- [ ] COPY queries
- [ ] Import API
- [ ] Read and write Panda's DataFrames
- [ ] Maps API?
- [ ] Tests


## Installation

```bash
pip install cartoasync
```

## Usage

### SQL API example

```python
from cartoasync import Auth, SQLClient

auth = Auth(username='username', api_key='api_key')
sql_client = SQLClient(auth)
result = await sql_client.send('SELECT 1 AS one;')

print(result)
>>> {
>>>   "rows": [
>>>     {
>>>       "one": 1
>>>     }
>>>   ],
>>>   "time": 0.002,
>>>   "fields": {
>>>     "one": {
>>>       "type": "number"
>>>     }
>>>   },
>>>   "total_rows": 1
>>> }
```

#### SQL API example, step by step

##### 1. Instantiate an `Auth` object:

###### 1.1. CARTO cloud:

```python
auth = Auth(username='username', api_key='api_key')
```

###### 1.2. CARTO OnPremises or cloud organization with an implict user:

```python
auth = Auth(base_url='https://myapp.com/user/username/', api_key='api_key')
```

###### 1.3. CARTO OnPremises or cloud organization without an implicit user:

```python
auth = Auth(base_url='https://myapp.com/', username='username', api_key='api_key')
```

###### 1.4. SSL:

The `Auth` constructor has and `ssl` attribute. You can use it for handle to the library a [Python's SSL context](https://docs.python.org/3/library/ssl.html#ssl-contexts), or set it to `False` for relaxing certification checks. More info on [AIOHTTP doc](https://docs.aiohttp.org/en/stable/client_advanced.html#ssl-control-for-tcp-sockets).

##### 2. Instantiate the SQLClient and send queries:

###### 2.1. SQLClient's own AIOHTTP session:

```python
sql_client = SQLClient(auth)
result = await sql_client.send('SELECT 1 AS one;')
```

###### 2.2. External AIOHTTP session you need to care until the end of its days:

```python
import aiohttp

sql_client = SQLClient(auth)
result = await sql_client.send('SELECT 1 AS one;', aiohttp.ClientSession())
```
genome-reader 0.1.2.dev1555963630
genome reader
License: MIT
Keywords: genome reader

genome reader
=============
.. image:: https://travis-ci.org/marigenhq/genome-reader.svg?branch=master
  :target: https://travis-ci.org/marigenhq/genome-reader
  :alt: Build Status

.. image:: https://codecov.io/gh/marigenhq/genome-reader/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/marigenhq/genome-reader
  :alt: codecov

.. image:: https://badge.fury.io/py/genome-reader.svg
  :target: https://badge.fury.io/py/genome-reader
  :alt: Pypi Version

.. image:: https://readthedocs.org/projects/genome-reader/badge/?version=latest
  :target: https://genome-reader.readthedocs.io/en/latest/?badge=latest
  :alt: Documentation Status


Installing
==========

.. code-block:: shell

    pip install genome-reader

Usage
=====

.. code-block:: python

    from genome_reader import load
    genome = load('path/to/genome/data')
    # <Genome: SNPs=553190, name='data'>


Development
===========

`Data source`_

.. _Data source: https://my.pgp-hms.org/public_genetic_data?utf8=%E2%9C%93&data_type=23andMe&commit=Search
micromez 0.0.4
Python library for support of 96board mezzanine micromez
License: MIT
Keywords: 96boards Dragonboard 410c

Overview
========
This is the Python library to support the micromez add-on board that is part of the 96Boards Mezzanine Community effort:
https://github.com/96boards/mezzanine-community/tree/master/boards/other/micromez

Documentation
=============
https://micromez.readthedocs.io/en/latest/overview.html


Building mraa
=============
This library has a dependancy on the mraa GPIO library which can be installed with Python bindings as follows:
```
sudo apt-get install git build-essential swig3.0 python3-dev nodejs-dev cmake libjson-c-dev

git clone https://github.com/intel-iot-devkit/mraa.git
cd mraa
mkdir build
cd build
cmake -DBUILDSWIG=ON \
      -DBUILDSWIGPYTHON=ON \
      -DBUILDSWIGPYTHON3=ON \
      -DBUILDSWIGNODE=OFF \
      -DBUILDSWIGJAVA=OFF \
      ..

make

sudo make install
```

Load additional Fonts
=====================
If more fonts are required in addition to the three provided, the following will need to be done:
```
sudo apt-get install python3-pip
sudo pip3 install setuptools
sudo pip3 install freetype-py
sudo apt-get install libfreetype6-dev
./font_to_py.py /usr/share/fonts/opentype/ipafont-gothic/ipag.ttf 16 myfont.py
```