Microfluidic Device Design Tool 🧑🔬
microfluidics is a design tool for microfluidic chips made by soft lithography. A typed Python class describes the chip’s geometry, operating conditions, and requirements. The Rust kernel solves the flow network, tunes design parameters to meet those requirements, and checks the layout against a fabrication process. It exports photomasks in GDSII and DXF with a verification report for each process.
The VS Code extension shows the chip beside its Python source. Here the channels of a three-inlet mixer are coloured by flow speed.
Install the package
Install the package in a CPython 3.11 or newer environment.
pip install microfluidics
Try a design
The mother machine has three independent flow channels lined with growth trenches. The design uses two mask layers, one for the shallow trenches and one for the deeper channels. It specifies that medium in each channel must be replaced within one second.
First, download the mother_machine.py file from GitHub:
curl -fLO https://raw.githubusercontent.com/marpaia/microfluidics/master/designs/mother_machine.py
Use the microfluidics CLI to check the design and generate its fabrication files.
# Check channel connectivity and the layout against the articulated fabrication limits.
microfluidics check mother_machine.py
# Predict the residence time in each channel and check it against the one-second limit.
microfluidics solve mother_machine.py
# Generate a two-layer GDSII file, one DXF per layer, and a fabrication traveler.
microfluidics export mother_machine.py out
The export writes the following files under out/cosinc-su8-pdms/.
| File | Contents |
|---|---|
masks/chip.gds |
Both mask layers in one GDSII layout |
masks/mask_1_trench.dxf, masks/mask_2_flow.dxf |
Separate drawings for the trenches and flow channels |
masks/preview.svg |
A preview of both layers that opens in a browser |
TRAVELER.md |
Fabrication steps by layer, alignment marks, and hole positions |
REPORT.md |
Verification results for the COSINC process |
Run microfluidics guide for the Python API, or explore the design examples and VS Code viewer. The alpha uses a steady laminar flow model that still awaits validation against fabricated chips. The model and process limitations describe the assumptions behind the checks.
License
Metadata
Release files for microfluidics 0.0.1
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 |
|---|---|---|---|---|
| microfluidics-0.0.1.tar.gz | 177.0 kB | With provenance | Details for microfluidics-0.0.1.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| microfluidics-0.0.1-cp311-abi3-win_amd64.whl | CPython 3.11 | abi3 | Windows x86-64 | Details for microfluidics-0.0.1-cp311-abi3-win_amd64.whl |
| microfluidics-0.0.1-cp311-abi3-manylinux_2_28_x86_64.whl | CPython 3.11 | abi3 | Linux glibc 2.28+ x86-64 | Details for microfluidics-0.0.1-cp311-abi3-manylinux_2_28_x86_64.whl |
| microfluidics-0.0.1-cp311-abi3-manylinux_2_28_aarch64.whl | CPython 3.11 | abi3 | Linux glibc 2.28+ ARM64 | Details for microfluidics-0.0.1-cp311-abi3-manylinux_2_28_aarch64.whl |
| microfluidics-0.0.1-cp311-abi3-macosx_11_0_arm64.whl | CPython 3.11 | abi3 | macOS 11.0+ ARM64 | Details for microfluidics-0.0.1-cp311-abi3-macosx_11_0_arm64.whl |
| microfluidics-0.0.1-cp311-abi3-macosx_10_12_x86_64.whl | CPython 3.11 | abi3 | macOS 10.12+ x86-64 | Details for microfluidics-0.0.1-cp311-abi3-macosx_10_12_x86_64.whl |
Total release size: 8.4 MB
Release files / microfluidics-0.0.1.tar.gz
| Download URL | microfluidics-0.0.1.tar.gz |
|---|---|
| Size | 177.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e56ff7dd0e44e7fdcecb11e849d24dbfe98fcf100417ec33778ba0a3e604962
|
|
BLAKE2b-256 checksum How to use checksums |
69387d0216d121b4131dd13f18d1f191e5c92a4ecd1841c76b002788ca2c98a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logRelease files / microfluidics-0.0.1-cp311-abi3-win_amd64.whl
| Download URL | microfluidics-0.0.1-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
ea858aac529fa269b4e4e2852905c79295534eae1ffb1bcd4005f9675edcd910
|
|
BLAKE2b-256 checksum How to use checksums |
7c896a15f350746997cd47ced566c98b04f15998708a86feb6a94b9bbfca5c5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logRelease files / microfluidics-0.0.1-cp311-abi3-manylinux_2_28_x86_64.whl
| Download URL | microfluidics-0.0.1-cp311-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
78a0b4f309af8569410a3647db5be6f9b68d6b7143fcc4a2795fbd2565b50ed1
|
|
BLAKE2b-256 checksum How to use checksums |
023afc8184370650b4e227540aa3c316674c7efb394d97e71bf1c549d9db0ccf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logRelease files / microfluidics-0.0.1-cp311-abi3-manylinux_2_28_aarch64.whl
| Download URL | microfluidics-0.0.1-cp311-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
e767abc79db8423da53bfe31881c2c0cee5f1521b58b73b86bb8261034ce0d09
|
|
BLAKE2b-256 checksum How to use checksums |
915a059952d2cede8d837e77c7d4795c68b910acf4aab38ab93f3f021762e9ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logRelease files / microfluidics-0.0.1-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | microfluidics-0.0.1-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3a3f45e9f2904c81f9bf18273c71cd4d3fca6334577025a30bb5a0228168f9f8
|
|
BLAKE2b-256 checksum How to use checksums |
1881cfa124a22b437890b6f6d56f64e0f382f6aa37cb7918b018847c717a35f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logRelease files / microfluidics-0.0.1-cp311-abi3-macosx_10_12_x86_64.whl
| Download URL | microfluidics-0.0.1-cp311-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.11 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
14270f3201505a62c1c72c2399648cedbf2b22ae940fcac5bd1fb411873a0803
|
|
BLAKE2b-256 checksum How to use checksums |
138f5ee7c4de2aef52c9fae4406ba63cc3488a7b5c31dbf948bb05f89c5b54d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logSecurity for microfluidics 0.0.1
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.
Full provenance
All 6 files in this release have been uploaded with provenance metadata.
Attestation for microfluidics-0.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logA 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.