Skip to main content

No project description provided

Project description

ee-toolkit

PyPI - Version PyPI - Python Version

A command-line EE calculator

This is essentially the cli version of many of the online 'electronics' focussed calculators for all the usual things like filter cutoff frequencies or resonances or resistor approximations

License

ee-toolkit is licensed under the terms of the GPL-v3 license.

Install

pip install ee-toolkit

Commands

filter

ee-calc filter rc --r 10k --c 100n          # RC cutoff
ee-calc filter lc --l 10u --c 100p          # LC resonance

eseries

ee-calc eseries find --value 10.5k                        # nearest E24 values
ee-calc eseries find --value 47n --series E96 --unit F    # E96 capacitor
ee-calc eseries decompose --value 10.5k --combo series    # two-resistor series
ee-calc eseries decompose --value 10.5k --combo parallel  # two-resistor parallel

oscillator

ee-calc oscillator lc --l 10u --c 100p                    # LC tank
ee-calc oscillator colpitts --l 10u --c1 100p --c2 100p   # Colpitts
ee-calc oscillator hartley  --l1 5u  --l2 5u  --c 100p    # Hartley

opamp

ee-calc opamp noninv --rf 100k --r1 10k              # non-inverting gain
ee-calc opamp inv    --rf 100k --r1 10k              # inverting gain
ee-calc opamp integrator    --r 10k --c 100n         # integrator corner freq
ee-calc opamp integrator    --r 10k --c 100n --freq 500   # gain at 500 Hz
ee-calc opamp differentiator --r 10k --c 100n             # differentiator corner freq
ee-calc opamp differentiator --r 10k --c 100n --freq 2k   # gain at 2 kHz

SI prefixes

All value inputs accept SI prefixes: G M k m u µ n p f

10k  → 10 000
100n → 100 × 10⁻⁹
4.7M → 4 700 000

Run tests

python -m pytest tests/ -v

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

ee_toolkit-0.1.0.tar.gz (24.9 kB view details)

Uploaded Source

File details

Details for the file ee_toolkit-0.1.0.tar.gz.

File metadata

  • Download URL: ee_toolkit-0.1.0.tar.gz
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for ee_toolkit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7a80ad797ab36c113d8ea8578f90a2848b0a79e4ecadd63c33f03774e64fea32
MD5 ccb8c2d238ba7b6d0ffa80f21c8a28f8
BLAKE2b-256 d5b96e1c8ddf26a30a4b01c7cf7a37b260f5fdab45b59349dcdb11fe7984f75c

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