HilbertLib is a Python library providing modular tools for bot development, mathematical operations, web utilities, color manipulation, and database management.
Project description
HilbertLib
A versatile Python library providing tools for bot development, mathematics, web utilities, color manipulation, and database interactions.
📦 Installation
pip install hilbertlib
🛠 Features
🤖 Bot Development
DiscordBot– Framework for Discord botsTelegramBot– Tools for Telegram botsChatBot– General-purpose chatbot
➗ Math Tools
- Vectors:
Vector2D,Vector3D - Matrices:
Matrix2D,Matrix3D - Interpolation:
Polynomial,Interpolator - Probability:
NormalDistribution,UniformDistribution,BinomialDistribution, etc. - Statistics:
Statistics - Tensors:
Tensor
🌐 Web Utilities
APIHandler– Simplified API interactionsWebScraper– Data extraction from websitesProxyManager– Proxy handlingRateLimiter– Request throttlingWebhook– Webhook support
🎨 Colors
RGBMixer– Blend RGB colorsRandomColorGenerator– Generate random colorsColorConverter– Convert between color formats
🗃 Database
MySQLHelper– MySQL database operationsSQLiteHelper– SQLite database helperHilbertBasicDB– Simple key-value storage
📖 Usage Examples
See the examples folder for detailed usage.
Basic Math Example
from hilbertlib.math_tools.vectors import Vector3D
v1 = Vector3D(1, 2, 3)
v2 = Vector3D(4, 5, 6)
print(v1 + v2) # Vector addition
print(v1.dot(v2)) # Dot product
Web Scraping Example
from hilbertlib.web_utils.web_scraper import WebScraper
scraper = WebScraper()
data = scraper.scrape("https://example.com")
print(data)
📜 License
MIT License
Copyright (c) 2025 Synthfax
📌 See LICENSE for full terms.
🚀 Contributing
Contributions are welcome! Open an issue or submit a pull request.
👨💻 Author
Synthfax
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hilbertlib-6.19.25.2.tar.gz.
File metadata
- Download URL: hilbertlib-6.19.25.2.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7352a1a89595cfa14964941f72e0cc60230254f47539a8c9e50bce59e7e9bd1
|
|
| MD5 |
5ad8c3a10faae9e1a2704d9c78369b29
|
|
| BLAKE2b-256 |
8caf83a0efa732f314c49af2fe4c9d71655c3ecfbc3f1fc78a139fad905799c3
|
File details
Details for the file hilbertlib-6.19.25.2-py3-none-any.whl.
File metadata
- Download URL: hilbertlib-6.19.25.2-py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b0ce50824535943e700661b4f08f9cd5d8672d2dddf52f0c704f84b22c410e6
|
|
| MD5 |
c769de1afe33375b74dbb5b331596dc6
|
|
| BLAKE2b-256 |
03f44ba96b029f09204e92f80de582fa3a92513be028bd0ec353516f66ee8740
|