{"id":16254462,"url":"https://github.com/ulikoehler/uliengineering","last_synced_at":"2025-04-05T12:04:07.145Z","repository":{"id":34592370,"uuid":"38539671","full_name":"ulikoehler/UliEngineering","owner":"ulikoehler","description":"A python library for calculations perfomed in electronics engineering","archived":false,"fork":false,"pushed_at":"2025-01-30T00:19:17.000Z","size":828,"stargazers_count":51,"open_issues_count":2,"forks_count":7,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-29T11:07:04.401Z","etag":null,"topics":["data-analysis","data-science","electronics","engineering","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ulikoehler.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-04T16:10:41.000Z","updated_at":"2025-01-30T00:19:20.000Z","dependencies_parsed_at":"2023-02-14T00:30:56.357Z","dependency_job_id":"9660bff9-985f-4e3d-8afb-670ca03bff44","html_url":"https://github.com/ulikoehler/UliEngineering","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulikoehler%2FUliEngineering","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulikoehler%2FUliEngineering/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulikoehler%2FUliEngineering/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulikoehler%2FUliEngineering/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ulikoehler","download_url":"https://codeload.github.com/ulikoehler/UliEngineering/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332560,"owners_count":20921853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-analysis","data-science","electronics","engineering","python"],"created_at":"2024-10-10T15:22:15.595Z","updated_at":"2025-04-05T12:04:07.127Z","avatar_url":"https://github.com/ulikoehler.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UliEngineering\n\n[![Unit tests](https://github.com/ulikoehler/UliEngineering/actions/workflows/test.yml/badge.svg)](https://github.com/ulikoehler/UliEngineering/actions/workflows/test.yml) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/f59d862b25524914b29ec5f0c0b80e7f)](https://www.codacy.com/gh/ulikoehler/UliEngineering/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=ulikoehler/UliEngineering\u0026amp;utm_campaign=Badge_Grade) [![codecov](https://codecov.io/gh/ulikoehler/UliEngineering/branch/master/graph/badge.svg?token=qnmVG2tYQq)](https://codecov.io/gh/ulikoehler/UliEngineering) [![Code Climate](https://codeclimate.com/github/ulikoehler/UliEngineering/badges/gpa.svg)](https://codeclimate.com/github/ulikoehler/UliEngineering) ![License](https://img.shields.io/github/license/ulikoehler/UliEngineering.svg) \n\nA Python3 library for:\n    - Data science\n    - Electronics Engineering\n    - Specialized algorithms\n    - Physics\nwhich contains a collection of functions I haven't found elsewhere.\nSome algorithms have also been accepted on my blog [https://techoverflow.net/](https://techoverflow.net/)\n\nPull requests and bugreports of any kind are happily accepted.\n\n## Installation\n\nRun this command on your favourite shell:\n\n```sh\nsudo pip3 install UliEngineering\n```\n\nIn order to install the latest bleeding-edge version, use:\n\n```sh\nsudo pip3 install git+https://github.com/ulikoehler/UliEngineering.git\n```\n\nWe *highly recommend* you also install scipy:\n```sh\nsudo pip3 install scipy\n```\n(you can also use `sudo apt install python3-scipy` on Debian-based Linux distros).\n\nWhile *scipy* is technically optional and listed as an optional dependency, many UliEngineering modules can't be used without it, including (might not be complete!):\n\n  * UliEngineering.Length\n  * UliEngineering.SignalProcessing.Interpolation\n  * UliEngineering.SignalProcessing.Correlation\n  * UliEngineering.Physics.JohnsonNyquistNoise\n  * Some functions in UliEngineering.SignalProcessing.Simulation\n  * Some functions in UliEngineering.SignalProcessing.Selection\n\nAfter that you can use UliEngineering from any Python3 instance. Example:\n\n```\n$ python3\nPython 3.5.2 (default, Nov 17 2016, 17:05:23) \n[GCC 5.4.0 20160609] on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n\u003e\u003e\u003e from UliEngineering.EngineerIO import *\n\u003e\u003e\u003e format_value(0.015, \"V\")\n'15.0 mV'\n```\n\n## Getting started\n\nOn [my blog](https://techoverflow.net), I've posted several easy-to-use examples on how to solve real-world problems using UliEngineering:\n  - [Normalizing electronics engineering value notations using Python](https://techoverflow.net/2015/06/09/normalizing-electronics-engineering-value-notations-using-python/)\n  - [Finding the nearest E96 resistor value in Python](https://techoverflow.net/2015/05/19/finding-the-nearest-e96-resistor-value-in-python/)\n  - [Easy zero crossing detection in Python using UliEngineering](https://techoverflow.net/2018/12/31/easy-zero-crossing-detection-in-python-using-uliengineering/)\n  - [Easily generate sine/cosine wave test data in Python using UliEngineering](https://techoverflow.net/2018/12/31/easily-generate-sine-cosine-wave-data-in-python-using-uliengineering/)\n  - [Easily generate square/triangle/sawtooth/inverse sawtooth waveform data in Python using UliEngineering](https://techoverflow.net/2018/12/31/easily-generate-square-triangle-sawtooth-inverse-sawtooth-waveform-data-in-python-using-uliengineering/)\n  - [Easily compute \u0026 visualize FFTs in Python using UliEngineering](https://techoverflow.net/2018/12/31/easily-compute-visualize-ffts-in-python-using-uliengineering/)\n  - [Computing resistor power dissipation in Python using UliEngineering](https://techoverflow.net/2019/05/09/computing-the-temperature-under-load-of-your-electronics-components-in-python-using-uliengineering/)\n  - [Computing crystal load capacitance using Python \u0026 UliEngineering](https://techoverflow.net/2019/05/10/computing-crystal-load-capacitance-using-python-uliengineering/)\n  - [How to convert Celsius/Fahrenheit/Kelvin temperatures in Python using UliEngineering](https://techoverflow.net/2019/05/10/how-to-convert-celsius-fahrenheit-kelvin-temperatures-in-python-using-uliengineering/)\n  - [How to get unit/resolution of NumPy np.timedelta64 object](https://techoverflow.net/2019/05/13/how-to-get-unit-resolution-of-numpy-np-timedelta64-object/)\n  - [How to get unit/resolution of NumPy np.datetime64 object](https://techoverflow.net/2019/05/13/how-to-get-unit-resolution-of-numpy-np-datetime64-object/)\n  - [How to iterate all days of year using Python](https://techoverflow.net/2019/05/16/how-to-iterate-all-days-of-year-using-python/)\n  - [How to get number of days in month in Python](https://techoverflow.net/2019/05/16/how-to-get-number-of-days-in-month-in-python/)\n  - [How to compute candelas from lumens by apex angle](https://techoverflow.net/2019/08/19/lumen-to-candela-online-calculator-python-code/)\n  - [How to compute resistor voltage divider ratio using Python](https://techoverflow.net/2021/12/16/how-to-compute-resistor-voltage-divider-ratio-using-python/)\n  - [How to generate datetime for every hour on a given day in Python](https://techoverflow.net/2022/06/19/how-to-generate-datetime-for-every-hour-on-a-given-day-in-python/)\n  - [How to generate datetime for every minute on a given day in Python](https://techoverflow.net/2022/06/19/how-to-generate-datetime-for-every-minute-on-a-given-day-in-python/)\n  - [How to generate datetime for every second on a given day in Python](https://techoverflow.net/2022/06/19/how-to-generate-datetime-for-every-second-on-a-given-day-in-python/)\n  - [How to compute MRI Larmor frequency for a given magnetic field using Pythonf](https://techoverflow.net/2023/02/04/how-to-compute-mri-larmor-frequency-for-a-given-magnetic-field-using-python/)\n  - [How to compute voltage divider output voltage using Python](https://techoverflow.net/2023/02/05/how-to-compute-voltage-divider-output-voltage-using-python/)\n  - [How to format axis as dB (decibel) using matplotlib](https://techoverflow.net/2023/03/13/how-to-format-axis-as-db-decibel-using-matplotlib/)\n  - [How to compute Buck/Boost/LDO output voltage by feedback resistors using Python](https://techoverflow.net/2023/04/09/how-to-compute-buck-boost-ldo-output-voltage-by-feedback-resistors-using-python/)\n  - [How to compute the weight of a titanium or stainless steel rod using UliEngineering in Python](https://techoverflow.net/2023/05/21/how-to-compute-the-weight-of-a-titanium-or-stainless-steel-rod-using-uliengineering-in-python/)\n  - [How to compute non-inverting OpAmp amplifier gain using UliEngineering in Python](https://techoverflow.net/2023/09/18/how-to-compute-non-inverting-opamp-amplifier-gain-using-uliengineering-in-python/)\n  - [How to generate filename with date \u0026 time in Python](https://techoverflow.net/2022/09/02/how-to-generate-filename-with-date-time-in-python/)\n\n## Testing\n\nIn order to run the unit tests, first install tox:\n\n```sh\npip install --user tox\n```\n\nand then just run it in the root directory of the cloned repository\n\n```sh\ntox\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulikoehler%2Fuliengineering","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fulikoehler%2Fuliengineering","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulikoehler%2Fuliengineering/lists"}