Skip to main content

License: MIT build workflow codecov

little_helpers

Some helpful functions that keep being used in various of my repositories, install via:

pip install little_helpers

array_tools.py

  • y_at_y: Find values in y_values that belongs to the values in x_values clostest to x.
  • closest_index: Find the index of a value in array x_values that is clostest to x.
  • segment_xy_values: Segment the x_values and y_values according to segment borders.

geometry.py

hydrogel_conversions.py

math_functions.py

  • langmuir_isotherm: Calculate the q_e values of a simple Langmuir isotherm.
  • langmuir_isotherm_hydrogel: Calculate the adsotpion inside a hydrogel based on a Langmuir model taking the swelling into account.
  • langmuir_comp: Calculate the q_e values of a Langmuir isotherm taking into account competetive adsorption of two species.
  • triangle: Calculate a triangle function.
  • gaussian: Calculate one or a superposition of Gaussian normal distributions.
  • boxcar: Calculate a boxcar function.
  • boxcar_convolution: Calculate the convolution of a boxcar function with another function.
  • piecewise_polynomial: Calculate the y values of a piecewise polynomial.
  • flory_rehner: Calculate 1/M_c according to the Flory-Rehner equation.
  • Herschel_Bulkley: Calculate the stress according tot he Herschel-Bulkley model.
  • cum_dist_normal: Cumulative distribution function for the normal distribution.
  • cum_dist_normal_with_rise: Superposition of cum_dist_normal and a linear function through the origin.

math_to_word.py

num_derive.py

A simple method to calculate the derivative of discrete data.

statsmodel_wrapper.py

A universal sklearn-style wrapper for statsmodels regressors.

table_of_elements.py

A table containing information about chemical elements, currently the atomic number, the atomic weight, the element name and element symbol.

Metadata

Release files for little-helpers 0.0.7

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

Source distribution (sdist)

Source distribution for little-helpers 0.0.7
File Size Uploaded Provenance Actions
little_helpers-0.0.7.tar.gz 20.9 kB Without provenance Details for little_helpers-0.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for little-helpers 0.0.7
File Interpreter ABI Platform Actions
little_helpers-0.0.7-py3-none-any.whl Python 3 none any Details for little_helpers-0.0.7-py3-none-any.whl

Total release size: 41.7 kB

Release files / little_helpers-0.0.7.tar.gz

Download URL little_helpers-0.0.7.tar.gz
Size 20.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5a0db95bd2d26d48cd2bde7410702549efc59df15ac2ce7ab24b898e00a2c8b4
BLAKE2b-256 checksum
How to use checksums
d6f5ee2927eb1d98c2fcb9e01e75535639da0024afbe980591a5502cec45dc21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release files / little_helpers-0.0.7-py3-none-any.whl

Download URL little_helpers-0.0.7-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
102a146540c7d9a41f940e8df07c3c022f0a8d32b0c4a3a6d5e04b82d0103d6f
BLAKE2b-256 checksum
How to use checksums
ba8a0e2f52b3777d945eeb608164c1df756b0a9c1a8e1779e8c36856055458d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Security for little-helpers 0.0.7

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.

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