semvec/pypi-packages huggingface dataset:
pgn_to_sqlite 1.1.1
Fetch your games from chess.com and lichess.org and add them to a sqlite database
Requires Python: >=3.6

# PGN to Sqlite

[![PyPI version](https://badge.fury.io/py/pgn_to_sqlite.svg)](https://badge.fury.io/py/pgn_to_sqlite)
![GitHub](https://img.shields.io/github/license/endlesstrax/pgn-to-sqlite)
![Black](https://img.shields.io/badge/code%20style-black-000000.svg)

A cli application for pulling pgn files from Chess.com and Lichess.org and putting your games into a sqlite database.

## Install

> Requires Python 3.6 and above.

MacOS / Linux:

```bash
python3 -m pip install pgn_to_sqlite
```

Windows:

```powershell
python -m pip install pgn_to_sqlite
```

## Usage

The cli expects three arguments: `site`, `username`, and `output`.

`site`: can be with `chess` or `lichess`, for [chess.com](https://www.chess.com) and [lichess.org](https://lichess.org), respectively.

`-u username`: The username of the user you wish to download games of.

`-o output`: should be a `path` to the `sqlite3` database.

### Example

```powershell
pgn-to-sqlite lichess -u myusername -o data.db
```

> If you've played a lot of games, **be patient**, it could take a minute or two.

## Feedback and Contribution

If you find a bug, please file an [issue](https://github.com/EndlessTrax/pgn-to-sqlite/issues).

If you have feature requests, please [file an issue](https://github.com/EndlessTrax/pgn-to-sqlite/issues) and use the appropriate label.

Please **raise an issue before making a PR**, so that the issue and implementation can be discussed before you write any code. This will save you time, and increase the chances of your PR being merged without significant changes.

Please **format you code** with [Black](https://pypi.org/project/black/).

Please **include tests** for any PR's that include code (unless current tests cover your code contribution).

## Support

If you would like to show your support for the project, I would be very grateful if you would donate to a charity close to my heart, [Walk AS One](https://walkasone.org/donate).

And if you would prefer to donate to me personally instead, [you can sponsor me on Github](https://github.com/sponsors/EndlessTrax)? 🤓
api2db 1.0.1
Python Api data collection tool
Requires Python: >=3.6, <4
Keywords: api,pandas,database,postgresql,mariadb,google-cloud-storage,google-cloud-bigquery

.. image:: https://readthedocs.org/projects/api2db/badge/?version=latest


``pip install api2db``

Read The Docs
-------------

https://api2db.readthedocs.io/en/latest/
Barberchop 1.0.1
Segments, classifies and extracts barcode images from larger images containing one or more barcodes.
Requires Python: >=3.7

# barberchop
Segments, classifies and extracts barcode images from larger images containing one or more barcodes.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install barberchop.

```bash
pip install barberchop
```

## Usage

```python
import cv2
from Barberchop.ExtractionService import BarberchopYoloService

service = BarberchopYoloService()
img = cv2.imread('barberchop/src/test.png')
results = service.extract(img)

print(f"Found {len(results)} barcodes")
for barcode in results:
    cv2.imshow("barcode", barcode.image)
    cv2.waitKey(1000)
```

## Roadmap

- [X] Object Detection based Extraction using Yolov5
- [ ] Image Segmentation based Extraction

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License
**MIT**

Copyright 2021 Sparkfish LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.