difconnect-1.4
توضیحات
Parse WebSite for data and Connect to Diffusion Server
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | difconnect-1.4 |
| نام | difconnect |
| نسخه کتابخانه | 1.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/zakharb/difconnect |
| آدرس اینترنتی | https://pypi.org/project/difconnect/ |
| مجوز | - |
<p align="center">
<img src="https://user-images.githubusercontent.com/101948294/226764824-861b4d80-bbb0-4455-8447-5c515e881181.png" alt=" The Queenthine Font" />
</p>
<p align="center">
<a href="https://git.io/typing-svg">
<img src="https://readme-typing-svg.herokuapp.com?font=Fira+Code&weight=600&pause=1000&color=9D98FF&width=435¢er=true&size=30&lines=+Parse+web+Site+for+data;Connect+to+Diffusion" alt="Typing SVG" />
</a>
</p>
<p align="center">
<img src="https://img.shields.io/badge/version-1.0-blue" height="20"/>
<img src="https://img.shields.io/badge/python-3.11-blue" height="20"/>
<img src="https://img.shields.io/badge/asyncio-3.11-blue" height="20"/>
<img src="https://img.shields.io/badge/diffusion-6.8.7-blue" height="20"/>
</p>
## :purple_square: Getting Started
[Difconnect](https://github.com/zakharb/difconnect) is the Service that parse website for data and connect to Diffusion Server to extract data from it.
### Requirements

`asyncio` and `diffusion` libraries are required.
### Installing
Install via `pip`
```
pip install difconnect
```
## :purple_square: Usage
Run service with arguments:
- `get` to get information from server
- add arguments to run for specific url, race etc
## :purple_square: Deployment
Set up `.env` file for parameters
```
SERVER_URL=wss://diffusion.some_site.com
BOOKMAKERS=AA|BB|CC
RACE_URL=https://www.some_site.com/
```
Edit Dockerfile and spicify arguments to run service
Build image
```
docker build -t difconnect .
```
Run image
```
docker run -it --env-file .env difconnect
```
## :purple_square: Versioning
Using [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/zakharb/difconnect/tags).
## :purple_square: Authors
* **Zakhar Bengart** - *Initial work* - [Ze](https://github.com/zakharb)
See also the list of [contributors](https://github.com/zakharb/difconnect/contributors) who participated in this project.
## :purple_square: License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation - see the [LICENSE](LICENSE) file for details
نیازمندی
| مقدار | نام |
|---|---|
| ==3.8.4 | aiohttp |
| ==1.3.1 | aiosignal |
| ==4.0.2 | async-timeout |
| ==20.3.0 | attrs |
| ==4.12.0 | beautifulsoup4 |
| ==0.0.1 | bs4 |
| ==5.4.6 | cbor2 |
| ==2022.12.7 | certifi |
| ==3.1.0 | charset-normalizer |
| ==1.2.69 | cloudscraper |
| ==6.8.7 | diffusion |
| ==0.0.16 | diffusion-core |
| ==1.3.3 | frozenlist |
| ==3.4 | idna |
| ==6.0.4 | multidict |
| ==1.10.6 | pydantic |
| ==3.0.9 | pyparsing |
| ==2.28.2 | requests |
| ==0.10.1 | requests-toolbelt |
| ==2.4 | soupsieve |
| ==1.2.0 | stringcase |
| ==20.2.0 | structlog |
| ==4.5.0 | typing-extensions |
| ==1.26.15 | urllib3 |
| ==1.8.2 | yarl |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl difconnect-1.4:
pip install difconnect-1.4.whl
نصب پکیج tar.gz difconnect-1.4:
pip install difconnect-1.4.tar.gz