semvec/pypi-packages huggingface dataset:
pyoscp 0.1.0
Python library for the Open Smart Charging Protocol (OSCP)
License: MIT
Requires Python: >=3.7,<4.0
Keywords: ev,charging,OpenAPI,Swagger,REST

# pyOSCP

Python Rest-Interface for Open Smart Charging Protocol (OSCP) 2.0 built on Flask-RESTX, providing a OpenAPI interface.

OSCP is not as widely used as OCPI or OCPP which are much more a business standard.
It can be used to communicate flexibilities and capacities, having a typical negotiation process.

As version 1.x used a SOAP Approach, this can still be seen from the protocol.
The Registration between the participants uses a handshake and needs to have an open port on both sides.

To reduce reimplementation, an academic implementation is provided here, which furthermore allows to integrate with a new RESERVATIONS endpoint, if needed.

Currently, is no other public Python Implementation for the OSCProtocol.
The documentation of the protocol can be found here (https://www.openchargealliance.org/protocols/oscp-20/ - requires mail-registration)

## Install Instructions

`pip install pyoscp`

or after cloning the repository, one can run `pip install -e .` to work locally with the package.

## Package information

```
oscp
├── __init__.py
├── *_endpoints.py      # <- contains REST Endpoint Descriptions
├── json_models.py      # <- contains JSON Schemas in Flask-RestX
└── RegistrationManager # <- contains stubs which have to be inherited and implemented
```

## Configuration

`main.py` contains an example of how to use this project.
The managers are meant to be understood as interfaces, which must be implemented according to the business logic which is not part of this communications module.

An example architecture would use a background job to schedule answers (for example for the commands module) while saving the data from the post/patch requests in a seperate database, which is used for communication between the background job and the Flask app.
python-ocpi 0.1.0
Python library for the Open Charge Point Interface (OCPI)
License: MIT
Requires Python: >=3.7,<4.0
Keywords: ev,charging,OpenAPI,Swagger,REST

# pyOSCP

Python Rest-Interface for Open Smart Charging Protocol (OSCP) 2.0 built on Flask-RESTX, providing a OpenAPI interface.

OSCP is not as widely used as OCPI or OCPP which are much more a business standard.
It can be used to communicate flexibilities and capacities, having a typical negotiation process.

As version 1.x used a SOAP Approach, this can still be seen from the protocol.
The Registration between the participants uses a handshake and needs to have an open port on both sides.

To reduce reimplementation, an academic implementation is provided here, which furthermore allows to integrate with a new RESERVATIONS endpoint, if needed.

Currently, is no other public Python Implementation for the OSCProtocol.
The documentation of the protocol can be found here (https://www.openchargealliance.org/protocols/oscp-20/ - requires mail-registration)

## Install Instructions

`pip install pyoscp`

or after cloning the repository, one can run `pip install -e .` to work locally with the package.

## Package information

```
oscp
├── __init__.py
├── *_endpoints.py      # <- contains REST Endpoint Descriptions
├── json_models.py      # <- contains JSON Schemas in Flask-RestX
└── RegistrationManager # <- contains stubs which have to be inherited and implemented
```

## Configuration

`main.py` contains an example of how to use this project.
The managers are meant to be understood as interfaces, which must be implemented according to the business logic which is not part of this communications module.

An example architecture would use a background job to schedule answers (for example for the commands module) while saving the data from the post/patch requests in a seperate database, which is used for communication between the background job and the Flask app.
xformula 0.1.1
Highly customizable language front-end, aimed to be a base for custom DSL evaluators.
License: MIT
Requires Python: >=3.11,<4.0

# XFormula

Highly customizable language front-end, aimed to be a base
for custom DSL evaluators.

---

**Developer note:** I've created this library to use in many of my projects and
decided to publish the source code, because it may help somebody to write a DSL
compiler or evaluator can get benefit from Python ecosystem, within a reasonable
time.

I couldn't write documentation because of my tight schedule in these days. 
But I see the code as self-explanatory, feel free to read it if you're interested.

In the meantime, please note that **this project is still in development**.

---


## Features:

- Built on top of [Lark Parser Toolkit](https://lark-parser.readthedocs.io/en/latest/)
- - LALR(1), Earley and CYK parsing algorithms are supported by Lark;
    XFormula uses LALR(1) by default
- Automatic EBNF grammar generator via declarative Python functions
  (The final grammar generated using the default features can be found in
  [out/Grammar.lark](https://github.com/ertgl/xformula/blob/main/out/Grammar.lark)
  file)
- Modular featurization system to manipulate grammar and parser context dynamically. 
- A ready-to-use compact dialect that supports some general purpose data types
  and basic symbols
  (See `xformula.syntax.ast` package)

See `xformula.syntax.core.features` package and
`xformula.syntax.core.operations.default_operator_precedences` module for more
information about the default behaviours.


## License

[MIT](https://github.com/ertgl/xformula/blob/main/LICENSE)