semvec/pypi-packages huggingface dataset:
rfsdk0-2-2 0.2.0
No description.

# rfsdk
rfsdk是基于pyant实现的一个fst客户端（python），对常用交易业务进行封装，向用户提供易用的服务和接口

# 功能依赖说明
## 订阅推送业务
**依赖说明:**
1. pyant无法识别“未声明”的pb消息类型，会将这类消息的原始pb序列化字符串base64编码后回调给业务层；
2. 业务层根据自身业务，针对性的将原始pb序列化字符串反序列化为对应的pb对象；

**依赖模块：**
1. google protobuf开源库（python版）；
2. 业务proto对应的pb2.py文件（proto文件统一存放在protocol仓库中，通过protoc工具生成pb2.py时，需要保持目录结构不变）
scraper-Rafihatu 0.0.3
A small eBay web scraper package
Requires Python: >=3.6

# eBay Web Scraper

## Description
This is a web scraper that extracts info about listings from popular e-commerce site, eBay. 
Collects info about the category the listing belongs to, title of listing, link to the listing, link to the listing's image and price of each listing.

## Technologies

* [Python 3.9](https://python.org) : Base programming language for development. The latest version of python.
* [Docker Engine and Docker Compose](https://www.docker.com/) : Containerization of the application and services orchestration
* [Postgres Database](https://www.postgresql.org) : Database where scraped listings are stored.


## Getting Started

Using this scraper is very simple, all you need is to have Git and Docker Engine installed on your machine. 
If you do not wish to use docker, simply create your own virtual environment and run `pip install -r requirements.txt` from the root directory to
install the requirements stated in the `requirements.txt` file
Don't forget to add your postgres database connection variables in the `.env` file in the root folder.
Example of what the `.env` file should look like
```
DB_PORT = XXXX
DB_HOST = your_database_host
DB_USER = your_username
DB_NAME = the_name_of_your_database_here
DB_PASSWORD = your_password_here

```


The scraper can be found in src/scraper
eBay contains 3 methods which are `scrape()`, `add_category_to_database()`, `add_listing_to_database()`. 
The methods are self-explanatory. 
scrape takes in the category/keyword, and the number/quantity of listings to be scraped while `add_category_to_database()` and `add_listing_to_database()` adds categories and listings to their 
respective databases.

Example:
```
    from src.scraper import eBay
    ebay = eBay()
    ebay.scrape(keyword="book", quantity=200)
    ebay.add_category_to_database()
    ebay.add_listings_to_database()
```

## Testing


This project has pytest embedded in it and can be run with the following command `python -m pytest tests/` from the root directory.
Note: This should be run after after all necessary database connection variables have been declared in the.env file


## License

The MIT License - Copyright (c) 2021 - Rafihatu Bello
tankerkoenig 0.0.4
Wrapper for creativecommons.tankerkoenig.de API
Requires Python: >=3.8, <4

# Tankerkoenig-Python
Python wrapper for the creativecommons.tankerkoenig.de API

Note: The API is under Creative Commons (CC BY 4.0) license. It is used by many clients so please restrict API calls to the minimum.
Every request requires an API key that can be requested [here](https://creativecommons.tankerkoenig.de/#register)

## Examples
Finding petrol stations around a certain coordinate:
```python
import tankerkoenig

client = tankerkoenig.Client(api_key="00000000-0000-0000-0000-000000000002")

petrol_stations = client.list(
    lat=50.114634,
    lng=8.687657,
    rad=2,
    petrol_type=tankerkoenig.Petrol.DIESEL,
    sort=tankerkoenig.SortingMethod.DISTANCE,
)
print(petrol_stations)
```

Accessing details of a station by its ID:
```python
import tankerkoenig

client = tankerkoenig.Client(api_key="00000000-0000-0000-0000-000000000002")

details = client.details(id="24a381e3-0d72-416d-bfd8-b2f65f6e5802")
print(details)
# Details_Model(
#     ok=True,
#     license='CC BY 4.0 -  https://creativecommons.tankerkoenig.de',
#     data='MTS-K',
#     status='ok',
#     station=Details_Station(
#         id='24a381e3-0d72-416d-bfd8-b2f65f6e5802',
#         name='Esso Tankstelle',
#         brand='ESSO',
#         street='HAUPTSTR. 7',
#         houseNumber=' ',
#         postCode=84152,
#         place='MENGKOFEN',
#         openingTimes=[
#             Details_OpeningTime(
#                 text='Mo-Fr',
#                 start='05:00:00',
#                 end='22:30:00',
#             ),
#             Details_OpeningTime(
#                 text='Samstag',
#                 start='07:00:00',
#                 end='22:30:00',
#             ),
#             Details_OpeningTime(
#                 text='Sonntag, Feiertag',
#                 start='08:00:00',
#                 end='22:30:00',
#             ),
#         ],
#         overrides=[],
#         wholeDay=False,
#         isOpen=True,
#         e5=1.009,
#         e10=1.009,
#         diesel=1.009,
#         lat=48.72210601,
#         lng=12.44438439,
#         state=None,
#     ),
# )
```