semvec/pypi-packages huggingface dataset:
sourceplus-sdk 0.0.3
Search, curate, and enrich collections for AI training.
License: MIT
Requires Python: >=3.8


==============
sourceplus-sdk
==============


    Search, curate, and enrich collections for AI training.


`Source.Plus <https://source.plus>`_ is a platform that enables users to search, curate, and enrich collections for AI training. This SDK provides a Python interface to the Source.Plus API.
At this time, this SDK only allows the downloading of image files exported from Source.Plus.


----------------
Before You Begin
----------------

First, you'll need your Download Key from Source.Plus. To get your Download Key, go to the `settings <https://source.plus/settings/keys>`_ page
in Source.Plus. Create a key if you don't already have one. This key is used to authenticate your requests to the Source.Plus API.

Set this key as an environment variable in your shell. You can do this by adding the following line to your shell profile (e.g. ~/.bashrc, ~/.zshrc, etc.)::

        export SOURCEPLUS_DOWNLOAD_KEY="your-download-key"

If you prefer to not make this change, then you can also provide your API Key during the download process.

------------
Installation
------------

First, you need to have pip installed on your system. If you don't have pip installed, you can install it by following the instructions `here <https://pip.pypa.io/en/stable/installing/>`_.

Next, you'll need to install the Source.Plus SDK. You can do this using pip::

        pip install sourceplus-sdk

-----
Usage
-----

Once you have installed the SDK, you can use it download images from a parquet file::

        sourceplus download_images -f /path/to/export.parquet -o /path/to/output/directory

This will download all the image URLs from the parquet file to the output directory. If you have not set the API Key environment variable,
the SDK will prompt you to enter your API Key.

----------------
Advanced Options
----------------

There are several options you can tune to adjust the behavior of the download process. You can see all the options by running::

        sourceplus download_images --help

This will show you all the available options and their descriptions.
beancount-parser 1.2.3
Standalone Lark based Beancount syntax parser (not relying on Beancount library), MIT license
License: MIT
Requires Python: <4.0,>=3.9

# beancount-parser [![CircleCI](https://circleci.com/gh/LaunchPlatform/beancount-parser/tree/master.svg?style=svg)](https://circleci.com/gh/LaunchPlatform/beancount-parser/tree/master)
Standalone [Lark](https://github.com/lark-parser/lark) LALR(1) based Beancount syntax parser (not relying on Beancount library), MIT license

Please also checkout out [beancount-black](https://github.com/LaunchPlatform/beancount-black), an opinionated beancount code formatter based on beancount-parser.

## Features

- **MIT licensed** - the only dependency is [Lark](https://github.com/lark-parser/lark)
- **Extremely fast** - LALR(1) is used
- **Section awareness** - emac org symbol mark `*` will be parsed
- **Comment awareness** - comments will be parsed
- **Not a validator** - it does not validate beancount syntax, invalid beancount syntax may still pass the parsing

# Sponsor

The original project beancount-parser was meant to be an internal tool built by [Launch Platform LLC](https://launchplatform.com) for 

<p align="center">
  <a href="https://beanhub.io"><img src="https://github.com/LaunchPlatform/beancount-black/raw/master/assets/beanhub.svg?raw=true" alt="BeanHub logo" /></a>
</p>

A modern accounting book service based on the most popular open source version control system [Git](https://git-scm.com/) and text-based double entry accounting book software [Beancount](https://beancount.github.io/docs/index.html).
We realized adding new entries with BeanHub automatically over time makes the beancount file a mess.
So, a strong code formatter is needed.
While SaaS businesses won't be required to open-source an internal tool like this, we still love that the service is only possible because of the open-source tool we are using.
It would be greatly beneficial for the community to access a tool like this, so we've decided to open-source it under an MIT license. We hope you find this tool useful 😄

## Install

To install the parser, simply run

```bash
pip install beancount-parser
```

## Usage

If you want to run the parse beancount code, you can do this

```python
import io

from beancount_parser.parser import make_parser

parser = make_parser()
tree = parser.parse(beancount_content)
# do whatever you want with the tree here
```

## Feedbacks

Feedbacks, bugs reporting or feature requests are welcome 🙌, just please open an issue.
No guarantee we have time to deal with them, but will see what we can do.