semvec/pypi-packages huggingface dataset:
sobol-seq 0.1.2
Sobol sequence generator
License: MIT

=========
sobol_seq
=========

Python Sobol sequence implementation.
`Sobol sequences <https://en.wikipedia.org/wiki/Sobol_sequence>`_ are quasi-random low-discrepancy sequences that are useful for creating sample distributions.

The original code that this package is based on is by John Burkardt and Corrado Chisari.
The original version is available `here <http://people.sc.fsu.edu/~jburkardt/py_src/sobol/sobol.html>`_

Installation
============

To install via pip::

	pip install sobol_seq

or::

	python -m pip install sobol_seq

To install as usual with setuptools - source available from `github <https://github.com/naught101/sobol_seq>`_.

To install via Conda::

    conda install -c https://conda.binstar.org/naught101 sobol_seq

Usage
=====

See documentation (and source code) `on github <https://github.com/naught101/sobol_seq>`_.
DaemonLite 0.0.2
This is a Python class that will daemonize your Python script so it can continue running in the background
License: MIT
Keywords: Python Daemon

|

NAME
====

    DaemonLite is a library for writing system daemons in Python. It is distributed under MIT license.

    Based on https://github.com/serverdensity/python-daemon


|

SYNOPSIS
========

.. code-block::


    from DaemonLite import DaemonLite

    class Staff(DaemonLite) :
        def run(self) :
            # Do something
        
    staff = Staff('/var/staff/staff.pid')
    staff.start()


|

Actions
===========
    start()   - starts the daemon (creates PID and daemonizes).
    stop()    - stops the daemon (stops the child process and removes the PID).
    restart() - does stop() then start().


|

Foreground
===========
    This is useful for debugging because you can start the code without making it a daemon. The running script then depends on the open shell like any normal Python script.

    To do this, just call the run() method directly.

.. code-block::


    staff.run()


|

DESCRIPTION
===========
    This is a Python class that will daemonize your Python script so it can continue running in the background. It works on Unix, Linux and OS X, creates a PID file and has standard commands (start, stop, restart) + a foreground mode.