semvec/pypi-packages huggingface dataset:
tornado-m2crypto 0.1.3
Extension for running tornado with M2Crypto instead of the standard python SSL module
Requires Python: >=2.7
Keywords: dirac

# tornado_m2crypto

This extension is meant to run tornado with M2Crypto instead of the standard python SSL

# Dependencies

Of course, you need M2Crypto
You need a patched version of Tornado: git+https://github.com/DIRACGrid/tornado.git@iostreamConfigurable


# How to use


The tornado_m2crypto/tests directory contains several examples.
Basically, just take any normal https server with tornado you want, and add the following at the beginning


```
# Patching
# needed because some direct calls to ssl_wrap_socket in TCPServer
from tornado_m2crypto.m2netutil import m2_wrap_socket
import tornado.netutil
tornado.netutil.ssl_wrap_socket = m2_wrap_socket


# Dynamically configurable
import tornado.iostream
tornado.iostream.SSLIOStream.configure('tornado_m2crypto.m2iostream.M2IOStream')


import tornado.httputil
tornado.httputil.HTTPServerRequest.configure('tornado_m2crypto.m2httputil.M2HTTPServerRequest')

```





# How to test

There are several types of tests.

## Unit test

Almost a copy paste of the SSLIOStream tests from tornado:

`tox -r`

## HTTPS test

A simple HTTPS server

`tox -r -e m2io_https`

You can then talk to you using (only requires `requests` package)

`python test_client.py`


## DIRAC test

An HTTPS server converting the certificate to "DIRAC certificates"

`tox -r -e m2io_dirac`

You can talk to it the same way as the normal HTTPS test, and you can give it a proxy
bachstudio-pubmedmcp 0.1.4
A MCP server for PubMed data
Requires Python: >=3.12

# PubMed MCP

A MCP server that allows to search and fetch articles from PubMed.

PubMed is a database of over 35 million citations for biomedical literature from MEDLINE, life science journals, and online books.

This MCP server relies on the [pubmedclient](https://github.com/grll/pubmedclient) Python package to perform the search and fetch operations.

## Credits

This project is maintained by **bachstudio**.

Original project: This is based on the pubmedmcp project originally developed by [grll](https://github.com/grll).

## Usage

Add the following to your `claude_desktop_config.json` file:

```json
{
    "mcpServers": {
        "pubmedmcp": {
            "command": "uvx",
            "args": ["bachstudio-pubmedmcp@latest"],
            "env": {
                "UV_PRERELEASE": "allow",
                "UV_PYTHON": "3.12"
            }
        }
    }
}
```

Make sure uv is installed on your system and 'uvx' is available in your PATH (claude PATH sometimes is not the same as your system PATH).
You can add a PATH key in your `claude_desktop_config.json` file to make sure uv is available in claude PATH.
py-sr25519-bindings 0.2.3
Python bindings for schnorrkel RUST crate
Requires Python: >=3.7

# py-sr25519-bindings
Python bindings for sr25519 library: https://github.com/w3f/schnorrkel

Reference to https://github.com/LocalCoinSwap/kusama-reference-implementation/tree/improve-trading-tests/bindings and https://gitlab.com/kauriid/schnorrpy/ for the initial work 

## Documentation

https://docs.rs/py-sr25519-bindings

## Installation

### Install from PyPI

```
pip install py-sr25519-bindings
```

### Compile for local development

```
pip install -r requirements.txt
maturin develop
```
### Build wheels
```
pip install -r requirements.txt

# Build local OS wheel
maturin build

# Build manylinux1 wheel
docker build . --tag polkasource/maturin
docker run --rm -i -v $(pwd):/io polkasource/maturin build

```

## Usage 

```python
import bip39
import sr25519

message = b"test"

# Get private and public key from seed
seed = bip39.bip39_to_mini_secret('daughter song common combine misery cotton audit morning stuff weasel flee field','')

public_key, private_key = sr25519.pair_from_seed(bytes(seed))

# Generate signature
signature = sr25519.sign(
    (public_key, private_key),
    message
)

print('Signature', signature.hex())

# Verify message with signature
if sr25519.verify(signature, message, public_key):
    print('Verified')
```

## License
https://github.com/polkascan/py-sr25519-bindings/blob/master/LICENSE
emmi 0.10.6
A Selection of Tools for EPICS Monday-Morning Integrations
Requires Python: >=3.8

# The EPIC Monday-Morning Integration Toolkit

[![pipeline status](https://codebase.helmholtz.cloud/emmitools/emmi/badges/master/pipeline.svg)](https://codebase.helmholtz.cloud/emmitools/emmi/-/commits/master)
[![coverage report](https://codebase.helmholtz.cloud/emmitools/emmi/badges/master/coverage.svg)](https://codebase.helmholtz.cloud/emmitools/emmi/-/commits/master)
[![Latest Release](https://codebase.helmholtz.cloud/emmitools/emmi/-/badges/release.svg)](https://codebase.helmholtz.cloud/emmitools/emmi/-/releases)
[![pylint](https://codebase.helmholtz.cloud/emmitools/emmi/-/badges/pylint.svg)](https://codebase.helmholtz.cloud/emmitools/emmi/-/lint/)

EMMItool is aiming to be the "Swiss army knife" for rapid ad-hoc
integration of
scientific instrumentation into [EPICS](https://epics.anl.gov/)-based
[beamline control sytems](https://blueskyproject.io/).

But currently, it's more like "the chaotic toolbox of a confused craftsman".

See [the documentation](./doc/index.md) for a rapid introduction about
the structure and what's in the box.
bclib 3.37.1
Python base gateway for communicate with basiscore webserver
Requires Python: >=3.13

# BasisEdge
 <h2> BasisCore.Server.Edge</h2>

Python base gateway for communicate with <b><a href="https://basiscore.com"> BasisCore</a></b> webserver. The <b>BasisEdge</b> framework is an ideal tool for developers who prioritize ease of access and security in their network development projects. As the name suggests, BasisEdge sits at the edge of the network, enabling users to create an API, DBsources, websocket service that connect to a server, and develop their web project using <b>BasisCore</b> libraries.

When it comes to modern products, ensuring stability and security is critical. That's why BasisEdge places a strong emphasis on both of these factors. In addition, it's an open source product, meaning that users have the flexibility to access and modify the code as needed for their specific use cases.

One of the benefits of <b>BasisEdge</b> is its API creation capabilities. APIs allow different systems to communicate and share information with each other, streamlining workflows and improving efficiency. Additionally, users can connect to a server and access the resources and data they need for their projects. With BasisCore libraries available, developers can take advantage of pre-built functionality and tools to speed up their development process.

Another advantage of <b>BasisEdge</b> is its ability to help organizations preserve essential data. In many cases, managers prefer that important databases be stored in local data centers rather than public data centers. This is where tools like <b>BasisEdge</b> can connect the edge of these two networks and enable developers to create secure, reliable applications that meet the policies of the organization's managers.

In conclusion, <b>BasisEdge</b> is an excellent tool for network development projects. With its focus on security and stability, open source accessibility, and API creation and server connectivity capabilities, it can help developers create robust web projects with ease. And for managers concerned with data preservation, BasisEdge can be a legendary savior. Give <b>BasisEdge</b> a try and see what it can do for you and your organization!
tinytoolslib 0.5.1
Set of tools for use with tinycontrol devices like LK2.X, LK3.X, LK4.X or tcPDU.
Requires Python: >=3.7
Keywords: tinycontrol, lk, tcpdu

# tinyToolsLib

Set of tools for use with tinycontrol devices like LK2.X, LK3.X, LK4.X or tcPDU.

## Features

Easy to use functions for common actions with tinycontrol devices:

- Flashing firmware via TFTP (LK2.X, LK3.X).
- Flashing firmware via HTTP (LK4, tcPDU).
- Getting data from devices.
- Sending commands to devices (for common tasks like controlling OUTs, PWMs, etc.).
- Checking device version.

## Usage

Usage is described in documentation.

## Documentation

Documentation is available at <https://tinycontrol-software.gitlab.io/tinytoolslib/>