semvec/pypi-packages huggingface dataset:
avapi 0.1.6
Get data from Alpha Vantage into python.
License: MIT

# AVAPI
### Get data from Alpha Vantage into python.

Authors:
- Ole Olaussen: ole.olaussen@ekkobit.com
- Xuan Ling: xuan.ling@ekkobit.com


## Documentation

For more complete documentation, please go to [ReadTheDocs](https://avapi.readthedocs.io).

There are other python wrappers for the alpha vantage API, such as [alphavantage](https://pypi.org/project/alphavantage/), [alpha-vantage-downloader](https://pypi.org/project/alpha-vantage-downloader/), [alpha_vantage](https://pypi.org/project/alpha_vantage/) and [alphavantage-wrapper](https://pypi.org/project/alphavantage-wrapper/). They all have in common that they have different functions for each of the data types that Alpha Vantage offers. This may be less practical when downloading multiple data types at multiple resolutions in one session. Avapi has a single function that can download any data type from Alpha Vantage: avapi.get_data() takes \*\*kwargs as input and outputs a  dictionary, unless datatype="csv" is given, in which case a csv file is saved. If the data type is time series, avapi.to_df() converts it to a Pandas data frame. The intention is a simple and flexible way to get data from Alpha Vantage into python.

### Installation

```python
pip install avapi
```

### Before use

Follow instructions on the [Alpha vantage](https://www.alphavantage.co) website to get a free API-key.  The [docs](https://www.alphavantage.co/documentation/) provide all necessary info for à la carte downloading of historical data and indicators. Please checkout Alpha Vantage [support](https://www.alphavantage.co/support/#support) and read through the [Frequently Asked Questions](https://www.alphavantage.co/support/#support).

#### Examples

The "demo" api-key only works for these specific examples. If you modify the code you also need to provide your own api-key.

##### Single download

```python
import avapi as aa
import pandas as pd

data = aa.get_data(function='VWAP', symbol='MSFT',
                   interval='15min', apikey='demo')

df = aa.to_df(data)
df.head()
```

##### Multiple files download

There are limits for free accounts: up to 5 API requests per minute and 500 requests per day.  In loops, if you don't incorporate time.sleep(), you might get errors.

```python
import avapi as aa
import pandas as pd
from time import sleep

data_path = 'data/'

data_calls = [

{
 'function': 'TIME_SERIES_DAILY',
 'symbol': 'MSFT',
 'apikey': 'demo',
 'datatype': 'csv',
},
{
 'function':'TIME_SERIES_INTRADAY',
 'symbol': 'MSFT',
 'interval': '5min',
 'apikey': 'demo',
 'datatype': 'csv',

}
]


for call in data_calls:
    save_to = data_path + call['function'] + '_' + call['symbol'] + '.csv'
    data = aa.get_data(save_to=save_to, **call)
    sleep(15)
```

##### Unexpected results

If you get unexpected results, you may check the latest, original response from the Alpha Vantage server in the following way:

```python
response = aa.response()
print(response)
```

## Contribute

- Issue Tracker: https://github.com/ekkobit/avapi/issues
- Source Code: https://github.com/ekkobit/avapi
- Documentation: https://avapi.readthedocs.io
proxysix 1.0.0a4
API wrapper for Proxy6
License: MIT
Requires Python: >=3.7,<4.0

# Proxy6 API wrapper
[![Build status](https://api.travis-ci.com/michaeldel/proxy6.svg?branch=master)](https://travis-ci.com/michaeldel/proxy6)
[![PyPI - Status](https://img.shields.io/pypi/v/proxysix)](https://pypi.org/project/proxysix/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/proxysix)](https://pypi.org/project/proxysix/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

## Install
Install the `proxysix` package with `pip`:
```
pip install proxysix
```
guppy 0.1.11
Guppy-PE -- A Python Programming Environment
License: MIT


Guppy-PE is a library and programming environment for Python2,
currently providing in particular the Heapy subsystem, which supports
object and heap memory sizing, profiling and debugging. It also
includes a prototypical specification language, the Guppy
Specification Language (GSL), which can be used to formally specify
aspects of Python programs and generate tests and documentation from a
common source.

Note that his package is for Python2 only. There is a fork that is
ported and recommended for Python3 at:
https://github.com/zhuyifei1999/guppy3

The guppy top-level package contains the following subpackages:

doc
       Documentation files. These are in a package so they get installed
       at a well-defined place, especially to support interactive help.

etc
       Support modules. Contains especially the Glue protocol module.

gsl
       The Guppy Specification Language implementation. This can
       be used to create documents and tests from a common source.

heapy
       The heap analysis toolset. It can be used to find information
       about the objects in the heap and display the information
       in various ways.

sets 
       Bitsets and 'nodesets' implemented in C.