semvec/pypi-packages huggingface dataset:
obscura-client 0.1.0
Python client for Obscura
Requires Python: >=3.6

# Obscura Client For Python

## Using the `obscura-client` Library

This guide will walk you through the steps to install and use the `obscura-client` library in Python, and provide examples on how to handle errors and deserialize responses using `json`.

## Installation

First, install the `obscura-client` using pip:

```bash
pip install obscura-client
```

## Usage

Make sure to import the necessary modules in your Python script:

```python
from obscura_client import Client, ConfigMap
```

Here's an example demonstrating how to use the `Client` and `ConfigMap`:

```python
def main():
    url = "http://localhost:9797"
    token = "your token here"

    client = Client(url, token)
    config_map = ConfigMap(client)

    # Reading a key

    try:
        data = config_map.read("your path here")

        print(f"Deserialized JSON: {data}")
    except Exception as e:
        print(f"Failed to deserialize JSON: {e}")

    # Reading a key prefix
    try:
        data = config_map.read_with_prefix("your path prefix here")
        print(f"Deserialized JSON with prefix: {data}")
    except Exception as e:
        print(f"Failed to deserialize JSON with prefix: {e}")

if __name__ == "__main__":
    main()
```

## Error Handling

The example above includes error handling for:

- Failed HTTP requests
- Deserialization errors
- Missing keys

Ensure that you handle these errors appropriately in your application to maintain robustness.

## Additional Resources

For more information, refer to the server project repository [here](https://github.com/soucosmo/obscura).

This guide offers a basic understanding of using the `obscura-client` library. For more complex scenarios, consider exploring the library documentation and source code.
sketchfab-mcp 0.1.2
A microservice for interacting with the Sketchfab API using MCP (Model Control Protocol).
Requires Python: >=3.13

# Sketchfab MCP

A microservice for interacting with the Sketchfab API using MCP (Model Control Protocol).

## Features

- Search for downloadable models on Sketchfab
- Download a model from Sketchfab given a UID

## Environment Variables

- `SKETCHFAB_API_TOKEN`: Your Sketchfab API token

## How to use

1. Create an Sketchfab account: https://sketchfab.com/
1. You can find your Sketchfab API Token at: https://sketchfab.com/settings/password
3. Add the following MCP server as a command in Cursor:

```bash
env SKETCHFAB_API_TOKEN=PLACEHOLDER uvx sketchfab-mcp
```

## Running with Docker

```bash
docker build -t sketchfab-mcp .
docker run -it --rm -p 8000:8000 -e SKETCHFAB_API_TOKEN=PLACEHOLDER sketchfab-mcp
```
prepmagma 0.2.2
prepare data for running magma from unorganized gwas data
Requires Python: >=3.8

# cleanmagma

- [x] To retrieve the information from GWAS summary statistics file for running magma.
- [x] To run magma with snp to gene annotation, gene level and gene set level enrichment.
- [x] To summarize the results for the same input gmt files (named gene list) enriched to multiple GWAS data and plot a heatmap with rows are given input gmt names and columns are different GWAS file names.

Examples:
```{py}
from prepmagma import res
from prepmama import db

#work_folderwhere the GWAS summary files are located

#target_folder where the used GWAS summary files are moved to
#filename is the single  GWAS summary file you want to work on
db.run_single_gwas(work_folder, filename, target_folder, p = ['p'], n=['n_ownbw'], rsid=['rsid'], chromosome=['chr'], position=['pos'])
#res_folder is where all the results located
#summary_file is a tsv combining the results in res_folder
#pattern for filtering VARIABLE to be combined

df = res.compile_res(res_folder, summary_file, pattern)
res.heatmap(df, 'gsea/heatmap_common.pdf')
```
openg2p-registry-bg-tasks-models 1.1.1
OpenG2P Registry BG Tasks Models
Requires Python: >=3.7

#  openg2p-registry-models

[![Pre-commit Status](https://github.com/OpenG2P/openg2p-g2p-bridge-api/actions/workflows/pre-commit.yml/badge.svg?branch=develop)](https://github.com/OpenG2P/openg2p-g2p-bridge-api/actions/workflows/pre-commit.yml?query=branch%3Adevelop)
[![Build Status](https://github.com/OpenG2P/openg2p-g2p-bridge-api/actions/workflows/test.yml/badge.svg?branch=develop)](https://github.com/OpenG2P/openg2p-g2p-bridge-api/actions/workflows/test.yml?query=branch%3Adevelop)
[![codecov](https://codecov.io/gh/OpenG2P/openg2p-g2p-bridge-api/branch/develop/graph/badge.svg)](https://codecov.io/gh/OpenG2P/openg2p-g2p-bridge-api)
[![openapi](https://img.shields.io/badge/open--API-swagger-brightgreen)](https://validator.swagger.io/?url=https://raw.githubusercontent.com/OpenG2P/openg2p-g2p-bridge-api/develop/api-docs/generated/openapi.json)
![PyPI](https://img.shields.io/pypi/v/openg2p-g2p-bridge-api?label=pypi%20package)
![PyPI - Downloads](https://img.shields.io/pypi/dm/openg2p-g2p-bridge-api)



## Licenses

This repository is licensed under [MPL-2.0](LICENSE).
openg2p-registry-celery-beat-producers 1.1.1
OpenG2P Registry Celery Beat Producers
Requires Python: >=3.7

#  openg2p-registry-celery-tasks

[![Pre-commit Status](https://github.com/OpenG2P/openg2p-g2p-bridge-api/actions/workflows/pre-commit.yml/badge.svg?branch=develop)](https://github.com/OpenG2P/openg2p-g2p-bridge-api/actions/workflows/pre-commit.yml?query=branch%3Adevelop)
[![Build Status](https://github.com/OpenG2P/openg2p-g2p-bridge-api/actions/workflows/test.yml/badge.svg?branch=develop)](https://github.com/OpenG2P/openg2p-g2p-bridge-api/actions/workflows/test.yml?query=branch%3Adevelop)
[![codecov](https://codecov.io/gh/OpenG2P/openg2p-g2p-bridge-api/branch/develop/graph/badge.svg)](https://codecov.io/gh/OpenG2P/openg2p-g2p-bridge-api)
[![openapi](https://img.shields.io/badge/open--API-swagger-brightgreen)](https://validator.swagger.io/?url=https://raw.githubusercontent.com/OpenG2P/openg2p-g2p-bridge-api/develop/api-docs/generated/openapi.json)
![PyPI](https://img.shields.io/pypi/v/openg2p-g2p-bridge-api?label=pypi%20package)
![PyPI - Downloads](https://img.shields.io/pypi/dm/openg2p-g2p-bridge-api)



## Licenses

This repository is licensed under [MPL-2.0](LICENSE).
openg2p-registry-celery-workers 1.1.1
OpenG2P Registry Celery Workers
Requires Python: >=3.7

#  openg2p-registry-celery-tasks

[![Pre-commit Status](https://github.com/OpenG2P/openg2p-g2p-bridge-api/actions/workflows/pre-commit.yml/badge.svg?branch=develop)](https://github.com/OpenG2P/openg2p-g2p-bridge-api/actions/workflows/pre-commit.yml?query=branch%3Adevelop)
[![Build Status](https://github.com/OpenG2P/openg2p-g2p-bridge-api/actions/workflows/test.yml/badge.svg?branch=develop)](https://github.com/OpenG2P/openg2p-g2p-bridge-api/actions/workflows/test.yml?query=branch%3Adevelop)
[![codecov](https://codecov.io/gh/OpenG2P/openg2p-g2p-bridge-api/branch/develop/graph/badge.svg)](https://codecov.io/gh/OpenG2P/openg2p-g2p-bridge-api)
[![openapi](https://img.shields.io/badge/open--API-swagger-brightgreen)](https://validator.swagger.io/?url=https://raw.githubusercontent.com/OpenG2P/openg2p-g2p-bridge-api/develop/api-docs/generated/openapi.json)
![PyPI](https://img.shields.io/pypi/v/openg2p-g2p-bridge-api?label=pypi%20package)
![PyPI - Downloads](https://img.shields.io/pypi/dm/openg2p-g2p-bridge-api)



## Licenses

This repository is licensed under [MPL-2.0](LICENSE).
dind3 0.1
library to import popular data librabries
Requires Python: >=3.6

# dind3

`dind3` is a lightweight Python library that automatically imports NumPy,Pandas and Matplotlib as `np`,`pd`and `plt`.

## Installation
```sh
pip install dind
```
## Usage
```sh
from dind import np, pd

print(np.array([1, 2, 3]))
print(pd.DataFrame({"A": [1, 2, 3]}))

```
cli-todo 0.1.0
A simple command-line interface (CLI) application to manage your todo list.
Requires Python: >=3.12

# Todo CLI

A simple command-line interface (CLI) application to manage your todo list.

<video controls>
    <source src="./demo.mp4" />
</video>


## Features

- Add new tasks
- List all tasks
- Mark tasks as completed
- Delete tasks

## Installation

Install the package:

```bash
pip install cli-todo
```

### To-Do List Commands

#### ➕ Add a New Task
```sh
C:\User> uv run python main.py add
Task: Buy grocery for sehri and iftari
Task added: Buy grocery for sehri and iftari
```

#### 📜 List All Tasks
```sh
C:\User> uv run python main.py list
0. Buy grocery for sehri and iftari [❌]
```

#### ✅ Mark a Task as Completed
```sh
C:\User> uv run python main.py complete
[?] Select task to mark as completed:
 > Buy grocery for sehri and iftari

Task: "Buy grocery for sehri and iftari" marked as completed.
```

#### ❌ Remove a Task
```sh
C:\User> uv run python main.py remove
[?] Select task to remove:
 > 0. Buy grocery for sehri and iftari [✅]

Task: "Buy grocery for sehri and iftari" removed.
```
SurfaceBuilder247 1.2
Surface Builder 24/7

# Python version of Surface Builder 24/7

### Developed by University of Southampton GeoData Institute
### on behalf of ONS

v1.0 Jan-Mar 2022 - Initial version
v1.1 Jul 2024 - Usability and file outputs improvements

A Python (3.x and above) redevelopment of the original VB code.

For information about the project visit http://pop247.geodata.soton.ac.uk/

Code repository: https://github.com/geo-data/SurfaceBuilder247py

### Usage

In `Main.py`:

```from SurfaceBuilder247 import SB247```