A property testing simulator for balancers from the game Factorio
Project description
factorio-balancers
Description
This package provides a framework to import and test belt balancers from the game factorio.
It is able to check a blueprint for belt input and output balance, full throughput on regular use, and throughput unlimitedness. It fully supports all vanilla belt types, sideloading and priority splitters (currently ignores filters)
A website for balancers with this program integrated coming soon at factoriobalancers.com
Usage
You can use the balancer_test
command to use the main balancer
testing tool on the command line.
The following is the output of:
$ balancer_test -h
usage: balancer_test [-h] [-f FILE] [-nb] [-t] [-s] [-es] [--string STRING]
[--silent]
Test a balancer configuration for its properties
optional arguments:
-h, --help show this help message and exit
-f FILE, --file FILE The file from which to read the blueprint string
-nb, --nobalance If for any reason you don't want to test the balance
of the balancer
-t, --trickle Performs a balance test using belts that are not full
-s, --sweep Performs a throughput test on all combinations where
exactly 1 or 2 inputs and outputs are used
-es, --extensivesweep
Performs a throughput test on all combinations of the
same number of inputs and outputs
--string STRING The blueprint string to parse
--silent Tell the script not to write intermediate data to the
screen. Note: this prints raw function results on exit
that are very user-unfriendly.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file factorio_balancers-0.2.9.tar.gz
.
File metadata
- Download URL: factorio_balancers-0.2.9.tar.gz
- Upload date:
- Size: 22.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42591867cd07bd2e0d8dee44bf1a3f467adeb67d833649c16013248d1918cf3b |
|
MD5 | 570909f81abcd7c82e8df60adb6d3b0c |
|
BLAKE2b-256 | 5709c0b83afd89f2788b0080966fcf9dbf7cb85338a25aaf48d16321d0f6b18a |