Skip to main content

pepcalc-ai — free peptide reconstitution & syringe-unit calculator (pepcalc.ai)

Educational information only. Not medical advice.

A tiny, dependency-free Python library and CLI for the general arithmetic behind reconstitution calculators: concentration in mg/mL, the volume containing a target amount, and U-100 syringe units. It contains no recommendations about amounts to use for any person or purpose.

Install

pip install pepcalc-ai

Usage

from pepcalc_ai import concentration_mg_per_ml, volume_for_amount_ml, syringe_units

conc = concentration_mg_per_ml(vial_mg=10, diluent_ml=2)   # 5.0 mg/mL
vol = volume_for_amount_ml(amount_mg=1, concentration_mg_per_ml=conc)  # 0.2 mL
units = syringe_units(vol)                                  # 20.0 units on a U-100 syringe

CLI:

pepcalc-ai --vial-mg 10 --diluent-ml 2 --amount-mg 1

Formulas

  • concentration (mg/mL) = vial mg ÷ diluent mL
  • volume (mL) = target mg ÷ concentration (mg/mL)
  • U-100 syringe units = volume (mL) × 100

Development

pip install -e . pytest
pytest

Disclaimer

Educational information only. Not medical advice. This software is provided as-is under the MIT license.

License

MIT

Metadata

Release files for pepcalc-ai 0.1.0

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

Source distribution (sdist)

Source distribution for pepcalc-ai 0.1.0
File Size Uploaded Provenance
pepcalc_ai-0.1.0.tar.gz 4.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pepcalc-ai 0.1.0
File Interpreter ABI Platform
pepcalc_ai-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / pepcalc_ai-0.1.0.tar.gz

Download URL pepcalc_ai-0.1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
26a886b69828aacead351cc6c9d7ac723f2c54d3033175fdeb0ecd0d6c2d9ff2
BLAKE2b-256 checksum
How to use checksums
eb2fb6b0a6d82771c13a679a1a183c37bd626c8ec6cb65987cb425874f3debae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / pepcalc_ai-0.1.0-py3-none-any.whl

Download URL pepcalc_ai-0.1.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f07ba76e593cf55c1badc294924839dc501fbd20fae7bd1f51b682fa28930118
BLAKE2b-256 checksum
How to use checksums
4d8e1c68a37ed9a9a5de2c5e401264ad69b3fab1058e10f2ea7da0d7c1438efc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for pepcalc-ai 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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