Skip to main content

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


Download files

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

Source Distribution

telectric-1.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

telectric-1.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

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

Hashes for telectric-1.2.tar.gz
Algorithm Hash digest
SHA256 3a3a08546f810f57d2fff60c64e33a2c23e95cbc87d054146f55539d4004970d
MD5 95c8602966f344a8c892f8ea018121c9
BLAKE2b-256 32a184b18c0bfbfbc2b86cdb23ce467614dee1554e17c7f0814484049ac1a067

See more details on using hashes here.

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

Hashes for telectric-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7b16c9ef8c71958f3be643fcafe198d51d633535333cc93b74c1d026bd8548bd
MD5 ff5da84026f79fe0316e8349eb0b4b13
BLAKE2b-256 a2ae4d66e1b8fd56c2f90827c8bb6574c348aa1c035762c1d50b365d06ff8e3b

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