This release is a pre-release and may not be stable for production use.
fun_dist
A python package, that provides functions for calculating distances between points, functions, circles and ellipses and finding tangents of functions
##Dependencies
What's new?
Last version - 0.0.4-beta
- Rotated ellipse ("angle" in arguments of Ellipse class)
- Math objects are not mutable now
- Some bugs fixed
Example
from fun_dist import func2func
def a(x):
return -2 * x + 2
def b(x):
return (x - 4) ** 2
print(func2func(a, b)) # 2.2360679793027156
Includes classes:
Point, Circle, Ellipse, LinearFunction
Includes functions:
point2point - returns distance between two objects of class Point
point2func - returns minimal distance between object of class Point and function
func2func - returns minimal distance between two functions
point2circle - returns minimal distance between object of class Point and object of class Circle
point2ellipse - returns minimal distance between object of class Point and object of class Ellipse
func_tangent - returns object of class LinearFunction, which is tangent of input function
circle_tangent_len - returns length of tangent from input point to input circle
Metadata
Release files for fun-dist 0.0.4b0
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 |
|---|---|---|---|---|
| fun_dist-0.0.4b0.tar.gz | 4.8 kB | Without provenance | Details for fun_dist-0.0.4b0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fun_dist-0.0.4b0-py3-none-any.whl | Python 3 | none | any | Details for fun_dist-0.0.4b0-py3-none-any.whl |
Total release size: 10.8 kB
Release files / fun_dist-0.0.4b0.tar.gz
| Download URL | fun_dist-0.0.4b0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68c1c1ce13f26567d3bbd88f5aeed2d143ddd04e656af8484cc40217d1ee9199
|
|
BLAKE2b-256 checksum How to use checksums |
0ad75cc3943e0a9004897c9f0c2a14ca69942bd8ee8935e5746dfae8fd8d8707
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.1 CPython/3.8.0
|
Release files / fun_dist-0.0.4b0-py3-none-any.whl
| Download URL | fun_dist-0.0.4b0-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fabb25517968b433e7166ba63517c231dfbb22b95e06a72ec04c29a0c94e1116
|
|
BLAKE2b-256 checksum How to use checksums |
38f8d94e3d990f5250925f1ae9191991bec1512244d76c490238ae7c993548e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.1 CPython/3.8.0
|
Security for fun-dist 0.0.4b0
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.