Skip to main content

Python package for ECE & CSE engineering utilities

Project description

⚡ Electronex — Engineering Intelligence Toolkit

Empowering ECE & CSE Student with Intelligent Python Tools


PyPI version Python Versions License Downloads


🧠 Overview

Electronex is a comprehensive open-source Python toolkit for Electronics and Computer Science Engineers, combining modules for:

  • Circuit Analysis ⚙️
  • Digital Signal Processing 🎚️
  • Algorithms & Math Utilities 🧮
  • Machine Learning Tools 🤖
  • Data Visualization 📊

From solving Ohm’s Law to performing Signal Convolution, Electronex simplifies complex engineering computations with clean, readable Python functions.


🚀 Installation

# Install from PyPI
pip install electronex

# Upgrade to the latest version
pip install --upgrade electronex

# Uninstall if needed
pip uninstall electronex

📘 Quick Start Example

import electronex.circuits as ec
import electronex.signals as es

# ⚡ Circuit Calculations
print("Voltage (V):", ec.ohms_law(current=2, resistance=10))

# 📶 Signal Generation
n = range(-3, 4)
print("Unit Step:", es.unit_step(n))
print("Ramp:", es.ramp(n))

# 🔁 Convolution
x = [1, 2, 3]
h = [0, 1, 0.5]
print("Convolution:", es.convolution(x, h))

🧩 Module Overview

circuits.py

Core Electrical Engineering Tools

  • ohms_law(V=None, I=None, R=None) → Computes voltage, current, or resistance.
  • voltage_divider(vin, r1, r2) → Returns divided voltage output.
  • impedance_rlc(r, l, c, freq) → Calculates total impedance of RLC circuits.
  • power(V, I) → Computes power in watts.

📶 signals.py

Digital Signal Processing Helpers

  • unit_step(n) → Generates a unit step signal.
  • ramp(n) → Generates a ramp signal.
  • convolution(x, h) → Computes linear convolution.
  • correlation(x, y) → Computes cross-correlation between sequences.

🧮 algorithms.py

Common Algorithmic Utilities

  • factorial(n) → Recursive factorial.
  • fibonacci(n) → Fibonacci sequence generator.
  • (More algorithms coming soon)

🧠 mltools.py

Machine Learning Tools (Coming Soon 🚧)

  • Simple preprocessing
  • Linear regression and model evaluation utilities

📊 visualization.py

Data Visualization for Engineers

  • Easy plotting for signals, data, or circuit responses.
  • Wrapper around matplotlib for fast visual insights.

💻 Example Engineering Use-Cases

Domain Example Description
Circuits Ohm’s Law Solver Compute unknown voltage, current, or resistance
DSP Signal Convolution Combine two discrete signals
Algorithms Fibonacci Quickly generate number sequences
Visualization Waveform Plot Plot unit step, ramp, and sinusoidal signals

🧑‍🎓 For Engineering Students

Electronex is built especially for ECE and CSE students who want to code engineering concepts.

You can use it for:

  • Circuit & Network analysis
  • DSP lab assignments
  • Data structure & algorithm testing
  • Machine learning experiments
  • Research projects and visualizations

⚙️ Development Setup

# Clone the repository
git clone https://github.com/hrishabhxcode/electronex.git
cd electronex

# Install locally
pip install -e .

# Run test scripts
python examples/test_circuits.py

🤝 Contributing

We welcome contributions from students and professionals!

# Create a feature branch
git checkout -b feature/new-feature

# Commit your changes
git commit -m "Added new DSP function"

# Push to your fork
git push origin feature/new-feature

Then, open a Pull Request on GitHub.


🧾 Changelog

v1.0.0 — Initial public release

  • Added core modules: circuits, signals, algorithms, visualization
  • Ready for educational and research use

📜 License

Licensed under the MIT License.
See the LICENSE file for more details.


👨‍💻 Author

Hrishabh
🎓 NIT Nagaland
📧 hrishabh.cbse@gmail.com
🌐 www.hrishabhxcode.live


⭐ Support & Acknowledgment

If you find Electronex useful:

  • 🌟 Star the GitHub Repo
  • 🧠 Share it with your classmates and friends
  • 🛠️ Contribute your own engineering functions

“Built by an Engineer, for Engineers.” ⚙️


🧩 PyPI Launch Command for Users

pip install electronex

🏁 Tagline:

Electronex — Powering the Future of Engineering Computation ⚡

Made with Love by Hrishabh

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

electronex-0.0.1.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

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

electronex-0.0.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file electronex-0.0.1.tar.gz.

File metadata

  • Download URL: electronex-0.0.1.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for electronex-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b53e202db5925b7c4c7e06a63434b57fe49e83cfc58185e36e546e24e606f94d
MD5 ae6a3f1ffa3b80c45f88c5d48ff15774
BLAKE2b-256 63a109a908ec68a9581936bf9bea98d0fb398ac5138eb959c0c24a82599d3b48

See more details on using hashes here.

File details

Details for the file electronex-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: electronex-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for electronex-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7fa91140a9c32fe404f1f590deceac17fcd285019361cd4eb0250a277c66aea0
MD5 2d86e2bc9bd8f9e95f8ca12d4e3bdfa3
BLAKE2b-256 36ed5427cde70fce556a4dcbf5e34198f18c4387cf63b80be6c1a9cbf26d79c5

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