Complex
Compute complex numbers operations such as addition, substraction, multiplication , division, modulus, conjugate and angle.
Installation
OS X , Windows & Linux:
pip install complex
Usage example
Use for complex number mathematics
from complex import Complex
x = Complex(2,3)
y = Complex(4,5)
print(x+y, x-y, x*y, x/y, x.mod(), y.mod(), x.angle(), y.angle(), x.conjugate(), y.conjugate(), x.log(), y.log())
Development setup
For local development setup
git clone https://github.com/deepak7376/complex
cd complex
pip install -r requirements.txt
Meta
Deepak Yadav – @imdeepak_dky – dky.united@gmail.com
Distributed under the MIT license. See LICENSE for more information.
https://github.com/deepak7376/complex/blob/master/LICENSE
Contributing
- Fork it (https://github.com/deepak7376/complex/fork)
- Create your feature branch (
git checkout -b feature/fooBar) - Commit your changes (
git commit -am 'Add some fooBar') - Push to the branch (
git push origin feature/fooBar) - Create a new Pull Request
References
None
Metadata
Release files for complex 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| complex-0.2.0.tar.gz | 2.8 kB | Without provenance | Details for complex-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| complex-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for complex-0.2.0-py3-none-any.whl |
Total release size: 6.2 kB
Release files / complex-0.2.0.tar.gz
| Download URL | complex-0.2.0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c41f9bb138eb8f0e8783d36dc4d45dcb68135ad309c07d46597c59868c9dc09
|
|
BLAKE2b-256 checksum How to use checksums |
f0bf40994bdb0cbcaa738676d8931a0b212ab1f2d37566b95ed030e25ad588d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / complex-0.2.0-py3-none-any.whl
| Download URL | complex-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
605cd66cb0e26a5ec8ef5e56e2bd6c8a2e75d95c6ce104966c34f28b1814c66d
|
|
BLAKE2b-256 checksum How to use checksums |
0089ed65091e24dd31195b0103093a1498040fd6c37232c9bce2b921f25313cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for complex 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.