semvec/pypi-packages huggingface dataset:
quake3rcon 1.0.0
A tiny library for using Quake 3's RCON protocol feature for some game servers like FiveM.
License: MIT

# quake3rcon
A tiny library for using Quake 3's RCON protocol feature for some game servers like [FiveM](https://fivem.net/).
The RCON protocols are used to remotely control game servers, i.e. execute commands on a game server and receive the respective results.

## License
> MIT License
> 
> Copyright (c) 2022 hellyet
> 
> 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.

## `class Rcon`
| __function__ | __args__                                                               | __returns__ | __description__                               |
|--------------|------------------------------------------------------------------------|-------------| --------------------------------------------- |
| \_\_init\_\_ | ip (*ip*), port (*int*), password (*str*), timeout (*float*, optional) | *None*      | *Initialize rcon connection*                  |
| \_\_del\_\_  | *None*                                                                 | *None*      | *Close rcon connection on object destruction* |
| recv         | *None*                                                                 | *None*      | *Gets server response*                        |
| send         | command (*str*)                                                        | *str*       | *Send rcon command*                           |

## How i can use this?
To install run  
`pip install quake3rcon`  

### This is an example using q3rcon-py in your code
```py
from quake3rcon.rcon import Rcon

rcon = Rcon('192.168.0.1', 30120, 'yourstrongpassword') # Connecting to RCON

responce = rcon.send('command and some args for it') # Send RCON command
print(responce) # Show server response

# Do some stuff

del rcon # Delete object and disconnect from RCON
```
ud-dist-meta 1.0.3
Library to extract information from packages installed in current python environment
License: MIT
Keywords: distribution,virtual environment,metadata

# Distribution metadata
This package is meant to provide information scrappers on distributions / repositories installed in the running environment.
It provides a command line api and python sdk, i.e.:
#### Command line
To gather metadata information from a distribution (e.g. spam) installed in the same environment as ```dist_meta```:
```commandline
gen_distinfo_cmd spam path\to\local\folder\configurations.yaml
```
This instruction will generate a YAML configuration file at the given location

#### Python
The base content of the package can be directly leverage, either through a script interface:
```python
import dist_meta
dist_meta.gen_distinfo_py("spam", r"path\to\local\folder\configurations.yaml")
```
Or directly leveraging the core package:
```python
import dist_meta
info_spam = dist_meta.DistInfo.from_env("spam")
print(info_spam.entry_points)
print(info_spam.environment)
print(info_spam.libraries)
print(info_spam.requirements)
info_spam.to_yaml (r"path\to\local\folder\configurations.yaml")
```
django-custom-url 0.3
A Django app to easily manage custom url linked to static files.
License: MIT
Keywords: django,custom,url,path,file url,file path

[![](https://img.shields.io/pypi/pyversions/django-custom-url?color=3776AB&logo=python&logoColor=white)](https://www.python.org/)
[![](https://img.shields.io/pypi/djversions/django-custom-url?color=0C4B33&label=django&logo=django&logoColor=white)](https://www.djangoproject.com/)

[![](https://img.shields.io/pypi/v/django-custom-url?color=3776AB&logo=pypi&logoColor=white)](https://pypi.org/project/django-custom-url/)
[![](https://img.shields.io/pypi/l/django-custom-url?color=3776AB)](https://github.com/luciano-im/django-custom-url/blob/main/LICENSE)


# django-custom-url
django-custom-url is a Django app to **easily manage custom url linked to static files**.

Django is a great framework, but if you want to create URLs linked to static files, you have 
to create a view for that purpose. And if you have to manage not just one but severals of these URLs, you'll end up
with a bunch of dummy views.

This app allows you to create a custom URL and upload a file linked to that URL, so that when a user requests
the URL, they can view or download the related file (depending on whether it is a valid format for viewing from the browser).

---


## Supported file types
* Plain Text
* CSV
* MS Excel
* MS Word
* MS PowerPoint
* GIF
* JPEG
* PNG
* TIFF
* SVG
* PDF


## How it works
There is possible to use this app in two ways:
1. Use a fallback view that will check for a custom URL if all other URL patterns fails.
   This options doesn't require restarting your application server, just adding the custom URLs in the admin site, and it will work.
2. Execute an administrative command after creating the custom URLs in the admin, which will harcode URLs in a urls.py file.
   This option require restarting you application server each time a URL is added or modified.


## Installation
1. Run `pip install django-custom-url`
2. Add `custom_url` to `settings.INSTALLED_APPS` like this:
```python
    INSTALLED_APPS = [
        ...
        'custom_url',
    ]
```
3. Run `python manage.py migrate`


## Setup
If you want to use the fallback view (option 1 of the "How it works" section):

1. Include the Custom URL view in your project urls.py. Include it at the end of the path list like this:
```python
    from custom_url.views import CustomUrlView

    urlpatterns = [
        ...
        path('<path:url>', CustomUrlView.as_view())
    ]
```


If you want to opt for the hardcoded URLs (option 2 of the "How it works" section):

1. Include the Custom URL URLconf in your project urls.py like this:
```python
    from django.urls import include
    urlpatterns = [
        ...
        path('', include('custom_url.urls'))
    ]
```
2. Create your custom URLs in the admin site.
3. Run `python .\manage.py  update_urls` to update the Custom URL urls.py file.



## License
Released under [MIT License](LICENSE).



## Support
If you are having issues, please let me know through raising an issue, or just sending me a DM to [@luciano_dev](https://twitter.com/luciano_dev).