semvec/pypi-packages huggingface dataset:
zoompy 1.0
Get data from Ergast


Zoompy is a Python wrapper for calling the Ergast API, to get data related to Formula 1. It can be used to get the races, results, driver standings, constructors standings and qualifying results from any year or from a custom duration

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install zoompy.

```bash
pip install zoompy==1.0
```

## Usage
#### To obtain any of the data it is neccesary to first obtain the races in that particular time frame and then get the rounds in those season(s).
### Obtaining Lists of Races
```python
zoompy.races(start_year,end_year)

# To obtain races from 2020
zoompy.races(2020,2021)
```
### Obtaining Rounds
```python
races = zoompy.races(2020,2021)

rounds = zoompy.get_rounds(races)

```
### Obtaining Results
```python
races = zoompy.races(2020,2021)

rounds = zoompy.get_rounds(races)

results= zoompy.results(rounds)

```
### Obtaining Driver Standing
```python
races = zoompy.races(2020,2021)

rounds = zoompy.get_rounds(races)

d_standings= zoompy.driver_standings(rounds)

```
### Obtaining Constructor Standing
```python
races = zoompy.races(2020,2021)

rounds = zoompy.get_rounds(races)

c_standings= zoompy.constructor_standings(rounds)

```
### Obtaining Qualifying data
```python
zoompy.qualifying(start_year,end_year)

#obtaining qualifying results from 2020
qualifying= zoompy.qualifying(2020,2021)

```

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
[MIT](https://choosealicense.com/licenses/mit/)
pyPayNowSg 0.8.1
A python package to generate Singapore PayNow QR code payloads
Requires Python: >=2.7, <4
Keywords: sample setuptools development

# pyPayNowSg
[![Package Repository](https://img.shields.io/pypi/v/pyPayNowSg)](https://pypi.org/project/pyPayNowSg/)
![Supported Python Versions](https://img.shields.io/pypi/pyversions/pyPayNowSg)
[![Test](https://github.com/daffodilistic/pyPayNowSg/actions/workflows/test.yml/badge.svg)](https://github.com/daffodilistic/pyPayNowSg/actions/workflows/test.yml) 
![Downloads per week](https://img.shields.io/pypi/dw/pyPayNowSg)
## Generate PayNow Singapore QR codes in Python
### Summary
What it says on the tin. This is mainly for frameworks/backends which rely on
generation of a PayNow QR code without the use of NodeJS/JavaScript,
such as sending e-mails or generating PDF files.
### Documentation
This library only generates the ASCII code to be embedded in a QR
code image generator. However, there is sample code to generate the QR code 
image using Pillow. See [`tests/test_payload.py`](https://github.com/daffodilistic/pyPayNowSg/blob/d24ca3f7791a51b4b370f0a005946ccb26bca596/tests/test_payload.py)
for an example.
### TODO
- Raise Exceptions when user-specified texts/parameters exceed character limits 
as per the EMVCO specifications
- Enforce QR code version (version 11?) to fix output image size
### References
- [EMVCO QR Code Specification](https://www.emvco.com/emv-technologies/qrcodes/)
### Social
Like my work? Buy me a coffee!

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/L3L5YXX1)