semvec/pypi-packages huggingface dataset:
lens-format 3.2.0
LENS v3.2 – Hardened reference implementation for a custom binary data format
License: MIT
Requires Python: >=3.8

## LENS v3.1 – Hardened Reference Implementation
LENS (Lightweight Efficient Network Serialization) is a binary serialization format designed for high performance, type safety, and resilience. This implementation focuses on security hardening to protect against common binary exploitation vectors.

# Features (v3.1)
Efficient Encoding: Uses Varints and ZigZag encoding for compact integer storage.

Symbol Tables: Optimized for objects by storing keys in a centralized table to avoid redundancy.

# Hardened Security:

Zip-Bomb Protection: Decompression is capped at a strict 512 MB limit.

Trailing Garbage Detection: Rejects payloads with extra data after the valid end-of-file.

Recursion Depth Control: Prevents Stack Overflow attacks (max 500 levels).

Integrity Checks: Built-in CRC32 checksum verification for every frame.

Rich Types: Supports null, bool, int, float, string, bytes, datetime (UTC), arrays, and objects.

# Installation
```bash
pip install lens-format
```
# Usage
The library is designed to be a drop-in replacement for logic where JSON might be too bulky or insecure.

Basic API

```python
from lens_format import LensFormat, LensError, LensDecodeError
from datetime import datetime

data = {
    "server": "production-01",
    "uptime": 1234567,
    "active": True,
    "last_sync": datetime.utcnow()
}

try:
    # Encoding to binary
    # Set compress=True to enable zlib compression with safety limits
    binary_payload = LensFormat.encode(data, compress=True)

    # Decoding back to Python objects
    parsed_data = LensFormat.decode(binary_payload)
    print(f"Server: {parsed_data['server']}")
    
except LensDecodeError as e:
    print(f"Validation or decoding failed: {e}")
except LensError as e:
    print(f"A general LENS error occurred: {e}")
Exception Hierarchy
```
LENS provides specific exceptions to help you handle edge cases safely:

- `LensError`: The base class for all exceptions.

- `LensDecodeError`: Raised if the binary data is malformed, has unexpected EOF, or contains trailing garbage.

- `LensIntegrityError`: A subclass of LensDecodeError raised when the CRC32 checksum doesn't match.

`LensTypeError`: Raised during encoding if a value type is not supported.

# Technical Specifications

- Magic Header: LENS (4 bytes)

- Version: 31 (v3.1)

- Safety Limits:

- Max String/Bytes: 64 MB

- Max Array/Object Size: 1,000,000 elements

- Max Symbols: 250,000

- Max Decompressed Payload: 512 MB

# License
MIT
matha-lib 1.2.0
A universal math library for Python: Math All Utilities.
License: MIT
Requires Python: >=3.10

# 🚀 matha — Math All Utilities  
### *One library to rule them all. Others may try. They will fail.*

**matha** is not a math library.  
It is a **hostile takeover** of the entire computational ecosystem.

If you’re tired of:
- Googling *“does NumPy have this?”*
- Importing `numpy`, `scipy`, `math`, `statistics`, and that cursed `utils_final_v3.py`
- Re-implementing the same formula like it’s a seasonal ritual

Then congratulations. You’ve reached the endgame.

**matha-lib exists so you can stop importing libraries and start importing authority.**



## 🧠 Philosophy

> *Why remember where a function lives, when it should already be there?*

We believe:
- Math should be **centralized**
- APIs should be **predictable**
- Performance should be **intentional**
- And confusion should be **eliminated without mercy**

**We are not polite.  
We are not verbose.  
We are precise.**


## 🧾 Final Warning

Once you start using matha-lib,
going back to fragmented math libraries will feel like:

> Writing assembly after tasting Python
> 
> Riding a bicycle after seeing a jet
> 
> Using a calculator after learning mental math 

You have been warned.



## 🔥 What’s Inside (And Why Others Should Be Nervous)

### 🧮 Universal Math Arsenal
From baby-tier:
- `mean`, `median`, `variance`

To “bro is building a space program”:
- `integral`, `derivative`, `limit`
- `eigenvalues`, `matrix ops`
- `poisson_pmf`, `gamma`, `combinatorics`

All under one namespace:

```python
import matha
```

Or the easy way:
```python
import matha as mth
```
Or the "hard" way:
```python
import matha as super_duper_ultimate_mathmatics_library_which_is_still_in_v1_but_has_mostly_everything_i_need
```

## Want the Library?
Use this :)
```bash
https://github.com/AstroJr0/matha-lib.git -o matha-lib
cd matha-lib
```
---

🧮 huh? too lazy to copy-paste-cut-clone the library?

[![PyPI version](https://img.shields.io/pypi/v/matha-lib.svg)](https://pypi.org/project/matha-lib/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
Just use this instead!

```bash
pip install matha-lib
```
---
## 📜 License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

---
## Documentation
Sorry. Im too lazyy to write the whole documentation in this MD file.
what? you can't use it properly? 
Then it's okay! Just go to your desired function's file,
I have documented everything there! :)
okdata-cli 6.0.0
CLI for services provided by Oslo Origo
License: MIT
Requires Python: >=3.10

# `okdata-cli`: Oslo Origo data services CLI

Okdata CLI provides a unified interface to data services for Oslo Origo teams.

* [Install](doc/install.md)
* [Configuration](doc/configuration.md)
* [Public services](doc/pubs.md)
* [Teams](doc/teams.md)
* [Datasets](doc/datasets.md)
* [Permissions](doc/permissions.md)