semvec/pypi-packages huggingface dataset:
httpx-cache 0.13.0
Simple caching transport for httpx.
Requires Python: >=3.8
Keywords: cache,cache-control,httpx

# HTTPX-CACHE

[![codecov](https://codecov.io/gh/obendidi/httpx-cache/branch/main/graph/badge.svg?token=FHHRA6F17X)](https://codecov.io/gh/obendidi/httpx-cache)

httpx-cache is an implementation of the caching algorithms in [httplib2](https://github.com/httplib2/httplib2) and [CacheControl](https://github.com/ionrock/cachecontrol) for use with [httpx](https://github.com/encode/httpx) transport object.

It is is heavily insipired by:

- [https://github.com/ionrock/cachecontrol](https://github.com/ionrock/cachecontrol)
- [https://github.com/johtso/httpx-caching](https://github.com/johtso/httpx-caching)

## Documentation

Full documentation is available at [https://obendidi.github.io/httpx-cache/](https://obendidi.github.io/httpx-cache/)

## Installation

Using pip:

```sh
pip install httpx-cache
```

_Please make sure to pin the exact `httpx-cache` version for your project, to make sure it all works._

## Contributors

Feel free to contribute !

<a href = "https://github.com/obendidi/httpx-cache/graphs/contributors">
<img src = "https://contrib.rocks/image?repo=obendidi/httpx-cache"/>
</a>
lineup-optimizer 0.0.3
A Python package for optimizing and generating DFS lineups.
Requires Python: >=3.7

# DFSLineupOptimizer [![n-roth12](https://circleci.com/gh/n-roth12/DFSLineupOptimizer.svg?style=shield)](https://app.circleci.com/pipelines/github/n-roth12/DFSLineupOptimizer)  [![PyPI version](https://badge.fury.io/py/lineup-optimizer.svg)](https://badge.fury.io/py/lineup-optimizer)
A Python project for generating NFL daily fantasy contest lineups.  

### Installation
#### As Package
To install and use as a Python package:
```
python3 -m pip install lineup-optimizer
```
#### Repo
Clone the repository onto your machine to get started. Ensure you have Python and pip installed, then set up the virtual environment using:
```
pipenv install -r "requirements.txt"
pipenv shell
```
This project currently only uses built-in Python modules, so this step is actually not required.
### Usage
To generate an optimized lineup for a chosen DFS contest, go to the contest webpage and download the players list as a CSV, an option on almost all DFS sites. Then, place the CSV file into the root directory of the project. The examples below will use the name 'DKSalaries_example.csv' as a placeholder for one such CSV file.
You can choose to generate lineups from the command line, or from within a Python script:
#### Import Package
```
from lineup_optimizer import optimize_lineup

lineup = optimize_lineup('DRAFTKINGS', 'DKSalaries_example.csv')
print(lineup)
```
#### Command Line
```
python optimize.py DRAFTKINGS DKSalaries_example.csv
```
These will output the lineup to the console.
### About 
Lineups are able to be generated following certain constraints called "Tags". In addition, TagsController can confirm whether a given Lineup conforms 
to the rules of specific tags, as well as output the list of Tags that the Lineup conforms to. Examples of such Tags are: "Stack: 4x2", 
"Build: 3 RB", "Punt: TE".