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.3.tar.gz (8.2 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.3-cp312-none-win_amd64.whl (253.3 kB view details)

Uploaded CPython 3.12Windows x86-64

reaction_system-0.1.3-cp312-none-win32.whl (229.5 kB view details)

Uploaded CPython 3.12Windows x86

reaction_system-0.1.3-cp312-cp312-macosx_10_7_x86_64.whl (413.6 kB view details)

Uploaded CPython 3.12macOS 10.7+ x86-64

reaction_system-0.1.3-cp311-none-win_amd64.whl (254.0 kB view details)

Uploaded CPython 3.11Windows x86-64

reaction_system-0.1.3-cp311-none-win32.whl (230.0 kB view details)

Uploaded CPython 3.11Windows x86

reaction_system-0.1.3-cp311-cp311-macosx_11_0_arm64.whl (398.7 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

reaction_system-0.1.3-cp311-cp311-macosx_10_7_x86_64.whl (414.8 kB view details)

Uploaded CPython 3.11macOS 10.7+ x86-64

reaction_system-0.1.3-cp310-none-win_amd64.whl (254.2 kB view details)

Uploaded CPython 3.10Windows x86-64

reaction_system-0.1.3-cp310-none-win32.whl (230.0 kB view details)

Uploaded CPython 3.10Windows x86

reaction_system-0.1.3-cp310-cp310-macosx_11_0_arm64.whl (398.7 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

reaction_system-0.1.3-cp310-cp310-macosx_10_7_x86_64.whl (414.7 kB view details)

Uploaded CPython 3.10macOS 10.7+ x86-64

reaction_system-0.1.3-cp39-none-win_amd64.whl (254.3 kB view details)

Uploaded CPython 3.9Windows x86-64

reaction_system-0.1.3-cp39-none-win32.whl (231.6 kB view details)

Uploaded CPython 3.9Windows x86

reaction_system-0.1.3-cp38-none-win_amd64.whl (254.3 kB view details)

Uploaded CPython 3.8Windows x86-64

reaction_system-0.1.3-cp38-none-win32.whl (230.3 kB view details)

Uploaded CPython 3.8Windows x86

File details

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

File metadata

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

File hashes

Hashes for reaction_system-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3cd3a5ef4639496d6f5398948372fcf2af56e87156e44ffb0a07e08a0aa3ed03
MD5 d9b5c11fd0011e0e1e067c4c63e41394
BLAKE2b-256 40ecbd60df4248222f70b4537ab638eb4ab743145e708f9857fd45befcf5660d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reaction_system-0.1.3-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 5e73e7f0af505e9dc070acbe0376ac96549b7c12c31ac14d7172bd4478154c75
MD5 764792361432e616bdd6b479cb148705
BLAKE2b-256 8c93f26084a34ae550ab6a93e5e30a0b5c38fad240f442bc910efc33b8046902

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reaction_system-0.1.3-cp312-none-win32.whl
Algorithm Hash digest
SHA256 f9fc22afd822a9d44b957aad74c543f94f6f76950fe78c2bc5003cf57da29add
MD5 89b46c2734bfd204871b6554dbe27358
BLAKE2b-256 2f841ab9176fa6ad4979c2f5a5803cf3ae32de9b56b6ec07960a6d3e0519a837

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reaction_system-0.1.3-cp312-cp312-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 1ee9c968bd4f7a564ce81a2a1861c71d0593a0981c3d7a4ffac6f66a9e98f5dd
MD5 fba8329522c00e60f483b69c9401f8f3
BLAKE2b-256 4d10dfcef415abe19bd922cc3dc62f14743a3328aa62388ec08e10fde0acf0cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reaction_system-0.1.3-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 924ab4ded5186a7d55bb99f9d059895117c6f77c96a4632ee0a09f6e86443e2f
MD5 cd8af7bf16f7c9d51a80163ae7115722
BLAKE2b-256 2da7c932b917b9d8f6252d9cf41f8c547a5e9799bd05347a83e60197b8d98d36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reaction_system-0.1.3-cp311-none-win32.whl
Algorithm Hash digest
SHA256 3a98cb42fc3ec84fc7af84c55dab49caf915548a05958b533d49e3484e0dff6d
MD5 40558b85ce32d7daebc1477e8df0688b
BLAKE2b-256 e72b20d9d35abbe065248db28c70f3ff364c254e4c769bd09471f028de32ead5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reaction_system-0.1.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6372a283870d3a6cccbb2ce7ec839dfc6abc304b573a6be3dcd93d0e8cdbd2d6
MD5 f3fe28d4c91667f3202d4443d681beaf
BLAKE2b-256 cae203b7d9a388b7994168d8a17e72b72765a20b03808b6c33f3552849e2fcaf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reaction_system-0.1.3-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 2a9bb004c6016bed3c4e09f48a024d517b6a060d14cdd1203b16845c281009d4
MD5 623a4c11d6884829716cf1bc66baf3e3
BLAKE2b-256 fd94787e988b5ad787ce28ceb3a0db706cf0a900a0f8b1229c4ed1f58543386a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reaction_system-0.1.3-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 a935c007b54493ca7967c54ed57e3af82ee942d98f8d23016a7811c48f3e2990
MD5 e0c98ddf048b1362065b8fa60f6042be
BLAKE2b-256 87e5d2cabf467e05b49ab2b229f9f05467747b25bc60b9ef3eb30d3148d5d475

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reaction_system-0.1.3-cp310-none-win32.whl
Algorithm Hash digest
SHA256 1ce0eb8f650967b9fbd33177adb89b5aa27934d5b9665884f85a9e8adddb2d3b
MD5 787139ba1549bb8d5f4e2d6bdd0ed1ce
BLAKE2b-256 e2cdc0efc2c44d942aea714275fe871dff9b4502a16814d8c9c67a1b3c7a5f6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reaction_system-0.1.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 272eb359d5e49680e8ca0a5d16d5b020ee07e3c49bd9b60f1b39948725f97f06
MD5 e5069f8e85fa16eb35074fae0d86a797
BLAKE2b-256 c66994adac953b8155e4a77460065051b56195faf9845a4919700750562698a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reaction_system-0.1.3-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 bdf34709c7b22dc33c7a875d4bec93209acd3442c7a4e31cce5c7ffdd54475fe
MD5 d666c9ee3d154d99632ea8847c8bd175
BLAKE2b-256 0214019c8fcb2e104c9c8727cae48e0108ad6eb1d9168f37e1033089388e719d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reaction_system-0.1.3-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 c557de6e62e26125c0e0b318cab1fd0a840e320a34ce8c385611015277073450
MD5 69a8093d699d9b5498e56abe287c7dd4
BLAKE2b-256 8eb5eec6c5211501ec225bdcf7f8feada497e5ccd580183430698ca4ca5878c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reaction_system-0.1.3-cp39-none-win32.whl
Algorithm Hash digest
SHA256 165e3f29abf2923b31052c69b7ccb15e5550fb23d2aa8f39725268ea89a54e2e
MD5 c2b86920a3a9c379567d5ddf6604ee1d
BLAKE2b-256 c0af4f0366ac5f2abc46fc467f68536032bce6ec07645509837ae8b9be5eeade

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reaction_system-0.1.3-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 c480650164a9c8deab588e67abe488f7079f91cec0ad6d0ba9838b700e1504a7
MD5 959638e7bcd2d41f8203c2352ed7c6f6
BLAKE2b-256 c8bca1bd9892a26f0aa79e8ffaefc705f85327b162d93d29950f03a9bf282d30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reaction_system-0.1.3-cp38-none-win32.whl
Algorithm Hash digest
SHA256 0b4466fb0edba9799545e2a10c68cba3f6250d32ab002214b7f461b48402a54e
MD5 d40027fa866fac5b2fce83932963561a
BLAKE2b-256 3571fe4355b996e923ddf090a6d1e134c3e962b1c4d5a89f54adff313680ce5b

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