montocarlo-ol-circlearea
A Python library for calculating Area of overlapped region between 2 Circle using MontoCarlo method (Random Points)
Installation
pip install montocarlo-ol-circlearea
Get started
How to calculate area of overlapped region of the circle with this lib:
from montocarlo_ol_circlearea import Overlapped_2_circles
# Instantiate a Overlapped_2_circle object with 3 params c1 ,c2, Random points
'''
:param _c1: circle1[center c1, center c2, radius r1]
:type _c1: list
:param _c2: circle2[center c1, center c2, radius r2]
:type _c2: list
:param _N: Number of Random Points
:type _N: int
'''
MonteCarlo = Overlapped_2_circles([0,0,2],[2,2,2],10000)
# Call the area method
result = MonteCarlo.area()
source code link
https://github.com/sabareeswarans11/montocarlo-ol-circlearea
Metadata
Release files for montocarlo-ol-circlearea 0.0.1
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 |
|---|---|---|---|---|
| montocarlo-ol-circlearea-0.0.1.tar.gz | 2.4 kB | Without provenance | Details for montocarlo-ol-circlearea-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| montocarlo_ol_circlearea-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for montocarlo_ol_circlearea-0.0.1-py3-none-any.whl |
Total release size: 5.2 kB
Release files / montocarlo-ol-circlearea-0.0.1.tar.gz
| Download URL | montocarlo-ol-circlearea-0.0.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb9186c8fd0483d2a53e3b7449fb69209a944e3e50c6f02b30bce003ccf92bd5
|
|
BLAKE2b-256 checksum How to use checksums |
324504644760aa212efca9edeba953d132253aa74feae38ad8529dbfde055dd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.12
|
Release files / montocarlo_ol_circlearea-0.0.1-py3-none-any.whl
| Download URL | montocarlo_ol_circlearea-0.0.1-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
72715ef118b89eb7051c0bd0fc98dcdd77679c46b5c8b52b54fae95a1d4e96cc
|
|
BLAKE2b-256 checksum How to use checksums |
1af0aa610ac078ec824f17471525e853c4a67c87e6fa87c86f0420c7d7a0d78c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.12
|
Security for montocarlo-ol-circlearea 0.0.1
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.