Skip to main content

Algorithms for manipulating and simulating patterns in cellular automata

Project description

What is lifelib?

lifelib is a collection of algorithms for simulating and manipulating patterns in cellular automata. It can be included in your project in either of two ways:

  • Python package: lifelib can be imported as a Python package, and is compatible with both Python 2.7 and Python 3.5 (and beyond). We recommend this for everyday use, as the Python bindings are more high-level and user-friendly.

  • C++ header files: if you have a project written in C++11 or above, specific components of lifelib may be included. This approach is used by the apgsearch soup searcher and the slmake glider synthesis compiler. Note that lifelib is header-only owing to the use of templates.

System requirements

For lifelib to work, you need a computer with an x86-64 processor. This includes most personal computers, but not smartphones, tablets, or the Raspberry Pi.

It runs easily in a POSIX environment, such as:

  • Linux / Unix;
  • Mac OS X;
  • Windows (using Cygwin);
  • Windows 10 (using WSL);

and requires a C++ compiler (gcc or clang) and Python (ideally with numpy).

The Python version of lifelib can actually run in Windows' native Python (e.g. Anaconda). A suitable Cygwin installation still needs to exist on the machine and be locatable by lifelib; the Python package contains a function (lifelib.install_cygwin()) to automatically and painlessly handle this.

Documentation

Future directions

  • Currently lifelib is specific to 64-bit x86 architecture; ideally support for other architectures will be introduced.
  • An experimental logic synthesis branch is under development. That will allow custom rules (expressed as rule tables or trees) to be automatically compiled into Boolean circuits.
  • In addition to the existing C++11 and Python bindings, the author is aiming to add Wolfram Language bindings for the library.

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

python-lifelib-2.4.7.tar.gz (715.8 kB view details)

Uploaded Source

File details

Details for the file python-lifelib-2.4.7.tar.gz.

File metadata

  • Download URL: python-lifelib-2.4.7.tar.gz
  • Upload date:
  • Size: 715.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.4

File hashes

Hashes for python-lifelib-2.4.7.tar.gz
Algorithm Hash digest
SHA256 2d9c5d8385326c2497d749a9dc0799fb29432691e6ba4fbfc44268254bf00d91
MD5 511e2f3ce6c38a7d3097a1eb2c6689bb
BLAKE2b-256 62a165c751ae62edf2b3fc452021e4ef663a8b86f513c078faa8eddfe44357e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page