semvec/pypi-packages huggingface dataset:
yapywrangler 1.2
Tool for reqesting stock data from the Yahoo Finance API
License: MIT

# yapywrangler

### Update 05/31/2019:
This package was initally released over a year ago in the wake of Yahoo Finance updating their backend API.
At that time, the only means of retrieving data required gnarly parsing and took noticable time to process.
Because of this, on the initial release, a local file system for caching parts of retrieved files was used 
to cut down on processing time.

Since then, Yahoo Finance has updated their API resulting in much faster response times, and negating the 
need for the caching system.

Due to this, yapywrangler has been revised to include just its core request functionality.


## Install:

    pip install yapywrangler


## Usage:

    from yapywrangler import get_yahoo_data

    stock_ticker = "MSFT"
    data = get_yahoo_data(stock_ticker, start_date='2006-03-26', end_date='2019-05-29')
    msft = pd.DataFrame(data)

### Default Args
    start_date: 2000-01-01
    end_date: now

### Data Format:

    {
        'timestamp': [1559136600, 1559223000, 1559321620], 
        'date': ['2019-05-29', '2019-05-30', '2019-05-31'], 
        'open': [29.0, 28.399999618530273, 27.56999969482422], 
        'high': [29.31999969482422, 28.559999465942383, 28.360000610351562], 
        'low': [27.729999542236328, 27.600000381469727, 27.5], 
        'close': [28.09000015258789, 28.030000686645508, 27.940000534057617], 
        'volume': [99969600, 65072900, 40126715]
    }
octoparse-python 0.1.1
API wrapper for Octoparse written in Python
License: MIT

# octoparse-python

octoparse-python is an API wrapper for Octoparse written in Python

# Installing

# Usage
##### Client instantiation
```
from octoparse.client import Client

client = Client(advanced_api=True)
```

##### Get a new token
```
r = client.new_token('OCTOPARSE USERNAME', 'OCTOPARSE PASSWORD')
```

##### Refresh a token
```
r = client.refresh_token('REFRESH_TOKEN')
```

##### Set access token to client
```
client.set_access_token('ACCESS_TOKEN')
```

##### List all task groups
```
r = client.list_task_groups()
```

##### List all tasks in a group
```
r = client.list_group_tasks('GROUP_ID')
```

##### Get task status
```
TASK_LIST = ['TASK_ID1']
r = client.get_task_status(TASK_LIST)

Task status code:
0 = Running,
1 = Stopped,
2 = Completed,
3 = Waiting,
5 = Never Run
```

##### Get task parameters
```
Configuration parameter name (navigateAction1.Url,loopAction1.UrlList,loopAction1.TextList, etc.)

r = client.get_task_parameters('TASK_ID', 'navigateAction1.Url')
```

##### Update task parameters
```
Configuration parameter name (navigateAction1.Url,loopAction1.UrlList,loopAction1.TextList, etc.)

r = client.update_task_parameters('TASK_ID', 'navigateAction1.Url', 'https://url.com')
```

##### Start running task
```
r = client.start_task('TASK_ID')
```

##### Stop running task
```
r = client.stop_task('TASK_ID')
```

##### Clear data
```
r = client.clear_data('TASK_ID')
```

##### Export Non-exported Data
```
r = client.export_non_exported_data('TASK_ID', 'SIZE')
```

##### Update Data Status
```
r = client.update_data_status('TASK_ID')
```

##### Update Data Status
```
r = client.get_data_by_offset('TASK_ID', 'OFFSET', 'SIZE')
```
python-isl 1.5
A python package to wrap the islapi.
License: MIT
Keywords: python isl api

# Python ISL

A python package to communicate with ISL's api and authenticate ISL employees in Django.

## API

### Installation
```
    pip install python-isl
```

### Usage
```
    from pythonisl import ISLClient

    access_token = os.environ.get('ISL_ACCESS_TOKEN')
    isl_endpoint = os.environ.get('ISL_API_ENDPOINT')

    isl = ISLClient(access_token, isl_endpoint)

    for employee in isl.employees():
        print(employee)
    for team in isl.teams():
        print(team)
    for dog in isl.dogs():
        print(dog)

    print(isl.teams().get('antimatter'))  # this line is the
    print(isl.teams('antimatter').get())  # same as this line
```

## AUTH

### Installation
```
    pip install python-isl
```
### Configuration

in `settings.py`
```
AUTHENTICATION_BACKENDS = (
    'pythonisl.backends.ISLAuthBackend',
    'django.contrib.auth.backends.ModelBackend',
)
```
in `urls.py`
```
    urlpatters += [url('', include('pythonisl.urls')),]
```
this adds the urls: `login/`, `auth/callback/`, and `logout/`
you can include the individual views if you would like instead
```
    from pythonisl.views import login, callback, logout
```
the `callback` url must be named "islauth_callback"

### Usage

Just point a user to /login/?next=/my-next-url/
The ISLAuthBackend will take care of logging the user in by email address
or creating a new user by email address and the user portion of the email
being the username.

The user will stay logged in as long as the session is still valid, and
you can request that they login by directing them to the /login/ url whenever
you want.