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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
976b5bd1aa01c95d4634d453271927ebaf954c1f832a4d382a52348977d31bb0
|
|
| MD5 |
e19af8e97237b0024137e0f6ecdfb9a5
|
|
| BLAKE2b-256 |
8c808f59f51c2d6e6e5e433ec1c44614ee5e5282eda7c2de667e29f4ef87f87e
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22baacb487bccee5f7ab08e58a62b2b00896180830c0373ac2d85420a2c8b35e
|
|
| MD5 |
8a7f8954918b4e2fe3f4d84ab9b89f1d
|
|
| BLAKE2b-256 |
f969cb241915d60be6bd2dac4e6490f5c0d844a8058d8e4b048600b52f70c50b
|