semvec/pypi-packages huggingface dataset:
arknights-farmer 2020.12.18
Farming assistant for Arknights
License: MIT
Requires Python: >=3.7.4

# arknights-farmer

Farming assistant for Arknights.

## Installation

### Prerequisites

* Python >= 3.7.4
* pip
* adb from android platform-tools added to your `$PATH`

### From Source

Clone this repository using `git clone` command (or just download the `zip` version). 

Install the dependencies using `pip`.
```bash
$ pip install -r requirements.txt
```

Run the script using the following command inside the repo directory.
```bash
$ python3 -m arknights-farmer
```
### From PyPi (Recommended)

For Windows users (run `cmd` as administrator):
```bash
pip install arknights-farmer
```

For Linux users:
```bash
$ sudo pip install arknights-farmer
```

## Usage

```
usage: arknights-farmer [-h] [-s STAGE [STAGE ...]] [-c] [-r REFILL] [-l] [-v]
                        [-m MANUAL]

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

required args:
  -s STAGE [STAGE ...], --stage STAGE [STAGE ...]
                        manually add stage(s) to farm task (e.g. 1-7:100
                        4-4:25 (separated by whitespace))
  -c, --cont            continue from the most recent farming session

optional args:
  -r AMOUNT, --refill AMOUNT
                        how many times you want to refill. default is 0
  -l, --list-task       list unfinished task(s) from recent farming session
  -v, --version         show version
  -m AMOUNT, --manual AMOUNT
                        manual mode (good for single stage farming like event
                        stages)
```

### Connect to ADB

Use the `adb devices` command to check if your adb client is connected to your emulator.

Refer to your emulator manual on how to connect your adb client.

### Emulator Setting

Make sure to use the following display settings on your emulator:
* Display Resolution: 1280x720
* DPI: 240 DPI

### Examples

```bash
$ arknights-farmer -s 1-7:100           # runs 1-7 100 times (will stop whenever you run out of sanity)
$ arknights-farmer -s 1-7:100 -r 10     # runs 1-7 100 times with 10 times sanity refill (prioritizes using sanity potion)
$ arknights-farmer -s 1-7:100 ce-5:20   # runs 1-7 100 times then CE-5 20 times
$ arknights-farmer -c                   # continues the most recent halted farming session
```
Before starting the script, make sure to set yourself in the main menu screen.

You can safely stop the script using `Ctrl-C`. It will save the ongoing farming task(s) before quitting.

## Contributing
Pull requests are welcome. 

## License
Licensed under the MIT License. See `LICENSE` for more information.

## Disclaimer

It has not been clear whether it is safe to use this tool or not. I am not responsible for what happens to your account.

Use at your own risk.
draft-kings 3.1.0
A client to access data on draftkings.com
License: MIT
Requires Python: >=3.7,<4.0
Keywords: Daily Fantasy Sports,DraftKings

![GitHub Actions](https://github.com/jaebradley/draftkings_client/workflows/DraftKings%20Client/badge.svg?branch=v3)
![codecov](https://codecov.io/gh/jaebradley/draftkings_client/branch/v3/graph/badge.svg)
![PyPI](https://img.shields.io/pypi/v/draft_kings.svg)

# DraftKings Python Client

## Introduction

To the best of my knowledge, **DraftKings** does not have an "official", well-documented public-facing API.

Instead, they have various **HTTP** endpoints that do not require authentication (so are "public" in this manner).

These "public" endpoints allow one to fetch data for various resources including contests for a specific sport, or
players that are draftable for a given contest (as well as relevant metadata).

As **DraftKings** makes no guarantees about it's "public" API, this client makes no guarantees that the existing API 
methods will work consistently.

## Documentation

For documentation about package installation as well as the client's API, please see 
[the documentation site](https://jaebradley.github.io/draftkings_client).