semvec/pypi-packages huggingface dataset:
cpanbd 0.1.2
百度云盘的python接口文档(非官方)
Requires Python: >=3.10

## cpanbd

这是一个非官方的百度云盘开放平台调用库，可以轻松的在Python中调用百度云盘开放平台而不需要多次编写重复的代码

文档: [cpanbd.readthedocs.io](https://cpanbd.readthedocs.io/)
tacc-encoder 0.2.1
Mapping utilities for converting between tokenizer tokens and zero-centred ids
Requires Python: >=3.9

# Tokenization-Aware Compression Codec (tacc)

Tokenization-Aware Compression Codec encodes LLM output as mapped token IDs
rather than UTF-8 byte streams. A precomputed mapping zero-centres token
frequencies so that Thrift CompactProtocol compression performs well on the
resulting integer sequence. Expect noticeably smaller payloads than gzip or
brotli for chat completions, which helps in low-latency and narrow-bandwidth
settings.

The wheel bundles a `mapping.jsonl` derived from the
`nvidia/Nemotron-Pretraining-Dataset-sample` split. Every token receives a
unique integer in the sequence `0, 1, -1, 2, -2, ...`, giving downstream
codecs a near-normal distribution centred on zero.

## Installation

```bash
pip install tacc-encoder
```

## Quick start

```python
from llm_compression import Codec, compress_tokens, decompress_tokens

codec = Codec("cl100k_base")

tokens = [" the", " quick", " brown"]

payload = codec.encode_tokens(tokens)
assert codec.decode_tokens(payload) == tokens

# Or use the module-level helpers
payload = compress_tokens(tokens)
decoded = decompress_tokens(payload)
```

Need different representations?

```python
token_ids = codec.decode_token_ids(payload)
mapped_ids = codec.decode_mapped_ids(payload)

raw_payload = codec.encode_raw_token_ids(token_ids)
mapped_payload = codec.encode_mapped_ids(mapped_ids)
```

## Building a fresh mapping

Utilities in `dataset_loader.py` can be used to rebuild the histogram and
mapping directly from a Hugging Face dataset:

```python
from dataset_loader import build_token_mapping, write_mapping_jsonl

mapping_entries, seen_token_ids, seen_tokens = build_token_mapping()

print(len(mapping_entries))  # == tokenizer vocabulary size
print(len(seen_token_ids), len(seen_tokens))

# Persist to the default mapping location
write_mapping_jsonl()
```

This will iterate over the configured dataset, collect token statistics, and
ensure every token in the tokenizer receives a unique zero-centred mapped id.

You can also run the helper directly from the command line:

```bash
python dataset_loader.py --tokenizer cl100k_base
```

Override `--dataset`, `--config`, `--split`, `--output`, or `--env-path` to
customise the source data, write location, or Hugging Face credentials. Ensure
`HF_API_KEY` is available in the environment or within the supplied `.env`
file before running the helper.

## Releasing to PyPI

1. Bump `version` in `pyproject.toml`.
2. Build artefacts: `python -m build --no-isolation`.
3. Upload: `python -m twine upload dist/tacc_encoder-<version>*`.
4. Tag the release in git and push if you want downstream tooling to pick it up.
spawnbox 0.1.1
A (decently) simple game framework.
Requires Python: >=3.9

# SpawnBox

A (decently) simple game framework based on pysdl2 and [MandawEngineSDL.](https://github.com/mandaw2014/MandawEngineSDL)

Documentation is on [gitbook.io](https://modguy07.gitbook.io/spawnbox).

I also recently added a [project generator](https://github.com/oneshotenjoyer/spawnbox-project-generator), and a [discord server!](https://discord.gg/MmWmFWDtbj)
kotoba 3.1.3
XML/JSON Reading Library with Level-3 CSS Selector
Requires Python: >=3.11

# Kotoba

XML Parser with CSS Selector

The official ocumentation is not available as this is a developmental build. If you are interested, please report an issue or ping me in the comment.

## Getting Started

```python
from kotoba import Kotoba

xml_text: str = ...

parser = Kotoba(xml_text)
```

Alternatively, you can also use this.

```python
from kotoba import load_from_file

parser = load_from_file('/path/to/file.xml')
```
types-jwcrypto 1.5.0.20251102
Typing stubs for jwcrypto
Requires Python: >=3.9

## Typing stubs for jwcrypto

This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html)
for the [`jwcrypto`](https://github.com/latchset/jwcrypto) package. It can be used by type checkers
to check code that uses `jwcrypto`. This version of
`types-jwcrypto` aims to provide accurate annotations for
`jwcrypto==1.5.*`.

This package is part of the [typeshed project](https://github.com/python/typeshed).
All fixes for types and metadata should be contributed there.
See [the README](https://github.com/python/typeshed/blob/main/README.md)
for more details. The source for this package can be found in the
[`stubs/jwcrypto`](https://github.com/python/typeshed/tree/main/stubs/jwcrypto)
directory.

This package was tested with the following type checkers:
* [mypy](https://github.com/python/mypy/) 1.18.2
* [pyright](https://github.com/microsoft/pyright) 1.1.407

It was generated from typeshed commit
[`8aaa86f6a4b5f518734973884d14bf4da0f6f399`](https://github.com/python/typeshed/commit/8aaa86f6a4b5f518734973884d14bf4da0f6f399).
types-simple-websocket 1.1.0.20251102
Typing stubs for simple-websocket
Requires Python: >=3.9

## Typing stubs for simple-websocket

This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html)
for the [`simple-websocket`](https://github.com/miguelgrinberg/simple-websocket) package. It can be used by type checkers
to check code that uses `simple-websocket`. This version of
`types-simple-websocket` aims to provide accurate annotations for
`simple-websocket==1.1.*`.

This package is part of the [typeshed project](https://github.com/python/typeshed).
All fixes for types and metadata should be contributed there.
See [the README](https://github.com/python/typeshed/blob/main/README.md)
for more details. The source for this package can be found in the
[`stubs/simple-websocket`](https://github.com/python/typeshed/tree/main/stubs/simple-websocket)
directory.

This package was tested with the following type checkers:
* [mypy](https://github.com/python/mypy/) 1.18.2
* [pyright](https://github.com/microsoft/pyright) 1.1.407

It was generated from typeshed commit
[`8aaa86f6a4b5f518734973884d14bf4da0f6f399`](https://github.com/python/typeshed/commit/8aaa86f6a4b5f518734973884d14bf4da0f6f399).