Skip to content

HilbertLib is a Python library providing modular tools for bot development, mathematical operations, web utilities, color manipulation, and database management.

License

Notifications You must be signed in to change notification settings

Synthfax/HilbertLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.fetch_html("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

About

HilbertLib is a Python library providing modular tools for bot development, mathematical operations, web utilities, color manipulation, and database management.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages