Skip to main content

A Python library for polymerization kinetics and related chemical engineering calculations.

Project description

PolyKin

Test codecov PyPI - Downloads Ask DeepWiki

PolyKin is an open-source polymerization kinetics library for Python. It is still at an early development stage, but the following modules can already be used:

  • Activity coefficient models
    • Ideal solution
    • Flory-Huggins
    • NRTL
    • Poly-NRTL
    • Scatchard-Hildebrand
    • UNIQUAC
    • Wilson
  • Copolymerization
    • Implicit penultimate model
    • Penultimate model
    • Terminal model
    • Mayo-Lewis equation (binary, ternary and multicomponent)
    • Monomer drift equation (binary and multicomponent)
    • Fitting methods
  • Equations of state
    • [50%] Cubic (Redlich-Kwong, Soave, Peng-Robinson)
    • Ideal gas
    • Sanchez-Lacombe
    • Virial equation
  • Database
  • Distributions
    • Flory
    • Log-normal
    • Poison
    • Schulz-Zimm
    • Weibull-Nycander-Gold
  • Flash solvers
    • 2-Phase PT, PV, TV
    • 3-Phase PT
  • Fluid Flow
    • Pressure drop and drag equations
    • Rheology
    • Safety valve sizing
  • Heat & Mass Transfer
    • Convection correlations
    • Heat exchanger equations
    • Transient diffusion equations
  • Kinetics
    • Arrhenius
    • Eyring
    • Propagation half-length
    • Termination composite model
  • Math
    • Joint confidence regions
    • Root and fixed-point solvers
  • Models
  • Physical property correlations
    • Antoine
    • DIPPR
    • Wagner
    • Yaws
  • Reactors
    • Residence time distributions
  • Step-growth polymerization
    • Analytical solutions for $M_n$ and $M_w$
  • Transport properties (estimation methods, mixing rules, etc.)
    • Diffusivity
      • Binary gas mixtures
      • Binary liquid mixtures
      • Binary polymer solutions
      • Multicomponent polymer solutions
    • Thermal conductivity
      • Gases
      • Liquids
      • Polymer solutions
    • Viscosity
      • Gases
      • Liquids
      • Polymer solutions

Documentation

Please refer to the package homepage.

Tutorials

The main features of PolyKin are explained and illustrated through a series of tutorials based on Jupyter notebooks, which can be launched online via Binder.

MWD of a polymer blend

Installation

PolyKin currently runs on Python>=3.10. You can install it from PyPI via pip (or uv):

pip install polykin
# uv add polykin

Alternatively, you may install it directly from the source code repository:

pip install git+https://github.com/HugoMVale/polykin.git
# uv add git+https://github.com/HugoMVale/polykin.git

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

polykin-0.7.0.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

polykin-0.7.0-py3-none-any.whl (222.1 kB view details)

Uploaded Python 3

File details

Details for the file polykin-0.7.0.tar.gz.

File metadata

  • Download URL: polykin-0.7.0.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for polykin-0.7.0.tar.gz
Algorithm Hash digest
SHA256 40e4a6c1f9ac35832c4a35af346430d6b8e08842f85504892a0646fae40514db
MD5 c89891ff12069d40a775e2b7aa06c39a
BLAKE2b-256 5f726238e47894a74bccdcee5cd0bdae08d24963837c3667b448169b06b99e57

See more details on using hashes here.

File details

Details for the file polykin-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: polykin-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 222.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for polykin-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c2141eee9228c023e06fa7c66b056e76aec4167e1f292ad5354dd5c166fc13c
MD5 427ca2b2aedb2da7dc407e00c83a005a
BLAKE2b-256 eaf79bd37d347d41d786ea162929ef0d8166fb6d29c6ab7b568a75a03f3d5ed8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page