semvec/pypi-packages huggingface dataset:
quote 3.0
A wrapper for the Goodreads Quote API
Requires Python: >=3.7
Keywords: quote, quotes, goodreads, wrapper, api

<h3 align="center">
  <img src="https://raw.githubusercontent.com/maxhumber/quote/master/quote.png" height="300px" alt="quote">
</h3>
<p align="center">
  <a href="https://github.com/maxhumber/gazpacho"><img alt="gazpacho" src="https://img.shields.io/badge/scraper-gazpacho-C6422C"></a>
  <a href="https://pypi.python.org/pypi/quote"><img alt="PyPI" src="https://img.shields.io/pypi/v/quote.svg"></a>
  <a href="https://pepy.tech/project/quote"><img alt="Downloads" src="https://pepy.tech/badge/quote"></a>
</p>




#### About

`quote` is a python wrapper for the Goodreads Quote API, powered by [gazpacho](https://github.com/maxhumber/gazpacho).



#### Quickstart

`quote` is simple to use:

```python
from quote import quote

search = 'Jasper Fforde'
result = quote(search, limit=2)
print(result)

# [{'author': 'Jasper Fforde',
#   'book': 'Something Rotten',
#   'quote': 'If the real world were a book, it would never find a publisher. Overlong, detailed to the point of distraction-and ultimately, without a major resolution.'},
#  {'author': 'Jasper Fforde',
#   'book': 'The Well of Lost Plots',
#   'quote': "After all, reading is arguably a far more creative and imaginative process than writing; when the reader creates emotion in their head, or the colors of the sky during the setting sun, or the smell of a warm summer's breeze on their face, they should reserve as much praise for themselves as they do for the writer - perhaps more."}]
```

`quote` can also be used as a command line tool:

```sh
>>> max@mbp % quote 'alain de botton'
People only get really interesting when they start to rattle the bars of their cages.

>>> max@mbp % quote --search='alain de botton'
Intimacy is the capacity to be rather weird with someone - and finding that that's ok with them.
```



#### Install

```
pip install -U quote
```



#### Contribute

For feature requests or bug reports, please use [Github Issues](https://github.com/maxhumber/quote/issues)
pybinlist 1.0
A Python Wrapper for BIN lookup using the Binlist API
Requires Python: >=3.6

# Binlist Python Library

A Python Wrapper for BIN lookup using the Binlist API.

## Installation

You can install the package using pip:

```bash
pip install pybinlist
```

## Features

- Retrieve BIN information such as scheme, type, brand, prepaid status, country details, and bank name.
- Support for proxy requests to bypass restrictions (optional).
- Custom exception handling for better error management.

## Usage

Hereâ€™s how to use the Binlist Python library in your projects:

### Basic Usage

1. **Import the Library**: Import the necessary classes from the library.

```python
from binlist import BIN_Lookup, RateLimitExceededError, BINLookupError
```

2. **Create a BIN Lookup Instance**: Initialize the `BIN_Lookup` class with the desired BIN.

```python
api = BIN_Lookup()
```

3. **Fetch BIN Information**: Use the `fetch` method to retrieve information for a specific BIN. The `proxy` parameter is optional but can help bypass rate limits.

```python
try:
    info = api.fetch(bin='531462', proxy='http://your-proxy:port/')  # Proxy is optional
    print(f"Country: {info.country.name}, Bank: {info.bank.name}")
except (RateLimitExceededError, BINLookupError) as e:
    print(e)
```

### Handling Exceptions

The library provides custom exceptions to handle errors gracefully.

```python
try:
    info = api.fetch(bin='531462')
except RateLimitExceededError as e:
    print(f"Error: {e.message}")
except BINLookupError as e:
    print(f"Error: {e.message}")
```

### Fetching Raw JSON Response

If you prefer to get the raw JSON response, you can use the `fetch_json` method:

```python
try:
    raw_data = api.fetch_json(bin='531462')
    print(raw_data)
except (RateLimitExceededError, BINLookupError) as e:
    print(e)
```

## Contributing

Contributions are welcome! If you have suggestions or improvements, feel free to submit a pull request.
libsgd 0.17.1
Simple Game Development library
Requires Python: <3.14,>=3.8

# LibSGD 

## Simple Game Development Library

LibSGD is a game development library that provides a high level, easy to use 'scene graph' style API for writing games and apps.

LibSGD is open source software licensed under the Zlib/PNG license.

Feel free to drop in to the LibSGD community here: https://skirmish-dev.net/forum

The API reference can be found here: https://skirmish-dev.net/libsgd/help/html/index.html

You can support the LibSGD project through its Patreon page: https://www.patreon.com/libsgd

The LibSGD github repository is here: https://github.com/blitz-research/libsgd

Here is an example of a minimal LibSGD app:

```python
from libsgd import sgd

sgd.init()

sgd.createWindow(640, 480, "Hello World!", sgd.WINDOW_FLAGS_CENTERED | sgd.WINDOW_FLAGS_RESIZABLE)

sgd.setClearColor(1,.5,0,1)

while not (sgd.pollEvents() & sgd.EVENT_MASK_CLOSE_CLICKED):

	if sgd.isKeyHit(sgd.KEY_ESCAPE):
		break

	sgd.renderScene()

	sgd.present()

sgd.terminate()
```

LibSGD is not yet at V1.0 so please be aware that there will be changes made before then, although hopefully nothing major!
ResolutionSystemesLineaireEtNon 0.1.1
Description de mon package

#Structure du projet :

packaging_tutorial/
â”œâ”€â”€ LICENSE
â”œâ”€â”€ pyproject.toml
â”œâ”€â”€ README.md
â”œâ”€â”€ src/
â”‚   â””â”€â”€ example_package_YOUR_USERNAME_HERE/
â”‚       â”œâ”€â”€ __init__.py
â”‚       â””â”€â”€ example.py
â””â”€â”€ tests/
mbank-csv-export 0.3.0
Quick & reliable operations csv exporter for mBank.
Requires Python: <4.0,>=3.12

# mbank-csv-export

Hey, if you're looking for a tool that automatically exports your mBank transactions, then you've come to the right place!

Many projects successfully attempt to parse the crappy mBank CSV operations, but few reliably automate the extraction process. 
I adopted a modular architecture:

`mbank-export` exports transaction CSV files from mBank as a string.
 - Uses Playwright for automated browser interactions.
 - Saves browser state to maintain session continuity, minimizing the need for repeated mobile authentication.

`mbank-parser` parses the raw transactions and converts them to a desired data format.

## Installation
```shell
pip install mbank-csv-export
```

## Auth
Set `MBANK_USERNAME` and `MBANK_PASSWORD` environment variables or quick start by running `mbank --username username --password password`.

## CLI
```shell
# Export last month operations, parse and format as clean csv:  
mbank-export | mbank-parser

# Export raw operations data from 2024-05-01 to 2024-09-30:  
mbank-export --date-from '2024-05-01' --date-to '2024-09-30' > raw-operations.txt

# Then parse and format those raw operations into json:  
cat raw-operations.txt | mbank-parser --format json

# Or in one line:  
mbank-export --date-from '2024-05-01' --date-to '2024-09-30' | mbank-parser --format json
```

## Python package
```python
from datetime import date

from mbank_csv_export import (
  MBank, 
  OperationsParser, 
  Operation, 
  to_csv, 
  to_json,
)

mbank = MBank(headless=False)
mbank.login(username="1111222233334444", password="***")

csv_content: str = mbank.export_operations_csv(
    date_from=date(2024, 5, 1), 
    date_to=date(2024, 9, 30)
)

operations: list[Operation] = parse_operations(csv_content)
for operation in operations:
  print(operation)

print(to_json(operations))
```
brain-stitcher 1.3.2
Stitcher - mesh builder
Requires Python: <4,>=3.0
Keywords: mesh, Sticher

 Stitcher package is a 3D mesh builder

It was developed by metaBIO lab member Heitor Gessner as part of his master thesis.
The main usage is for recreating brain models from rare species, i.e., especies with low number of spiciements.

    It provides 3 classes:
        - Points()
        - Perimeters()
        - Surface()

    Each Periemeter is a collection of Points. Each Surface is a collection of Perimeters.
    For the points in points, it is expected to have a 3D coordinate reference for each point that delimits a plane contour.
    The contours are made by manual or automatic segmentation, in the case of brains. This can be done in softwares such as ImageJ, Horos or Osirix - and than exported as a json file.

Version 1.1:
    -New super resolution method using Fourier Transform
    -Fixed fix_intersection() method from Perimeter() to properly handle rare parallel lines case

Version 1.2:
    -FIX: Point division by number added as operation (division)
    -NEW: Perimeter legth added
    -NEW: estimation of volume and lateral area by numerical approximation prior to the reconstruction (doi: 10.3389/fnana.2013.00028)
    -NEW: report of possible topological artifacts after build the 3D mesh

Version 1.2.1:
    -CHANGE: fixing the intersection is optinal when making a new Perimeter

Version 1.2.2:
    -Fix: loading from cache now works as expected
    -NEW: Perimeter.remove_by_angle(limit_in_radians) method to remove vertices that with angle<limit

Version 1.2.2.1:
    -Fix: Intersection check limit (reconstruction.Surface.intersection_limit) is now a property of Surface intead of being hard coded

Version 1.2.3:
    -NEW: Added Surface.self_intersection boolean property to report problematic surface build

Version 1.3:
    -Fix: remove_overlap was improved and now can handle multiple overlaps on the same spot

Version 1.3.1:
    -Fix: islands_ensemble now doesn't create self intersection anymore

Version 1.3.2:
    -Fix: fix_intersection in Perimiter class didn't update de area vector, now it does
cron-mon-py 0.2.1
A simple integration for CronMon
Requires Python: >=3.9

![Static Badge](https://img.shields.io/badge/Python-3.9_%7C_3.10_%7C_3.11_%7C_3.12-blue?logo=python&logoColor=white)
![PyPI - Version](https://img.shields.io/pypi/v/cron-mon-py)
![Read the Docs](https://img.shields.io/readthedocs/cron-mon-py)

[![CI](https://github.com/cron-mon-io/cron-mon-py/actions/workflows/ci.yml/badge.svg)](https://github.com/cron-mon-io/cron-mon-py/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/cron-mon-io/cron-mon-py/graph/badge.svg?token=EBVN9A4223)](https://codecov.io/gh/cron-mon-io/cron-mon-py)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)

# `cron-mon-py`

A simple Python package to make using [CronMon](https://github.com/cron-mon-io) in your cron jobs and scheduled tasks quick and easy.


## Installation

`cron-mon-py` can be installed via `pip` - or your Python package manager of choice - like any other Python package you might install

```console
pip install cron-mon-py
```

## Example

Simply import the `monitor` decorator and use it on any function that serves as the entry point to your cron job/ scheduled task that you wish to monitor:

> You'll need to have setup a _Monitor_ and an API key within CronMon itself, and have exposed the API key in an environment variable called `CRON_MON_API_KEY`.

```python
from cron_mon import monitor

# Replace <your-monitor-id> with your actual Monitor ID
@monitor("<your-monitor-id>")
def cron_job():
    """Your cron job code here"""
    ...
```

## Development

### Setting up a development environment

`cron-mon-py` uses [`uv`](https://docs.astral.sh/uv/) to manage dependencies, so you'll need `uv` installed to get setup to work on `cron-mon-py`. You can either install `uv` on your machine, or you can use the dev container provided in the repository if your IDE supports dev containers (hint: it's very well supported on Visual Studio Code).

Once you have `uv` setup, you can use the `Makefile` provided to install all dependencies and run the tests. The available commands are as follows:

* `install`: Install all of the required dependencies to work on `cron-mon-py`
* `static-tests`: Run static tests via `ruff` and `mypy`
* `unit-tests`: Run unit tests via `pytest`
* `test`: Run all of the available tests for `cron-mon-py` (`static-tests` and `unit-tests`)
* `build`: Build the package
* `docs`: Build the package's docs
* `serve-docs`: Serve the package's documentation with hot-reload
* `format`: Autoformat the code with `ruff`*

> *You can avoid having to use `make format` if you setup your IDE to autoformat on save. The provided dev container has this already setup for you.