Skip to main content

A package for handling Reaction Systems, and RsFunctions with minimization capabilities

Project description

Reaction System

A Python package for handling Reaction Systems and RsFunctions (partially mapped result functions) with minimization capabilities.

Overview

Your Package Name provides functionality for working with Reaction Systems and RsFunctions. It includes methods for minimization, mapping, support analysis, and more.

Features

  • Reaction System Handling: Create and analyze Reaction Systems.
  • RsFunction Operations: Perform minimization operations on RsFunctions to convert into ReactionSystems.

Installation

pip install your-package-name

Usage

Here's a quick example of using the Reaction System package:

from reaction_system import ReactionSystem, RsFunction

# Create a Reaction System
reaction_system = ReactionSystem(5)
reaction_system.push([1, 2, 3], [], [4, 5])

# Minimize the Reaction System over rank, or degree
rs_rank = reaction_system.minimize_rank()
rs_rank_exact = reaction_system.minimize_rank_exact()
rs_degree = reaction_system.minimize_rank()

# Get the reactions from a reaction system
for reaction in rs_rank.reactions():
  print(reaction, reaction.enabled([1, 2, 3, 4]))

# Create an RsFunction
rs_function = RsFunction(5)
rs_function.add([1, 2], [3, 4])
rs_function.add([1, 3], [2, 4])

# Get a minimum corresponding Reaction System
rs_rank = rs_function.minimize_rank()
rs_rank_exact = rs_function.minimize_rank_exact()
rs_degree = rs_function.minimize_rank()

print(rs_rank)

Contributing

Contributions are welcome! If you have suggestions, bug reports, or want to contribute code, please open an issue or submit a pull request.

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

reaction_system-0.1.4.tar.gz (8.9 kB view details)

Uploaded Source

Built Distributions

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

reaction_system-0.1.4-cp312-none-win_amd64.whl (261.5 kB view details)

Uploaded CPython 3.12Windows x86-64

reaction_system-0.1.4-cp312-none-win32.whl (235.9 kB view details)

Uploaded CPython 3.12Windows x86

reaction_system-0.1.4-cp312-cp312-macosx_11_0_arm64.whl (400.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

reaction_system-0.1.4-cp312-cp312-macosx_10_7_x86_64.whl (422.8 kB view details)

Uploaded CPython 3.12macOS 10.7+ x86-64

reaction_system-0.1.4-cp311-none-win_amd64.whl (261.8 kB view details)

Uploaded CPython 3.11Windows x86-64

reaction_system-0.1.4-cp311-none-win32.whl (236.3 kB view details)

Uploaded CPython 3.11Windows x86

reaction_system-0.1.4-cp311-cp311-macosx_11_0_arm64.whl (402.3 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

reaction_system-0.1.4-cp311-cp311-macosx_10_7_x86_64.whl (424.5 kB view details)

Uploaded CPython 3.11macOS 10.7+ x86-64

reaction_system-0.1.4-cp310-none-win_amd64.whl (262.0 kB view details)

Uploaded CPython 3.10Windows x86-64

reaction_system-0.1.4-cp310-none-win32.whl (236.3 kB view details)

Uploaded CPython 3.10Windows x86

reaction_system-0.1.4-cp310-cp310-macosx_11_0_arm64.whl (402.3 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

reaction_system-0.1.4-cp310-cp310-macosx_10_7_x86_64.whl (424.4 kB view details)

Uploaded CPython 3.10macOS 10.7+ x86-64

reaction_system-0.1.4-cp39-none-win_amd64.whl (262.2 kB view details)

Uploaded CPython 3.9Windows x86-64

reaction_system-0.1.4-cp39-none-win32.whl (237.8 kB view details)

Uploaded CPython 3.9Windows x86

reaction_system-0.1.4-cp38-none-win_amd64.whl (262.3 kB view details)

Uploaded CPython 3.8Windows x86-64

reaction_system-0.1.4-cp38-none-win32.whl (236.4 kB view details)

Uploaded CPython 3.8Windows x86

File details

Details for the file reaction_system-0.1.4.tar.gz.

File metadata

  • Download URL: reaction_system-0.1.4.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.3.2

File hashes

Hashes for reaction_system-0.1.4.tar.gz
Algorithm Hash digest
SHA256 d77f5cd715329a1aa5dcd5f93dbcd2eeb9c29b838d68161e3f6232136b103fa6
MD5 87dd964c05672c0b2228bb718dd8ebf9
BLAKE2b-256 9b12a93f473767bbebe83c8b696d97fbcf4dcc6e8bd1b9ed60d4858cb39aefd4

See more details on using hashes here.

File details

Details for the file reaction_system-0.1.4-cp312-none-win_amd64.whl.

File metadata

File hashes

Hashes for reaction_system-0.1.4-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 e1ca68f65d9a22efa427b0afc65f12dd7426192a6efeef0f4558366c659b250f
MD5 4d5881b47b418f6c3facabecc7dda727
BLAKE2b-256 cd013c78dd2646fd66947a79b0c86c6ce01b162c78af10f39e13603d4000aec2

See more details on using hashes here.

File details

Details for the file reaction_system-0.1.4-cp312-none-win32.whl.

File metadata

File hashes

Hashes for reaction_system-0.1.4-cp312-none-win32.whl
Algorithm Hash digest
SHA256 0bca908b836dbb092f5cc492fde90978b07c768a970ad065a8f59022a2b04fcb
MD5 5a7aa4fe38ad4bab6c53aed525678c42
BLAKE2b-256 71001ef9e1f693ee1323177523fd52762835278951ae48d1b5d67bd656707849

See more details on using hashes here.

File details

Details for the file reaction_system-0.1.4-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for reaction_system-0.1.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 666095fa43c6c9855c10100a3c1f15ed4dc1b197b95fd6748d5dd3df599831ac
MD5 a9d7ecfef45d7403fa3b809b94629715
BLAKE2b-256 eaf0a1998224ca4abbd8dbf34c872ded8570ba8b828a785bf7da602892637647

See more details on using hashes here.

File details

Details for the file reaction_system-0.1.4-cp312-cp312-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for reaction_system-0.1.4-cp312-cp312-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 0c7e83d23439279f57bb16ab34aac6fc962c6231e04f53858e8f2902b0da39c9
MD5 b09c97c575928b9c7c404a7fdb3a4a49
BLAKE2b-256 251f43b81f7b4e5432538248e1f4f41591ac6304d8c0eefd0d9faf6b38ac1669

See more details on using hashes here.

File details

Details for the file reaction_system-0.1.4-cp311-none-win_amd64.whl.

File metadata

File hashes

Hashes for reaction_system-0.1.4-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 420e5664092c8036ecc17f6d0bfc985804876cd8a66da9d85ef718a94577f9ae
MD5 5e04ba5b00300b481eaba65f72ef2ca8
BLAKE2b-256 a1efc5c0352969f676d3b147b30b8e383aa874d67fa62e6c88caf30dce0be4be

See more details on using hashes here.

File details

Details for the file reaction_system-0.1.4-cp311-none-win32.whl.

File metadata

File hashes

Hashes for reaction_system-0.1.4-cp311-none-win32.whl
Algorithm Hash digest
SHA256 3e9a2f44046d94e9adc1f8e0676d0b4714059620503ede90e1df86c511fb9ed8
MD5 f37f82bb02ce94cb64033afe371fdc57
BLAKE2b-256 c4a3553323395a2eecbe271bd88d49e4bb9f94a354313c6c579587933c2c09f8

See more details on using hashes here.

File details

Details for the file reaction_system-0.1.4-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for reaction_system-0.1.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4e4f5567a9017d43ae13a57952ff114610f87f1af59dcd61e95123695549ba05
MD5 cd288d95c87365a81053f31f29bdcecf
BLAKE2b-256 bb39e60f5aecc2c64b19629b167ccc47744bf40c9325e55aef72268c2cf6c2d2

See more details on using hashes here.

File details

Details for the file reaction_system-0.1.4-cp311-cp311-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for reaction_system-0.1.4-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 99ef40094b70028df3ee919987e9ee92f28fc5357a94ecc56350932458b8b87b
MD5 21aa3221aca8df3ccf4d6bec311ffe80
BLAKE2b-256 f9bbe756d4354973ac4c311a7907abd2d005ec828f2f573f311fbe60249e3dcf

See more details on using hashes here.

File details

Details for the file reaction_system-0.1.4-cp310-none-win_amd64.whl.

File metadata

File hashes

Hashes for reaction_system-0.1.4-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 49ccf46a5f3d13dc47cd29936787163e7927a9581b63968910f9c47df15e6beb
MD5 a92e16bc4539c3aca90c40f192b5b037
BLAKE2b-256 06a0da99949588f7899de8fbf659fc9ff5491da92c3dc15e97fe41097421f61c

See more details on using hashes here.

File details

Details for the file reaction_system-0.1.4-cp310-none-win32.whl.

File metadata

File hashes

Hashes for reaction_system-0.1.4-cp310-none-win32.whl
Algorithm Hash digest
SHA256 67a10b73a6176fbfd6fd1f3ce17106d079d6495c5d6da17b669c18504985bd74
MD5 5fd1b29668f1456847cac6a35be69682
BLAKE2b-256 0d5a402a1146e905d66ff6282b18823aede4e4045d10e0986e1982107460afd7

See more details on using hashes here.

File details

Details for the file reaction_system-0.1.4-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for reaction_system-0.1.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0d6c94ab6551769b61327deaeba3c301f37ba4095888442e2d280f09a2eaba3b
MD5 fb3c9bf3d75afff9759ea326333885dd
BLAKE2b-256 55abff245e2e46d7784f0db633557ca7196a8a8befb998a2ec5923bd1fa10fc7

See more details on using hashes here.

File details

Details for the file reaction_system-0.1.4-cp310-cp310-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for reaction_system-0.1.4-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 b852a63a58a7002f2ff562242dd5309bb1c0b4b29701edba7e1b453540e2cc82
MD5 c9d28e1eba85a8858bc1971c98716b28
BLAKE2b-256 1bf2e4bc08d497f69f9a4f9cc78ee65db1423e2eef703212a016c73cb2096961

See more details on using hashes here.

File details

Details for the file reaction_system-0.1.4-cp39-none-win_amd64.whl.

File metadata

File hashes

Hashes for reaction_system-0.1.4-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 9fca16b0bd20f9aa91db9bb6896b42e68391eb189be0e118581809ada360f847
MD5 0e457312b8b918e10a6580141407a6ad
BLAKE2b-256 54a0b08feadf4ebd6fb43c2155469b0d56ffcceb09b9cdbc9c6900bae42a2135

See more details on using hashes here.

File details

Details for the file reaction_system-0.1.4-cp39-none-win32.whl.

File metadata

File hashes

Hashes for reaction_system-0.1.4-cp39-none-win32.whl
Algorithm Hash digest
SHA256 61aa1636ed0f0fe328f51432e626d597a65f5970ce09f1ab392df140c953f0ef
MD5 3de9f289d495c27c1526a4c61cc383cf
BLAKE2b-256 02a729b40342c20f8718118842b96890ba65cd94ecc4559488b62dfd7ba96b64

See more details on using hashes here.

File details

Details for the file reaction_system-0.1.4-cp38-none-win_amd64.whl.

File metadata

File hashes

Hashes for reaction_system-0.1.4-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 f0a31df1017e1046018ae083eeff4c32176cdfe562b36354719e75815db8b087
MD5 6f35cf94c43c087103d4b209f5620bf8
BLAKE2b-256 734789f85117614337ec09ab80277f67aaa83a7f9debcd40e881bdd599fae45f

See more details on using hashes here.

File details

Details for the file reaction_system-0.1.4-cp38-none-win32.whl.

File metadata

File hashes

Hashes for reaction_system-0.1.4-cp38-none-win32.whl
Algorithm Hash digest
SHA256 38911d8dba25d9788c2e9f6abd4907c45bb2c328af601e8e9aa1433002297ada
MD5 7a83a85185a54042de43b4ac7051b4a9
BLAKE2b-256 af0d2cd74f0f93f055aa76d5b762736544dae6cb9865a95c2173526d8f7d5524

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