semvec/pypi-packages huggingface dataset:
prisoners-problem 0.0.10
Simulate the 100 prisoners problem.

Install using `pip3 install prisoners_problem`.

Run a couple samples with a given strategy:

```
>>> from prisoners_problem import simulate
>>> simulate.nsamples(1000, strategy=simulate.try_find_self)
0.3
>>>
```

`help(simulate.nsamples)` should give information for how to put in your own
strategy.

You can run `python3 -m prisoners_problem.viz` to show the results of the
visualization.
vili 1.1.0
PyVili is a Python API to manipulate Vili Data files
Requires Python: >=3.6, <4
Keywords: vili data language config

# PyVili

PyVili is a Python API to manipulate Vili Data files

You can install it using the following command : `pip install vili`

## What does vili files look likes ?

```yaml
Person: # This is how you define a ComplexNode (object)
    animal:"Homo Sapiens" # You can use strings
    legs:2 # And also integers
    arms:2

Cat:
    animal:"Felis silvestris catus"
    legs:4

Jack(Person):
    criminal:True # You can use booleans (True / False)
    age:32
    name:"Jack"
    surname:"Sparrow"
    weight:76.4 # Vili also support floats

Billy(Cat):
    activities:[ # A simple list
        "Chasing mice",
        "Eating food"
        "Sleeping"
    ]

House:
    inhabitants:
        billy:&Billy # You can reference an existing object
        jack:&Jack
```