semvec/pypi-packages huggingface dataset:
asyncrcon 1.1.4
Client implementation of Minecrafts RCON protocol using asyncio

# asyncrcon
[![PyPI](https://img.shields.io/pypi/v/asyncrcon)](https://pypi.org/project/asyncrcon/)&nbsp;[![](https://img.shields.io/badge/docs-passing-brightgreen)](https://zekroTJA.github.io/asyncrcon)

asyncrcon is a client side implementation of the Minecraft RCON protocol
using asyncio sockets for non-blocing socket handling.

```
pip install asyncrcon
```

# Links

- [**Docs**](https://zekroTJA.github.io/asyncrcon)
- [**Source Code**](https://github.com/zekroTJA/asyncrcon)
- [**Examples**](https://github.com/zekroTJA/asyncrcon/tree/master/examples)
- [**License**](https://github.com/zekroTJA/asyncrcon/tree/master/LICENSE)

# Usage Example

For more examples, see [**here**](https://github.com/zekroTJA/asyncrcon/tree/master/examples).
Here, we are opening a RCON connection to add a given user to the servers whitelist. Then, we close the connection.

```py
from asyncrcon import AsyncRCON, AuthenticationException

async def add_to_whitelist(user: str):
    rcon = AsyncRCON('loclahost:25575', 'secretRCONPassword')
    try:
        await rcon.open_connection()
    except AuthenticationException:
        print('Login failed: Unauthorized.')
        return
        
    res = await rcon.command('whitelist add {}'.format(user))
    print(res)
    
    rcon.close()
```

---

© 2020 Ringo Hoffmann (zekro Development)  
Covered by the Apache Licence 2.0.
ettuparser 1.2
This package parses ETTU site for mass transit schedule.
Requires Python: >=3

# ETTUParser

*DISCLAIMER: Корректная работа модуля не гарантируется, так как возможны ~~изменения сайта ETTU~~ второе пришествие и судный день.*

This project parses ETTU(Ekaterinburg Tram and Trolley Administration) site for mass transit schedule. 

Этот проект парсит сайт ЕТТУ(Екатеринбургское трамвайно-троллейбусное управление) на предмет времени до прибытия троллейбуса/трамвая на остановку.

*The documentation for this repository is written in Russian, cause a problem that this project solves is applicable only to Yekaterinburg.*

## Установка
`pip install ettuparser`
## Использование
Данный модуль зависит от `lxml` и `pandas`.

Единственной функцией данного модуля(на данный момент) является `ettuparser.parseStation(stationID)`. Параметр `stationID` можно взять из URL остановки, информацию о которой требуется получить. К примеру: ht<span>tps://</span>mobile.ettu.ru/station/***3431*** ~~(на разных остановках разное количество символов, возможно, зависит от вида транспорта)~~ (неважно). Возвращает данная функция `pandas.DataFrame`.
filter-and-pagination 1.1.14
Filter and Pagination in Django

# Filter & Pagination in Django

- Filter your result-set
- Paginate your result-set as per object you want in your response
- It's a open source service. 
- Easy to implement
- Fastest execution & High performance

---
## Install with pip
```
pip install filter-and-pagination
```

---
## Upgrade with pip
```
pip install filter-and-pagination --upgrade
```

---
## How to implement
1) install package by `pip install filter-and-pagination`
2) import FilterPagination by `from filter_and_pagination import FilterPagination` in view.py
3) in your function writte code as bellow standards...
```
queryset = FilterPagination.filter_and_pagination(request, Customer)
serialize_data = CustomerSerializer(queryset['queryset'], many=True).data
resultset = {'dataset': serialize_data, 'pagination': queryset['pagination']}
```
 - in this code `Customer` is Django model &
 - `CustomerSerializer` is a DRF Serializer class
4) in the resultset it contains dataset & pagination data, In this format (API Response) link: https://github.com/ashish1997it/filter-pagination-dj#demo
5) For the API request follow PostMan collection link: https://github.com/ashish1997it/filter-pagination-dj#postman in the header section it will take a parameter & request you customize as per your requirement


---
## Demo / Example

 **Request:**
 - URL: http://127.0.0.1:8000/customers/api/v1/?name=jasmin
 - Method: GET

**Response:**
```
{
	"status_code": 200,
	"status": "success",
	"message": [
		"Customer data retrieved successfully."
	],
	"data": {
		"dataset": [{
			"id": 166,
			"name": "Jasmin",
			"full_name": "Jasmin Perry",
			"email": "nicolemathews@smith-anderson.net",
			"contact_no_dail_code": "186",
			"contact_no": "9831999092",
			"dob": "1936-07-27",
			"gender": 1,
			"address": "466 Zuniga Trail Suite 955\nLake Brandonside, AL 22894",
			"extra": {},
			"created_at": "2020-01-11T10:09:24.780734Z",
			"updated_at": "2020-01-11T10:09:24.780745Z"
		}],
		"pagination": {
			"per_page": 20,
			"current_page": 1,
			"total_count": 1,
			"total_pages": 1
		}
	}
}
```
- for more example follow: https://github.com/ashish1997it/filter-pagination-dj#demo


---
### PyPi
- Project: filter-and-pagination
- link: https://pypi.org/project/filter-and-pagination/

---
### GitHub
- Project: filter-pagination-dj
- link: https://github.com/ashish1997it/filter-pagination-dj

---
### PostMan
[![Run in Postman](https://run.pstmn.io/button.svg)](https://app.getpostman.com/run-collection/eae09a934fbc284bc062)
- Collection: filter-and-pagination-in-GH-proj
- link: https://www.getpostman.com/collections/eae09a934fbc284bc062

---
### Medium
- Article: Filter & Pagination in Django
- link: https://medium.com/@sondagarashish/filter-and-pagination-in-django-c0a61ff5f5c4

---
eurekaClientShare 0.2.0
Simple eureka client
Requires Python: >=3.6

<h1>Eureka Connection</h1>

<h3>Info Parameter on <i>DiscoveryClient</i> constructor:</h3>
<br>
INFO_DISCOVER = {<br>
    "PROTOCOL": ...<br>
    "HOSTDISCOVER": ...<br>
    "PORTDISCOVER": ...<br>
    "SERVICENAME": ...<br>
    "HOSTINSTANCE": ...<br>
    "PORTINSTANCE": ...<br>
    "HEARTBEATDISCOVER": ...<br>
}
SDD 0.2.2.7
lightweight video detection
Requires Python: >=3.6

# SocialDistance
Keep safe social distance is considered as an effective way of avoiding spreading of coronavirus. Our SocialDistance module __SDD__ is a lightweight package which provides an implementation of utlizing deep learning models for monitoring safe social distance.

# Demo
[Watch the demo video](https://www.youtube.com/watch?v=1s46BJJj6rw&t=5s)

# Dataset
We use the video clip collected from [OXFORD TOWN CENTRE](https://www.robots.ox.ac.uk/ActiveVision/Research/Projects/2009bbenfold_headpose/project.html) dataset and made the above demo video.

# Supported Models
We have tested our model using YOLO-v3 and SSD, based on the performance of each model, we have chosen YOLO-v3 as our default model

All our pretrained models are selected from [Gluno CV Tookit](https://github.com/dmlc/gluon-cv)

# Installation
You may be able to obtain the latest version our model from:
```
pip install SDD
```

# How to Use
After Successfully installed SocialDistance, you can use it for detection by:
```
import SDD
import mxnet as mx
from SDD.utils.Run import Detect
detect = Detect(pretrained_models = 'yolo_v3')
detector = detect(save_path = output_path_image, video = False, device = mx.cpu())
_ = detector(file_path)
```

> Parameters
> ----------
- **pretrained_models**: str, Currently, we provided two pretrained models: 'yolo_v3' and 'ssd'
- **save_path**: str, Path where you want to save the output video/ images
- **video**: boolean, If your input is a video, set this parameter as True, if your input is a set of images, set this parameter as False
- **device**: mx.cpu() or mx.gpu()
- **file_path**: str, Input path of your video or image folder
# Reference
1. Landing AI 16 April 2020, Landing AI Creates an AI Tool to Help Customers Monitor Social Distancing in the Workplace, accessed 19 April 2020, <https://landing.ai/landing-ai-creates-an-ai-tool-to-help-customers-monitor-social-distancing-in-the-workplace/>
baidu-fanyi 0.0.3
Baidu translation API
Requires Python: >=3.6

# baidu_fanyi
## Baidu translation API library

[![PyPI version](https://badge.fury.io/py/baidu-fanyi.svg)](https://badge.fury.io/py/baidu-fanyi)

Usage:

```
from baidu_fanyi import Translator

# create a Baidu developer account and project
# at http://developer.baidu.com/console#app/project
APP_ID = ""
SECRET_KEY = ""

tr = Translator(APP_ID, SECRET_KEY)

translation = tr.translate("auto", "yue", "hello, how are you doing?")

print(translation.text)
```

Error codes and language codes can be found ![here](https://fanyi-api.baidu.com/product/113)

Quick language codes for reference:

| Language            | Code |
| -                   | -    |
| Automatic           | auto |
| English             | en   |
| Chinese             | zh   |
| Traditional Chinese | cht  |
| Cantonese           | yue  |
| Classical Chinese   | wyw  |
| Japanese            | jp   |
| Korean              | kor  |
| French              | fra  |
| Spanish             | spa  |
| Thai                | th   |
| Arabic              | ara  |
| Russian             | ru   |
| Portuguese          | pt   |
| German              | de   |
| Italian             | it   |
| Greek               | el   |
| Dutch               | nl   |
| Polish              | pl   |
| Bulgarian           | bul  |
| Estonian            | est  |
| Danish              | dan  |
| Finnish             | fin  |
| Czech               | cs   |
| romanian            | rom  |
| Slovenian           | slo  |
| Swedish             | swe  |
| Hungarian           | hu   |
| Vietnamese          | vie  |
sunnyside 2.0.0
Mini python wrapper for OpenWeather API's one call, current and forecast5 services.
Requires Python: >=3.6

# Sunnyside

[![GitHub release](https://img.shields.io/github/v/release/junqili259/Sunnyside?include_prereleases)](https://github.com/junqili259/Sunnyside/releases)
![Python Version](https://img.shields.io/pypi/pyversions/sunnyside)

## Installation
```
pip3 install sunnyside
```

## Getting Started
### Python Version
Sunnyside only supports python 3.6+
_________________________________________________________________________________________________________________________________________________________________________________

```python
from sunnyside import Sunnyside

ref = Sunnyside("YOUR-API-KEY-HERE", "your-units-here") # Enter your api key here
```

## Current Weather
https://openweathermap.org/current

### Weather by city name
**Note**: Units are by default in Kelvin, to change units to imperial or celsius.

```python
weather = ref.current_weather()
response = weather.get_current_weather_by_city_name("city_name") # Enter your city name here
```
### Weather by city id
```python
response = weather.get_current_weather_by_city_id("city_id")
```
### Weather by coordinates 
```python
response = weather.get_current_weather_by_geo_coords("lat","lon")
```
### Weather by zip code
```python
response = weather.get_current_weather_by_zip_code("zipcode")
```

_________________________________________________________________________________________________________________________________________________________________________________
## 5 Day Weather Forecast
https://openweathermap.org/forecast5

### Weather by city name

```python
forecast = ref.five_day_forecast()
response = forecast.get_forecast_by_city_name("some_city_name_here")
```

### Weather by city id
```python
response = forecast.get_forecast_by_city_id("city_id")
```
### Weather by coordinates 
```python
response = forecast.get_forecast_by_geo_coords("lat","lon")
```
### Weather by zip code
```python
response = forecast.get_forecast_by_zip_code("zipcode")
```

_________________________________________________________________________________________________________________________________________________________________________________
## One Call
https://openweathermap.org/api/one-call-api


### Get weather data from one call api
```python
openweather = ref.one_call()
response = openweather.get_weather("33.441792","-94.037689")
```



_________________________________________________________________________________________________________________________________________________________________________________

## Reference
https://openweathermap.org/api

https://openweathermap.org/current

https://openweathermap.org/forecast5

https://openweathermap.org/api/one-call-api