Electrical calculations with the TElectric library
Project description
⚡️ TElectric: Electrical Calculations Made Easy
TElectric is a lightweight Python library for performing essential electrical engineering calculations. Whether you're a student, hobbyist, or professional engineer, TElectric helps you compute power, current, resistance, voltage, and more — quickly and accurately.
📦 Installation
pip install telectric
## 🚀 Features
* ✅ Calculate Power, Current, Resistance, and Voltage
* ✅ Support for Ohm’s Law and Power Law
* ✅ Compute Series and Parallel combinations of resistors and capacitors
* ✅ Convert between units (e.g., mA ↔ A, W ↔ kW)
* ✅ Validate Ohm’s Law for given values
* ✅ Optional symbolic output (e.g., R = 10 Ω) using eleman() mode
## 🧪 Usage Examples
from telectric import power, current, resistance, voltage, eleman
// Basic calculation
print(power(current=2, voltage=5)) # Output: 10
// Symbolic mode
eleman()
print(resistance(voltage=10, current=2)) # Output: '5.0 R'
## 📊 Downloads
Over 500+ downloads and growing!
Check out https://pepy.tech/projects/telectric for live stats.
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 telectric-1.2.tar.gz.
File metadata
- Download URL: telectric-1.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a3a08546f810f57d2fff60c64e33a2c23e95cbc87d054146f55539d4004970d
|
|
| MD5 |
95c8602966f344a8c892f8ea018121c9
|
|
| BLAKE2b-256 |
32a184b18c0bfbfbc2b86cdb23ce467614dee1554e17c7f0814484049ac1a067
|
File details
Details for the file telectric-1.2-py3-none-any.whl.
File metadata
- Download URL: telectric-1.2-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b16c9ef8c71958f3be643fcafe198d51d633535333cc93b74c1d026bd8548bd
|
|
| MD5 |
ff5da84026f79fe0316e8349eb0b4b13
|
|
| BLAKE2b-256 |
a2ae4d66e1b8fd56c2f90827c8bb6574c348aa1c035762c1d50b365d06ff8e3b
|