Package: electricpy
ElectricPyElectrical-Engineering-for-PythonPython Libraries with functions and constants related to electrical engineering.The functions and constants that make up these modules represent a library of
material compiled with the intent of being used primarily for research,
development, education, and exploration in the realm of electrical engineering.Check out our full documentation:https://electricpy.readthedocs.io/en/latest/Documentation has recently been updated to useReadTheDocsGitHub Pages are still active, and will continue to be for the forseeable
future, but they're intended for developmental updates rather than primary
documentation.FeaturesExtensive set of common functions and formulas for electrical engineering and
electronics.Support for LaTeX math generation (use this in conjunction with your Jupyter
notebooks!)Generate focussed and simple plots, diagrams, and figures.Samples Generated with ElectricPyPhasor PlotPower TriangleInduction Motor CircleInstalling / Getting StartedElectricPy has a few basic installation options for use withpip. For most
common users, use the following command to install ElectricPy withpippip install electricpy[full]Check installation success in Python environment:importelectricpyelectricpy._version_Start using the electrical engineering formulas>>>importelectricpyasep>>>voltage=ep.phasor(67,120)# 67 volts at angle 120 degrees>>>voltage(-33.499999999999986+58.02370205355739j)>>>ep.cprint(voltage)67.0∠120.0°Installing from SourceIf you're looking to get the "latest and greatest" from electricpy, you'll want
to install directly from GitHub, you can do that one of two ways, the easiest of
which is to simply issue the following command forpippip install git+https://github.com/engineerjoe440/ElectricPy.gitAlternatively, you can do it the "old fashioned way" by cloning the repository
and installing locally.Clone/Download Source Code fromGitHub RepositoryOpen Terminal and Navigate to Folder withcdCommands:cd <path\to\containing\folder>\electricpyUse Python to Install Module fromsetup.py:pip install .DependenciesNumPymatplotlibSciPySymPyOptional DependenciesFor numerical analysis (install withpip install electricpy[numerical]):numdifftoolsFor fault analysis (install withpip install electricpy[fault])arcflashGet Involved / ContributeIf you're interested in contributing, we'd love to see your support in a number
of ways!Write Tests- We're really lacking in this area. We've recently added
simple GitHub actions to test installation, but that's about it. We hope that
someday we can test all functions in this module for verification.Contribute New Electrical Engineering Functions- If you've got a new
function related to electrical engineering that you'd like to see added, we'd
love to throw it into this module. Our goal is that this module can become the
comprehensive electrical engineering toolkit in Python. Drop us a note, or
create apull request!Report Issues- We don't want issues to go unnoticed. Please help us
track bugs inour issuesand resolve them!Get the Word Out- This project is still in its infancy, so please share
it with your friends and colleagues. We want to make sure that everyone has the
opportunity to take advantage of this project.Check out thecontribution guideComechat about ElectricPySpecial thanks to...Stephen Weeks | Student - U of IdahoJeremy Perhac | Student - U of IdahoDaniel Allen | Student - Universtiy of IdahoDr. Dennis Sullivan | Proffessor - U of IdahoDr. Brian Johnson | Proffessor - U of IdahoDr. Joe Law | Proffessor - U of IdahoStackOverflow user gg349Shaurya Uppal | Online Code ContributorPaul Ortman | Power Quality Engineer - Idaho Power | Instructor - U of IdahoandContactFor more information regarding this resource, please contact Joe Stanleyengineerjoe440@yahoo.comLicense and UsageElectricPy is licensed under the standard MIT license, and as such, you are
permitted to use this resource as you see fit. Please feel free to ask
questions, suggest edits and report bugs or other issues.