semvec/pypi-packages huggingface dataset:
notion-exporter 0.1.1
Tool that allows you to export your Notion pages to markdown files.
Requires Python: >=3.8
Keywords: Notion,Notion-API,Notion-Export,Notion-Extraction

# notion-exporter: Export Notion pages to Markdown

This python package allows you to easily export your Notion pages to Markdown by providing a Notion API token.

Given that the Notion API is subject to some [rate limits](https://developers.notion.com/reference/request-limits),
this tool will automatically retry failed requests and wait for the rate limit to reset before retrying. This is
especially useful when exporting a large number of pages. Furthermore, this package uses `asyncio` to make requests in
parallel, which can significantly speed up the export process.

## Installation

```bash
pip install notion-exporter
```

## Usage

```python
from notion_exporter import NotionExporter

exporter = NotionExporter(notion_token="<your-token>")
exported_pages = exporter.export_pages(page_ids=["<list-of-page-ids>"])

# exported_pages will be a dictionary where the keys are the page ids and 
# the values are the page content in markdown format
```

The `NotionExporter` class takes the following arguments:
- `notion_token`: Your Notion API token. You can find information on how to get an API token in [Notion's documentation](https://developers.notion.com/docs/create-a-notion-integration)
- `export_child_pages`: Whether to recursively export all child pages of the provided page ids. Defaults to `False`.
- `extract_page_metadata`: Whether to extract metadata from the page and add it as a frontmatter to the markdown. 
                           Extracted metadata includes title, author, path, URL, last editor, and last editing time of 
                           the page. Defaults to `False`.
- `exclude_title_containing`: If specified, pages with titles containing this string will be excluded. This might be
                              useful for example to exclude pages that are archived. Defaults to `None`.

The `NotionExporter.export_pages` method takes the following arguments:
- `page_ids`: A list of page ids to export. If `export_child_pages` is `True`, all child pages of these pages will be
              exported as well.
- `database_ids`: A list of database ids to export. If `export_child_pages` is `True`, all pages in these databases
                  will be exported as well.
- `ids_to_exclude`: A list of page ids to exclude when recursively exporting child pages. If an excluded page is
                    encountered, its child pages will not be exported either.
polywrapper 0.1.5
A wrapper for interacting with Polygon DB

You can download it here https://pypi.org/project/polywrapper/
# Welcome to the PolyWrapper wiki!

Here is the basics of using poly wrapper

### To install polywrapper run the following command
`pip install polywrapper`

Here is an example of inserting data into a database

```import polywrapper
connection = polywrapper.PolyClient("node2.lunes.host:27106", "Better_Password", "ExampleDB")

res = connection.insert("Hello", "World")
print(res)
```
This will return {"Status": "Success"} if it works.`

### You can also input sub level JSON and lists
```
connection.insert({"users": ["David", "Andrew"]})
connection.insert("meta", {"page": "2"})
```

### To get data from certain key
```res = connection.get("key")
print(res)
to get all data from database do
res = connection.get()
```
if the key value system is {"key": "value"} it will return value if it is something like {"key": {"sub": "json"}} it will return {"sub": "json"}

### To update a keys value.

`connection.update("key", "value2")`
once again this can be json or a string
to append data to a list you will need to do
`res = connection.insert("users", ["John", "Andrew"])
connection.append("users", "Mia")
`
### To remove certain keys.

`
connection.remove('key')
`
pgn-downloader 0.2.2
Tool to download games from a specific user on Lichess.org or chess.com
Requires Python: >=3.6

# pgn-downloader

`pgn-downloader` is a CLI tool to download chess games from [Lichess](https://lichess.org) or [chess.com](https://chess.com).

It provides filters to specify playing color, date range and playing mode.

## Installation
`pgn-downloader` requires Python >=3.6.

It can then installed with `pip`:
```
pip install --upgrade pgn-downloader
```

With this the tool can started with either:
```
pgn-downloader server username
python -m pgn_downloader server username
```

## Usage
```
usage: pgn-downloader [-h] [-c {white,black}] [--since SINCE] [--until UNTIL] [--mode MODE] [-o OUTPUT] [--version] {chess.com,lichess} username

positional arguments:
  {chess.com,lichess}   Server to download games from
  username              Username on chosen server

optional arguments:
  -h, --help            show this help message and exit
  -c {white,black}, --color {white,black}
                        Color (white/black) (default: both)
  --since SINCE         Download games since (default: account creation)
  --until UNTIL         Download games until (default: now)
  --mode MODE           Game mode which will be downloaded. Comma separated list (default: blitz,rapid,classical,correspondence)
  -o OUTPUT, --output OUTPUT
                        Output filename (default: server_username-color.pgn)
  --version             show program's version number and exit
```

Games can be downloaded from either chess.com or lichess.org.
If desired the download can be restricted to a certain color, time control and date range.

The time control is specified as a comma-seperated list, with the default `blitz,rapid,classical,correspondence`.
The possible values are:
- for Lichess: `ultraBullet`, `bullet`, `blitz`, `rapid`, `classical`, `correspondence`, `chess960`, `crazyhouse`, `antichess`, `atomic`, `horde`, `kingOfTheHill`, `racingKings`, `threeCheck`
- for chess.com: `correspondence`, `rapid`, `blitz`, `bullet`

The date ranges can be selected with the flags `--since` and `--until`.
They accept either absolute or relative time ranges:
- absolute: `YYYY`, `YYYY-MM` or `YYYY-MM-DD`
- relative: number with suffix `y` for years, `m` for months, `d` for days or `h` for hours.

All dates specified with `--since` are interpreted as the earliest possible, while `--until` dates are interpreted as the latest possible (see examples)·
All dates are taken in local time.



Examples:
- absolute:
  - `--since 2021`: games since Jan 1 2021
  - `--since 2019 --until 2020`: games between Jan 1 2019 until Dec 31 2020
  - `--since 2018-05-04 --until 2019-07` games between May 4 2018 until July 31 2019
- relative as executed on 2021-06-04 16:30
  - `--since 3m`: games since Mar 1 2021
  - `--since 0d`: games from today
  - `--since 1d`: games since June 3 2021
  - `--until 3m`: games until Mar 31 2021


## Contributing
If you encounter any problems or have suggestions for improvements feel free to open an issue or contact the authors.
shipyard-hubspot 0.1.1
A local client for connecting and working with Hubspot APIs
Requires Python: >=3.9,<4.0

# Shipyard Hubspot Client
## Overview
This is a client library for the Shipyard Hubspot API. 

## Generating Access Token
* In your HubSpot account, click the settings icon in the main navigation bar.
* In the left sidebar menu, navigate to Integrations > Private Apps.
* Click Create private app.
  * On the Basic Info tab, configure the details of your app:
  * Enter your app's name.
  * Hover over the placeholder logo and click the upload icon to upload a square image that will serve as the logo for your app.
  * Enter a description for your app.
* Click the Scopes tab.
  * Select the Read or Write checkbox for each scope you want your private app to be able to access. You can also search for a specific scope using the Find a scope search bar.
* After you're done configuring your app, click Create app in the top right.

## Finding List ID
Navigate to Contacts > Lists, hover over the list in the table, then click Details. In the right panel, click Copy List ID next to the ILS List ID value. Contact lists have two different ID values, but you must use the ILS List ID value in your request.
torchsde-brownian 0.2.5
Brownian motion implementations extracted from torchsde
Requires Python: >=3.6

# torchsde_brownian

This library provides the Brownian motion generation code from [torchsde] version 0.2.5
as a standalone package `torchsde_brownian`.

It is mainly meant for use in downstream packages such as `k-diffusion` and `diffusers`,
for where it is a drop-in replacement: the dependency just needs to be changed,
and the import for `torchsde` to `torchsde_brownian`.

According to the authors of `torchsde`, that package is currently in maintenance mode,
so no further development, aside from possible compatibility fixes, is expected.

All credit for the original implementation goes to the authors of [torchsde],
Xuechen Li and Patrick Kidger.

The commit history of this repository has been kept intact so as to preserve
the provenance of the code and their contributions.

## Installation

```shell script
pip install torchsde_brownian
```

**Requirements:** Python >=3.8 and PyTorch >=1.6.0.

## Documentation

Available [here](./DOCUMENTATION.md).

## Citation and references

Please find citations and references in [torchsde]'s readme.

[torchsde]: https://github.com/google-research/torchsde