semvec/pypi-packages huggingface dataset:
brainaccess-board 1.0.2
Python library for interfacing with BrainAccess Board
Requires Python: >=3.8
Keywords: BCI, EEG, brainaccess, neuroscience

# brainaccess-board

Communication with [BrainAccess Board](https://www.brainaccess.ai/software/brainaccess-board/) and its database.

[Full documentation](https://www.brainaccess.ai/documentation/board-python-api/)

## Installation

```bash
pip install brainaccess-board
```

## Usage

### Connect to active database

```python
import brainaccess_board as bb

db, status = bb.db_connect(filename='current')
if status:
    data = db.get_mne()
    print(f"Dictionary of connected devices:\n {data}")
    print(f"MNE structure: {data[next(iter(data))]}")
```

```bash
Dictionary of connected devices:
 {'b2b586a2-da7a-4420-8a6d-cb890e9ba7d7': <RawArray | 8 x 36500 (146.0 s), ~2.
2 MB, data loaded>}

MNE structure: <RawArray | 8 x 36500 (146.0 s), ~2.2 MB, data loaded>
```

### Read previously saved database file

```python
import brainaccess_board as bb

db, status = bb.db_connect(filename='Data_saved_by_BrainAccess_Board.db')
if status:
    data = db.get_mne()
    print(f"Dictionary of devices:\n {data}")
    print(f"MNE structure: {data[next(iter(data))]}")
```

### Communication with BrainAccess Board

```python
import brainaccess_board as bb

bc, commands, status = bb.msg_connect()
print(commands)

if status:
    response = bc.command(commands['test'])
    print(response)
```

### Setup LSL Markers

Creates LSL stream with markers.

```python
import brainaccess_board as bb

stim = bb.stimulation_connect(name="BrainAccessMarkers")

if stim.have_consumers():
    stim.annotate("1")
```
buttonmaker 0.1.0
A package for creating buttons in Pygame
Requires Python: >=3.8

ButtonMaker

Created by Timmeit

This is my first Python package. You are free to use it.

About

This package is designed for creating buttons in Python projects.
Easy to use and integrate with Pygame or other GUI libraries.

Installation

If you want to install the package locally:

pip install .


If published on PyPI, you could use:

pip install buttonmaker


(replace buttonmaker with the actual package name on PyPI)

Usage
from buttonmaker import Button

# Create a button
btn = Button(text="Click me", x=100, y=100)
btn.draw(screen)

Contributing

Feel free to fork the project and submit pull requests.
Please follow standard Python coding conventions.

License

This package is free to use.
chopcal 0.4.0
Provides the results of chopper calculations from McStas instruments
Requires Python: >=3.9

# Chopcal

## Description
Exposes chopper calculations to Python which were otherwise hidden in McStas instruments.


## Supported components

| source          | name                                                            | component                                 | type      |
|-----------------|-----------------------------------------------------------------|-------------------------------------------|-----------|
| Instr           | BIFROST                                                         | `chopcal.bifrost`                         | function  |
| runtime library | [chopper-lib](https://github.com/mcdotstar/mcstas-chopper-lib/) | `chopcal.mcstas`                          | submodule |
|                 | chopper parameters                                              | `chopper.mcstas.Chopper`                  | class     |
|                 | transmitted inverse-velocity phase space                        | `chopper.mcstas.inverse_velocity_windows` | function  |
|                 | transmitted inverse-velocity extremea                           | `chopper.mcstas.inverse_velocity_limits`  | function  |
|                 | transmitted wavelength extremea                                 | `chopper.mcstas.wavelength_limits`        | function  |



## Installation

```bash
pip install chopcal
```

Or, from the source repository to get the latest development version
```bash
pip install git+https://github.com/g5t/chopper-calculations.git
```
bitemark 0.1.0
Reference implementation for `BiteMark` - a markup language for recipes based on Markdown.
Requires Python: >=3.11

# BiteMark

[![PyPI - Version](https://img.shields.io/pypi/v/bitemark.svg)](https://pypi.org/project/bitemark)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/bitemark.svg)](https://pypi.org/project/bitemark)
[![codecov](https://codecov.io/gh/t4k1t/bitemark/graph/badge.svg?token=Y5D4KX42LL)](https://codecov.io/gh/t4k1t/bitemark)

Reference implementation for `BiteMark` - a markup language for recipes based on Markdown.

## Why

I was looking for a uniform way to store my collected recipes in digital form. Since I've already stored my notes in Markdown format for many years, it seemed like a reasonable choice for recipes too:
1. It's human readable - so are recipes!
2. It's structured - so are recipes!
3. It's easily extensible
4. It's straighforward to format text and lists

## Why not JSON-LD?

Many websites expose recipe metadata in JSON-LD format which is great for extracting the data, but while this if technically human-readable, it's not a great experience.

## Specification

### Recipe Structure

```markdown
# <Recipe title>

## Ingredients

- <quantity> <unit> <ingredient>
- <quantity> <unit> <ingredient>

## Instructions

1. Step 1
2. Step 2
```

E.g. a very simple recipe could look like this:
```markdown
# Spaghetti Carbonara

## Ingredients

- 200 g spaghetti
- 100 g pancetta

## Instructions

1. Boil pasta.
2. Fry pancetta.
```

### Units

In order to facilitate unit conversion, units are sorted into two categories:
1. Volume
2. Mass

- **Volume:**  
    * `ml`
    * `liter / l`
    * `cup_us` - American cup
    * `cup_uk` - British cup
    * `cup` - Defaults to American cup
    * `tablespoon / tbsp`
    * `teaspoon / tsp`
    * `pint`
- **Mass:**  
    * `g / gram`
    * `kg / kilogram`
    * `oz / ounce`
    * `lb / pound`

### Multiple Recipes

- A Markdown file may contain multiple recipes, each beginning with a Markdown header (`#` or `##`).

### Metadata (Optional)

Metadata can be placed at the top of the recipe inside an HTML comment block. This is so the metadata won't be rendered. This little syntactic trick is necessary because, sadly, Markdown does not support comments directly.

Here is an example for common metadata:
  ```markdown
  <!--
  servings: 4
  cuisine: Italian
  units: metric
  -->
  ```

There are no formal restrictions on which keys can be used in metadata.
bel-selenium-fetcher 0.1.2
A simple Selenium-based webpage fetcher for fully rendered HTML
Requires Python: >=3.8

# selenium-fetcher

Simple Python utility to fetch JavaScript-rendered HTML using Selenium + Firefox.

## Usage

```python
from webpage_dowloader import load_url

load_url(
    url="https://example.com",
    file_name="output.html",
    gecko_driver_path="/path/to/geckodriver"
)
arz-tools-api 0.4.0
Arizona ToolsApi
Requires Python: >=3.6

# ArzTools API

Р‘РёР±Р»РёРѕС‚РµРєР° РґР»СЏ РІР·Р°РёРјРѕРґРµР№СЃС‚РІРёСЏ СЃ API РїР°РЅРµР»Рё ArzTools.