semvec/pypi-packages huggingface dataset:
python-shellrechargeev 0.1.7
Python 3 package to retrieve public EV charger data from Shell Recharge
License: MIT
Requires Python: >=3.10

# python-shellrechargeev
Python 3 package to retrieve public EV charger data from Shell Recharge

[![GitHub Release][releases-shield]][releases]
[![GitHub Activity][commits-shield]][commits]
[![License][license-shield]](LICENSE)

![Project Maintenance][maintenance-shield]

## About

This package allows you to request data from public EV chargers using Shell Recharge.
I build it to create a home-assistant integration, it can be done with rest calls only, but then options are limited.

## Installation

```bash
pip3 install python-shellrechargeev
```


## Development

To create a development environment to commit code.

```
pip3 install pdm
pip3 install ruff
pdm init

sudo apt install pre-commit
pip3 install pre-commit
```
Run checks before PR/Commit:
```
make format
make lint
make codespell
```

## Example
Below provides example on how to use the library.  

```
#!/usr/bin/env python3
"""Example code."""
import asyncio
import logging
import sys

import aiohttp

import shellrechargeev


async def main():
    """Main module."""
    location_ids = ["9b9428ab-1dfd-4230-a024-084eacf776ff"]

    async with aiohttp.ClientSession() as session:
        api = shellrechargeev.Api(session)

        for location_id in location_ids:
            locations = await api.location_by_id(location_id)
            print(locations)


if __name__ == "__main__":
    logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
    loop = asyncio.new_event_loop()
    loop.run_until_complete(main())
```

## Donations

[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/cyberjunkynl/)  
[![Sponsor][sponsor-shield]][sponsor]

[python-shellrechargeev]: https://github.com/cyberjunky/python-shellrechargeev
[commits-shield]: https://img.shields.io/github/commit-activity/y/cyberjunky/python-shellrechargeev.svg?style=for-the-badge
[commits]: https://github.com/cyberjunky/python-shellrechargeev/commits/main
[license-shield]: https://img.shields.io/github/license/cyberjunky/python-shellrechargeev.svg?style=for-the-badge
[maintenance-shield]: https://img.shields.io/badge/maintainer-%40cyberjunky-blue.svg?style=for-the-badge
[releases-shield]: https://img.shields.io/github/release/cyberjunky/python-shellrechargeev.svg?style=for-the-badge
[releases]: https://github.com/cyberjunky/python-shellrechargeev/releases
[sponsor-shield]: https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86
[sponsor]: https://github.com/sponsors/cyberjunky
great_asset 1.2.0
A small headless library for editing Lethal Company save files.
License: MIT
Requires Python: >=3.8,<4.0
Keywords: save-editor,wrapper,lethal-company

<div align="center">
    <h1 align="center">
        <b>GreatAsset</b>
        <br>
    </h1>
    <a href='https://github.com/AbstractUmbra/great_asset/actions/workflows/build.yaml'>
        <img src='https://github.com/AbstractUmbra/great_asset/actions/workflows/build.yaml/badge.svg' alt='Build status'/>
    </a>
    <a href='https://github.com/AbstractUmbra/great_asset/workflows/coverage_and_lint.yaml'>
        <img src='https://github.com/AbstractUmbra/great_asset/actions/workflows/coverage_and_lint.yaml/badge.svg' alt='Linting and Typechecking'/>
    </a>
</div>
<div align="center">
    <a href='https://great-asset.readthedocs.io/en/latest/?badge=latest'>
        <img src='https://readthedocs.org/projects/great_asset/badge/?version=latest' alt='Documentation Status'/>
    </a>
    <a href="https://discord.gg/aYGYJxwqe5">
        <img src='https://img.shields.io/discord/705500489248145459?color=blue&label=Discord&logo=Discord%20Server&logoColor=green' alt='Discord Server'>
    </a>
</div>
<br>

Welcome, great assets to The Company!

---

This project is a small thin wrapper to edit save files for the [Lethal Company](https://store.steampowered.com/app/1966720/Lethal_Company/) video game.

Our documentation can be found [here](https://great-asset.readthedocs.io/en/latest/index.html).

## Example usage

Add 6000 credits and unlock all possible (found) ship upgrades.

```py
import os

import great_asset

def main() -> None:
    # The classmethod here will resolve the full path to the save file and use save number `1`
    with great_asset.SaveFile.resolve_from_file(1) as save:
        # update credits to 6000
        save.update_credits(6000)

        # unlock all items within `great_asset.ShipUnlock` enum.
        save.unlock_all_ship_upgrades()

        # normally without the context manager you'd call the `save.write()` method but this is not necessary
        # as it is called upon exiting the context manager if there are no errors
```


## Disclaimer

This project is not affiliated with Lethal Company, [its creator](https://store.steampowered.com/search/?developer=Zeekerss&snr=1_5_9__2000) or affiliates in any way.
Use of this project within public games without players consent is likely going to remove a lot of the fun from the game and is discouraged.
sockets-io 0.0.0
This module provides a wrapper for the built-in socket module in python. The program provides server and. client classes, with the communication methods.
License: MIT

# sockets-communication

This module provides a wrapper for the built-in socket module in python. The program provides server and.
client classes, with the communication methods.

first of all
------------

### credits:
- writen and owned by:
  Shahaf Frank-Shapir

- all the rights are saved for:
  Shahaf Frank-Shapir

- programming language:
  python 3.8.6 (100%)

before we start
---------------

### description:
- This module provides a wrapper for the built-in socket module in python. The program provides server and.
  client classes, with the communication methods.

### dependencies:
- opening:
  As for this is a really complex program, which uses a lot of modules, there are required dependencies needed
  in order to run the program. keep in mined the program was writen in python 3.8.6, so any python version lower
  than 3.9.2 might not work properly. Moreover, built-in python modules are being used, so keep that in mind.

run the app
-----------

#### run from windows command line (inside the project directory)
- run with python (3.6.0 or higher) by writing to the command line in the project directory:
````
python server.py
python client.py
python test.py
````
srbpy 0.2.3
A Python/C++ Mixed Road Bridge Design Package
License: MIT
Requires Python: >=3
Keywords: civil road bridge alignment


---

# SrbPy + *.srb

## XML中间交换格式

基于xml的标准数据格式请参考 [详细说明](./docs/standards/中间交换文件格式标准.md) 。

## SrbPy
 
提供了两个子模块：
 
 - 路线模块(srbpy.alignment)，用于解析EICAD路线数据包并解析.
 - 模型(srbpy.model), 用于建模。

用法及包详情请参考[文档](https://smartroadbridgepy.readthedocs.io/zh_CN/latest/srbpy.html#module-srbpy) 。
oomnitza-rule-checker 0.3.5
Contains reusable logic to check Oomnitza begin criteria for objects
License: MIT
Requires Python: >=3.6
Keywords: oomnitza

=====================
Oomnitza Rule Checker
=====================

Package contains reusable logic to check Oomnitza begin criteria for objects.

The ``check_rules`` handler used to check that the given document corresponds
to the given rules, e.g. matches them.


.. code-block:: python

    given_result = check_rules(
        {
            "rules": [],
            "groupOp": "and",
            "groups": [
                {
                    "groupOp": "and",
                    "rules": [
                        {
                            "op": "cn",
                            "data": "CC1UH",
                            "field": "ASSETS.serial_number",
                        }
                    ],
                    "groups": [],
                },
            ],
        },
        document={
            "equipment_id": "ad2c2ab54adb481c8436d6238838813a",
            "assigned_to": "2e84e8e99431411a84f2339bd02cacb0",
            "serial_number": "C02CC1UHMD6T1",
            "model": "MacBookPro16,1",
        },
        changed_values=None,
        object_type="dontcare",
    )

    assert given_result, "serial number matches"


The ``check_rule_by_op`` handler used to check that the given values satisfy
the specified operator, e.g. equal, begins_with, less_or_equal, etc.


.. code-block:: python

    assert check_rule_by_op(Op.LESS_OR_EQUAL, "1", "2")
    assert check_rule_by_op(Op.HAS_BEEN_CHANGED, "before", "after")
    assert not check_rule_by_op(Op.ENDS_WITH, "aaa", "b")


Development
-----------

Install package with or without test dependencies.

.. code-block:: shell

    python3 -m venv .venv
    source .venv/bin/activate
    pip install oomnitza_rule_checker
    pip install -e '.[tests]'


Feel free to write additional tests to cover the new changes and run test
suite.

.. code-block:: shell

    pytest


Distribution
------------


Build and upload the package to the PyPi repository.

.. code-block:: shell

    python setup.py sdist register upload
srai-chat 0.1.5
A chat library frontend for srai services.
License: MIT
Requires Python: >=3.5
Keywords: SRAI,TOOLS

# srai-chat
A chat library frontend for srai services.

## installation
```
pip install srai-chat
```

## environment
requires the following environment variables set \
```
"TELEGRAM_ROOT_ID": ""
"TELEGRAM_TOKEN": ""
"OPENAI_API_KEY": ""
"MONGODB_CONNECTION_STRING": "
"MONGODB_DATABASE_NAME": ""
```

## usage example
```
import os

from srai_chat.skill.mode_chat_gpt import ModeChatGpt
from srai_chat.skill.skill_image_tag import SkillImageTag
from srai_chat.skill.skill_mode_tools import SkillModeTools


def initialize_default() -> "ContextManager":
    context = ContextManager()
    ContextManager._instance = context
    telegram_token = os.environ["TELEGRAM_TOKEN"]
    telegram_root_id = int(os.environ["TELEGRAM_ROOT_ID"])
    openai_api_key = os.environ["OPENAI_API_KEY"]
    connection_string = os.environ["MONGODB_CONNECTION_STRING"]
    database_name = os.environ["MONGODB_DATABASE_NAME"]
    from srai_chat.service.service_chat_telegram import ServiceChatTelegram
    from srai_chat.service.service_openai_chat_gpt import ServiceOpenaiChatGpt
    from srai_chat.service.service_persistency_mongo import ServicePersistencyMongo
    from srai_chat.service.service_sceduling import ServiceSceduling

    context.service_chat = ServiceChatTelegram(context, telegram_token, telegram_root_id)
    context.service_persistency = ServicePersistencyMongo(context, connection_string, database_name)
    context.service_openai_chat_gpt = ServiceOpenaiChatGpt(context, openai_api_key)
    context.service_sceduling = ServiceSceduling(context)
    return context


if __name__ == "__main__":
    from srai_chat.service.context_manager import ContextManager

    context_manager = initialize_default()
    # initialize services
    # ServiceSceduling.initialize(bot)
    context_manager.initialize()
    context_manager.service_chat.register_skill(SkillImageTag())
    context_manager.service_chat.register_skill(SkillModeTools())
    context_manager.service_chat.register_mode(ModeChatGpt())
    context_manager.service_chat.mode_default = context_manager.service_chat.dict_mode["ModeChatGpt"]

    # start services
    context_manager.start()
```
rest-framework-redesign 0.2.9
Redesign of the browse-able api of Django REST Framework with Bootstrap 5
License: MIT
Requires Python: >=3.7

# rest-framework-redesign

Redesign of the browsable API of Django REST Framework using Bootstrap 5.

This project is aimed at enhancing the user experience of the browsable API of Django REST Framework. 
With a sleek and modern design, the API is now more user-friendly than ever before. 
One of the most exciting features of the project is the support for dark mode. 
This means that users can now switch to a darker color scheme, which is not only easier on the eyes but also looks incredibly cool.

Our goal with rest-framework-redesign has always been to make it easier for developers to work with Django REST Framework.
We believe that by improving the user experience, we can help developers save time and be more productive.

So if you're looking for a better way to work with Django REST Framework, be sure to check out rest-framework-redesign.
We're confident that you'll love it as much as we do!


## Get started

Install the package:

```bash
pip install rest-framework-redesign
```

Add `rest_framework_redesign` to `INSTALLED_APPS` setting, make sure that it's before `rest_framework`

```python
# settings.py

INSTALLED_APPS = [
    ...
    'rest_framework_redesign',
    'rest_framework',
    ...
]
```

I hope you find this useful.
rest-framework-material 0.2.3
Material design for Django REST Framework API
License: MIT
Requires Python: >=3.7

# rest-framework-material

Material Design for Django REST Framework API.

The project aims to improve the look and feel of the API.

## Get started

Install the package:

```bash
pip install rest-framework-material
```

Add `rest_framework_material` to `INSTALLED_APPS` setting, make sure that it's before `rest_framework`

```python
# settings.py

INSTALLED_APPS = [
    ...
    'rest_framework_material',
    'rest_framework',
    ...
]
```

I hope you find this useful.