Skip to main content

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 bots
  • TelegramBot – Tools for Telegram bots
  • ChatBot – 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 interactions
  • WebScraper – Data extraction from websites
  • ProxyManager – Proxy handling
  • RateLimiter – Request throttling
  • Webhook – Webhook support

🎨 Colors

  • RGBMixer – Blend RGB colors
  • RandomColorGenerator – Generate random colors
  • ColorConverter – Convert between color formats

🗃 Database

  • MySQLHelper – MySQL database operations
  • SQLiteHelper – SQLite database helper
  • HilbertBasicDB – 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hilbertlib-6.19.25.2.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hilbertlib-6.19.25.2-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

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

Hashes for hilbertlib-6.19.25.2.tar.gz
Algorithm Hash digest
SHA256 c7352a1a89595cfa14964941f72e0cc60230254f47539a8c9e50bce59e7e9bd1
MD5 5ad8c3a10faae9e1a2704d9c78369b29
BLAKE2b-256 8caf83a0efa732f314c49af2fe4c9d71655c3ecfbc3f1fc78a139fad905799c3

See more details on using hashes here.

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

Hashes for hilbertlib-6.19.25.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1b0ce50824535943e700661b4f08f9cd5d8672d2dddf52f0c704f84b22c410e6
MD5 c769de1afe33375b74dbb5b331596dc6
BLAKE2b-256 03f44ba96b029f09204e92f80de582fa3a92513be028bd0ec353516f66ee8740

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page