PytBangla is a Python library that brings a touch of Bengali flavor to programming, offering tools for speech interaction, file management, calculations, and email automation using Bengali-named methods. It's designed to be friendly, intuitive, and culturally resonant for native Bangla speakers who love to code.
Features 📌
🖥️ Computer Class
input_nao(prompt, data_type): Custom input method with data type support.lekho(variable): Print to console.bolo(text): Convert text to speech usingpyttsx3.shuno(): Voice input using microphone.suru_koro(app): Start an application.bondho_koro(app): Force close an application.screenshot_nao(path): Take a screenshot and save.is_equal(a, b): Check if two values are equal and same type.
🧮 Calculator Class
- Area calculations:
rectangular_area,square_area,triangle_area,circular_area_diameter,circular_area_radius - Basic operations:
jog_koro,biyog_koro,gun_koro,vag_koro,vagsesh_ber_koro,ghat_ber_koro - Advanced math:
borgo_mul_koro,factorial,prime,palindrome,fibonacci
📧 Mailer Class
- Initialize with credentials:
Mailer(username, password, host, port) - Send mail:
email_pathao(to, subject, compose)
📂 FileManager Class
Full-featured file manager:
- Create, read, delete, rename, copy, move files
- Check file existence, size, extension, line/word/char count
- Search, replace, append content
- Manage directories
Installation 📦
pip install pytbangla
Note:
pyaudiomay need to be installed separately depending on your OS.
Example Usage 🚀
from pytbangla import Computer, Calculator, Mailer, FileManager
c = Computer()
c.lekho("Hello from PytBangla!")
c.bolo("Bhalo achi")
calc = Calculator()
print(calc.jog_koro(10, 20)) # 30
fm = FileManager()
fm.file_create("test.txt", "This is PytBangla")
Contributing 🤝
Feel free to fork and contribute! Pull requests are warmly welcome.
License 📝
MIT License - do what you want, just give credit.
Crafted with ❤️ for the Bangla coding community.
Metadata
Release files for PytBangla 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytbangla-1.0.5.tar.gz | 228.4 kB | Without provenance | Details for pytbangla-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytbangla-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for pytbangla-1.0.5-py3-none-any.whl |
Total release size: 235.4 kB
Release files / pytbangla-1.0.5.tar.gz
| Download URL | pytbangla-1.0.5.tar.gz |
|---|---|
| Size | 228.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de0ec225d663948abb9b14e0fc3bd231872f2021296c2704fed1cfb0030cd15f
|
|
BLAKE2b-256 checksum How to use checksums |
655f5c2f032c4970aa1bf54fe6186022999523399e8c76a49a5e3973ec8afc5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / pytbangla-1.0.5-py3-none-any.whl
| Download URL | pytbangla-1.0.5-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c51c38f7f4837049e886e44ddbd30714c6eca018f48c25ea00d6b902813dc257
|
|
BLAKE2b-256 checksum How to use checksums |
5a676ccf9f2e4a1b9c0f9828fdaaad4481c8aa49e87a82c342e19152e8936929
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Security for PytBangla 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.