Skip to main content

PyPendentDrop

Open-source Python API with a graphical and command-line interface to measure surface tension coefficients from images of pendent drops.

Installation

Simply use

pip install pypendentdrop[full]

or, if you only want to use the command-line version (resp. the graphical version), you can replace [full] by [cli] (resp. [gui]). Use no option to download a minimal working version of the library.

Using PyPendentDrop

Graphical interface

To launch the gui version, use the command

ppt-gui

Use the relevant fields to provide an image, the pixel density of your image and the relevant physical parameters (density contrast, acceleration of gravity). Buttons allow you to estimate the parameters coarsely and to optimize this estimation. You can manually change and/or fix the values of the parameters.

Command-line

To use the command-line version, use

ppt-cli

Use the -h (help) option to list the availables options and the -v (verbose) option to display more information as the program goes.

In a python script

In the import section of your script, write

import pypendentdrop as ppd

and you can then use the functions defined in the library. An example script examplescript.py is provided on the GitHub repository.

Contact

Contact me at pypendentdrop@protonmail.com

Release files for pypendentdrop 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pypendentdrop 0.1.4
File Size Uploaded
pypendentdrop-0.1.4.tar.gz 158.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pypendentdrop 0.1.4
File Interpreter ABI Platform
pypendentdrop-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 207.2 kB

Release files / pypendentdrop-0.1.4.tar.gz

Download URL pypendentdrop-0.1.4.tar.gz
Size 158.7 kB
Tags Source
SHA-256 checksum
How to use checksums
823bf6edce7f2cbe6d506a7c501f097d737d1bff4d800b93bde98a610c86ba8d
BLAKE2b-256 checksum
How to use checksums
6e9cb10862ea297e1428c2d2297d5ba97f5eee92eea5594fd4117b6e29d15349
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.15

Release files / pypendentdrop-0.1.4-py3-none-any.whl

Download URL pypendentdrop-0.1.4-py3-none-any.whl
Size 48.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dda40cfc0e5a37d8540ab35e99d28b30ada5271038400339c591f1dc276b1adb
BLAKE2b-256 checksum
How to use checksums
7da58535e647a4e579c87ced7ae5e9e093776db28699c05cb6d2b070c9ce5dd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.15
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page