Skip to main content

Core classes for scheduling problems' definition

Project description

schore

From raw data to scheduling problem instances.

schore is a lightweight Python library that helps transform tabular or textual input into structured scheduling problem instances.

โœจ Modules

Core Interfaces

from schore import DfManager, Table2DManager, JobStageProcessingTimeManager, JobMachineProcessingTimeManager
  • DfManager: A base class to manage a DataFrame.
  • Table2DManager: A class to manage a 2D table represented as a DataFrame.
  • JobStageProcessingTimeManager: A class to manage a 2D DataFrame with columns for stages & rows for jobs.
  • JobMachineProcessingTimeManager: A class to manage a 2D DataFrame with columns for machines & rows for jobs.

Utility

from schore.util import TextDataParser
  • TextDataParser: A class to parse text data from a stream.

Scheduling Models

from schore.hybridflowshop import HybridFlowShopProblem
  • HybridFlowShopProblem: Hybrid flow shop problem instance with multiple jobs and stages, where each stage may have multiple parallel machines.

๐Ÿ› ๏ธ Repository Structure

โ”œโ”€โ”€ src/
โ”‚   โ””โ”€โ”€ schore/
โ”‚       โ”œโ”€โ”€ hybridflowshop/
โ”‚       โ”‚   โ””โ”€โ”€ problem.py
โ”‚       โ”œโ”€โ”€ manager/
โ”‚       โ”‚   โ”œโ”€โ”€ base/
โ”‚       โ”‚   โ”‚   โ”œโ”€โ”€ df_manager.py
โ”‚       โ”‚   โ”‚   โ””โ”€โ”€ table_2d_manager.py
โ”‚       โ”‚   โ”œโ”€โ”€ processing_time/
โ”‚       โ”‚   โ”‚   โ”œโ”€โ”€ job_mc_p.py
โ”‚       โ”‚   โ”‚   โ””โ”€โ”€ job_stage_p.py
โ”‚       โ”œโ”€โ”€ util/
โ”‚       โ”‚   โ””โ”€โ”€ text_data_parser.py
โ”‚       โ””โ”€โ”€ type_hints.py
โ”œโ”€โ”€ tests/
โ”‚   โ”œโ”€โ”€ hybridflowshop/
โ”‚   โ”‚   โ””โ”€โ”€ test_problem.py
โ”‚   โ”œโ”€โ”€ manager/
โ”‚   โ”‚   โ”œโ”€โ”€ base/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ test_df_manager.py
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ test_table_2d_manager.py
โ”‚   โ”‚   โ””โ”€โ”€ test_job_stage_processing_time_manager.py
โ”‚   โ””โ”€โ”€ util/
โ”‚       โ””โ”€โ”€ test_text_data_parser.py

๐Ÿงช Testing

To run the tests, use the following command:

pytest tests/

Installation

pip install schore

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

schore-0.0.3.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

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

schore-0.0.3-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file schore-0.0.3.tar.gz.

File metadata

  • Download URL: schore-0.0.3.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.2

File hashes

Hashes for schore-0.0.3.tar.gz
Algorithm Hash digest
SHA256 976b5bd1aa01c95d4634d453271927ebaf954c1f832a4d382a52348977d31bb0
MD5 e19af8e97237b0024137e0f6ecdfb9a5
BLAKE2b-256 8c808f59f51c2d6e6e5e433ec1c44614ee5e5282eda7c2de667e29f4ef87f87e

See more details on using hashes here.

File details

Details for the file schore-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: schore-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.2

File hashes

Hashes for schore-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 22baacb487bccee5f7ab08e58a62b2b00896180830c0373ac2d85420a2c8b35e
MD5 8a7f8954918b4e2fe3f4d84ab9b89f1d
BLAKE2b-256 f969cb241915d60be6bd2dac4e6490f5c0d844a8058d8e4b048600b52f70c50b

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