semvec/pypi-packages huggingface dataset:
music-brainz-api-micro 0.1.10
A micro client for MusicBrainz, implements simple functions to retrieve information
Requires Python: >=3.11.5

# MusicBrainzAPI

A series of scripts that enable retrieving information from MusicBrainz API: https://musicbrainz.org/doc/MusicBrainz_API

# Usage

When calling the public functions you will usually get a `Response` object. You can check the `error` property to determine if the REST call was successful, `error_text` will attempt to hold some more useful information regarding the error.

Once successful the `response` property contains the expected data structure from MusicBrainz

```python
import jsonpickle
from music_brainz_api_micro import MusicBrainzAPI as MB

mb = MB()
result = mb.get_artist_by_mbid(
    "35f92c4a-69d0-4ed1-ab9e-05259db89d14"
    )
if result.error is False:
    artist_obj = jsonpickle.decode(result.reponse)
    print(artist_obj["sort-name"])
    # "At the Gates"
```

# Functions

Get artist data using unique identifier

```
get_artist_by_mbid(mbid)
```

Get all releases by artist

```
get_releases_by_artist(mbid)
```

Get just a list of release titles

```
get_release_titles_by_artist(mbid)
```

# Maintenance

Safely delete all cache files, default in `$HOME/.cache/MusicBrainzAPI`

# Build

```python
python -m build
python -m twine upload dist/*
```
listoapi 0.1.78
Listo SDK module for web API integration
Keywords: api listo listoapi sdk integration python

Listo SDK module for web API integration
===============================================

* `Install`_
* `Documentation`_

Install
-------

``pip install listoapi``

Documentation
--------------

Complete documentation can be found at `https://apidocs.listo.mx/ <https://apidocs.listo.mx/>`_.

Start
~~~~~~~~~~~~~~~~~~~~~~

::

    from listoapi import ListoApi

    api = ListoApi("your_listo_token")

Search invoices
~~~~~~~~~~~~~~~~~~~~~~

::

    invoice = next(api.Invoices.search(uuid="00112233-4455-6677-8899-AABBCCDDEEFF"))

or

::

    for invoice in api.Invoices.search(issued_on="m:2018-05-01T00:00:00"):
        # Your code

Full details of invoice
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

::

    api.Invoices.details(invoice['id'])

Add or delete payments
~~~~~~~~~~~~~~~~~~~~~~

::

    api.Invoices.add_payment(invoice['id'], bank_account=1234, amount=200, amount_mxn=200,
                             effective_on=""2018-07-24T00:00:00)
    api.Invoices.delete_payments(invoice['id'])

Generate invoice
~~~~~~~~~~~~~~~~~~~~~~

::

    api = ListoApi("your_listo_token", "path/to/cer/file.cer", "path/to/key/file.key", "key_password")
    generation_data = [{...}]

    res, certification_data, original_chain = next(api.Invoicing.generate(generation_data, staging=False, certify=True))
rest-client-micro 0.3.22
A micro rest client
Requires Python: >=3.11.5

# RestClientMicro

Run REST calls

# Usage

```python
from rest_client_micro import RESTClient as rc
from rest_client_micro import RESTObject as ro

rest_object = ro()
rest_object.endpoint = 'https://api.scryfall.com/cards/named'
rest_object.params = {'exact':'Overgrown Tomb'}
rest_client = rc()
result = rest_client.execute(rest_object)
print(result)
```

e.g

runs a Magic the Gathering card search against the exact name 'Overgrown Tomb'.

Returns the content of the response

```python
{
    'error': False,
    'response':"{\"object\":\"card\",\"id\":\"eff1f52c-5c43-4260-aaa0-6920846a191c\",\"oracle_id\":\"975ec9a3-6f20-4177-8211-82526e092538\",\"multiverse_ids\":[453003],\"mtgo_id\":69919,\"arena_id\":68734,\"tcgplayer_id\":175196,\"cardmarket_id\":363554,\"name\":\"Overgrown Tomb\",.....ll\"}}"
}
```

Or an object describing an error

```python
{
    "error":True,
    "description":"Resource not found"
    }
or
{
    "error":True,
    "description":"Unterminated string starting at: line 1 column 14 (char 13)"
}
```

## Auth

```python
from rest_client_micro import RESTClient as rc, RESTObject as ro, BasicAuth as ba

rest_object = ro()
rest_object.endpoint = 'http://localhost:3876/auth'
rest_object.params = ''
rest_object.basic_auth = ba('user', 'secretpass')
rest_client = rc()
result = rest_client.execute(config=rest_object)
```

# Build

```bash
python -m build
python -m twine upload dist/*
```
mkdocs-marimo 0.2.1
MkDocs marimo plugin
Requires Python: >=3.9

# MkDocs marimo Plugin

> [!WARNING]
> The MkDocs marimo plugin is under active development. Features and documentation are being continuously updated and expanded.

This plugin allows you to embed interactive [marimo](https://github.com/marimo-team/marimo) notebooks in your MkDocs documentation.

## Installation

```bash
# pip
pip install mkdocs-marimo
# uv
uv pip install mkdocs-marimo
# pixi
pixi add mkdocs-marimo
```

## Usage

Create reactive and interactive Python blocks in your markdown files using [marimo](https://github.com/marimo-team/marimo).

### Embedding inline Python code and marimo elements

This uses code fences to embed marimo components as [marimo islands](https://docs.marimo.io/guides/exporting/?h=#embed-marimo-outputs-in-html-using-islands).

````markdown
```python {marimo}
import marimo as mo

name = mo.ui.text(placeholder="Enter your name")
name
```

```python {marimo}
mo.md(f"Hello, **{name.value or '__'}**!")
```
````

### Embedding the marimo playground

For an easy way to embed marimo notebooks or applications, we recommend embedding the marimo playground. This feature uses `pymdownx.blocks` to embed marimo notebooks in your MkDocs documentation, creating iframes that render the marimo playground.

````markdown
/// marimo-embed
    height: 400px
    mode: run

```python
@app.cell
def __():
    import matplotlib.pyplot as plt
    import numpy as np

    x = np.linspace(0, 10, 100)
    y = np.sin(x)

    plt.figure(figsize=(8, 4))
    plt.plot(x, y)
    plt.title('Sine Wave')
    plt.xlabel('x')
    plt.ylabel('sin(x)')
    plt.grid(True)
    plt.gca()
    return
```
///
````

Available options for `marimo-embed`:

- `height`: Named sizes (`small`, `medium`, `large`, `xlarge`, `xxlarge`) or custom pixel values (e.g. `500px`) (default: medium)
- `mode`: read, edit (default: read)
- `app_width`: wide, full, compact (default: wide)

You can also embed marimo files directly:

````markdown
/// marimo-embed-file
    filepath: path/to/your/file.py
    height: 400px
    mode: read
    show_source: true
///
````

Additional options for `marimo-embed-file`:

- `filepath`: path to the marimo file to embed (required)
- `show_source`: true, false (default: true) - whether to show the source code below the embed

## Examples

Checkout the [documentation](https://marimo-team.github.io/mkdocs-marimo) for more examples.

## Contributions welcome

Feel free to ask questions, enhancements and to contribute to this project!

See [CONTRIBUTING.md](CONTRIBUTING.md) for more details.

## Credits

- Repo template from [mkdocs-static-i18n](https://github.com/ultrabug/mkdocs-static-i18n)
braidacq-exec 0.1.1
Toy version of Braid
Requires Python: >=3.8.5

# BraidPy
        
        Python implementation of BRAID model.
        Learning, Reading, Visual word recognition and lexical Decision
        
        ## Installation of the toy version (fast)
        
        In the root directory, run the following command :
        
        ```bash
        pip install braidacq_exec
        ```
        
        ## Installation of the full software
        
        If you want more parameters or to modify the source code, use instead (you should have conda installed):
        
        ```bash
        git clone https://gitlab.com/braid-acq/BRAID-Acq.git
        cd braidacq_exec
        make install
        conda activate braidacq_exec_env
        ```
        
        ## Current Features
        
        The current implementation performs simulations of:
        
        - Letter perception 
        - Visual Word recognition
        - Lexical Decision
        - Word reading (decoding)
        - Novel Word Acquisition
        
        ## Usage
        
        Independently on how you installed the package you now can run the toy version with:
        
        ```bash
        braidacq_exec
        ```
        
        ## Contact
        
        email  
        
        Alexandra Steinhilber : alexandra.st@free.fr / alexandra.steinhilber@univ-grenoble-alpes.fr  
        Julien Diard : julien.diard@univ-grenoble-alpes.fr