semvec/pypi-packages huggingface dataset:
weatherkit 1.1.1
Get weather details of any city or latitude and longitude of the location. without an API key.
Requires Python: >=3.5
Keywords: python, weather, weatherkit, openweatherapi


# WeatherKit ☀️
## What is It?
WeatherKit is a python pacakge that provides a simple interface to get weather data without any API key or any other credentials. It is a simple and easy to use package that provides the current weather data of any location in the world. It can get weather details from address, city, country, or latitude and longitude of the location.

Currently it Provies the following weather details for current time and forecast for 7 days:
- Temperature ☀️
- Humidity 💧
- Wind Speed 💨
- Weather Code ⛅️
- Precipitation ☔️

## Where to get it?

The easy way to get WeatherKit is from pip:

```bash
pip install weatherkit
```

## Dependencies
[geopy](https://pypi.org/project/geopy/) - For getting latitude and longitude of the location if the location is given in address or city format.

## Installing from source
Download the source code by cloning the repository or by clicking [here](https://github.com/suvanbanerjee/weatherkit/archive/refs/heads/main.zip)

```
git clone https://github.com/suvanbanerjee/weatherkit.git
cd weatherkit
```
Build the package using the following command:
```
python setup.py sdist bdist_wheel
```
Install the package using the following command:
```
pip install dist/*.whl
```

## Documentation
Documentation is available at [WeatherKit Documentation](https://suvanbanerjee.github.io/WeatherKit/)

## Contributing
Contributions are welcome, and they are greatly appreciated! just fork the repository, make changes and create a pull request.

## License
WeatherKit is distributed under the MIT License. See the [LICENSE](https://github.com/suvanbanerjee/weatherkit/blob/main/LICENSE) file for more information.
servo-adapter 0.0.3
A simple USB to servo adapter that works.
Requires Python: >=3.7

# A Simple USB to Servo Adapter that works.

The Servo Adapter allows python programs to connect to RC Servos using off the shelf low cost boards such the Raspberry Pico or SparkFun Pro Micro - RP2040. The Servo Adapter appears on the computer as a serial port (no device installation required) and acts as a USB to Servo bridge, with the ``servo_adapter`` Python package providing an easy to use API.


For example, the diagram below shows the wiring of a servo to one of the 8 servo outputs of the Servo adapter.

<br>
<img  src="https://raw.githubusercontent.com/zapta/servo_adapter/main/www/wiring_diagram.png"
      style="display: block;margin-left: auto;margin-right: auto;width: 80%;" />
<br>



## Highlights

* Support up to 8 independent servo channels.
* Hardware based 1us resolution servo PWM timing generation.
* Supports Windows/Mac/Linux.
* Uses low cost low cost off-the-shelf boards as adapters.
* Does not require driver installation (it appears on the computer as standard a serial port).
* Comes with an easy to use Python API.
* Easy to modify/extend and to adapt to new hardware.
* Permissive open source license. Comercial use OK, sharing and attribution not required. 
* Provides additional 8 general purpose auxilary input/output signals.

<br>

## Python API Example

Package installation

```bash
pip install servo-adapter --upgrade
```

In the example below, we use an Servo Adapter that control a servo that is connected to servo output 0.

```python
import time
from random import randrange
from servo_adaptr import ServoAdapter

# Serial port name. Adapt to your system.
port = "/dev/tty.usbmodem1101"

# Connect to adapter and enable PWM servo out 0.
adapter = ServoAdapter(port=port)
adapter.set_servo_state(0, True)

while True:
    # Random pulse width in the range 1000us to 2000us.
    pw_us = 1000 + randrange(1000 + 1)
    adapter.set_servo_pulse_width(0, pw_us)
    time.sleep(1.0)
```

<br>

## Documentation

Full documentation is available at <https://servo-adapter.readthedocs.io/>
wireguard-manager 0.0.2.2
Wireguard management tool
Keywords: python, vpn, wireguard, server, manager



<h1>Wireguard manager</h1>

<h1>Contributing</h1>
<h2>Tests</h2>
Due to the specifics of the package testing environment, the tests are run in a docker container. To create an environment, build an image from test.Dockerfile

```shell
docker build -f test.Dockerfile -t wireguard_manager_test_enviroment .
```

And run container with mounted src to ```/tests/src``` and tests to ```/tests``` directories

```shell
docker container run --cap-add=NET_ADMIN --name test -v ./wireguard_manager:/tests/wireguard_manager  -v ./tests:/tests wireguard_manager_test_enviroment
```