semvec/pypi-packages huggingface dataset:
factorio-balancers 0.2.9
A property testing simulator for balancers from the game Factorio
License: MIT
Keywords: factorio,balancer,blueprint

# factorio-balancers

[![PyPI version fury.io
](https://badge.fury.io/py/factorio-balancers.svg)
](https://pypi.python.org/pypi/factorio-balancers/)
[![GitHub release
](https://img.shields.io/github/release/tzwaan/factorio-balancers.svg)
](https://GitHub.com/tzwaan/factorio-balancers/releases/)



## 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](http://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.

```
tf-train 1.3.0
Additional package for Tensorflow
License: MIT
Requires Python: >=3.6

# TensorflowTraining
Additional python package for train models with [Tensorflow](https://www.tensorflow.org/).

# Installation
```pip install --upgrade tf-train```

# Usage
```import tf-train as tft```

In tft directly are available **keras**:
* tft.models
* tft.losses
* tft.optimizers
* tft.metrics

Use the ```tft.train()``` to train model.
```
Args:
    
    train_dataset: Tensorflow Dataset object for train the model.

    model: Keras trainable model.

    epochs (int): Num of epochs of training.

    loss: Loss function.

    optimizer: Tensorflow optimizer. Default Adam with learning_rate=0.001.

    metrics: List of tensorflow mertics. Default contains Recall and Precision.
```