Skip to main content

PyPI Build Status Coverage Status Downloads

Introduction

A simple and easy-to-use implementation of a Genetic Algorithm library in Python.

pyeasyga provides a simple interface to the power of Genetic Algorithms (GAs). You don’t have to have expert GA knowledge in order to use it.

Installation

At the command line, simply run:

$ pip install pyeasyga

Or clone this repository and run python setup.py install from within the project directory. e.g.:

$ git clone https://github.com/remiomosowon/pyeasyga.git
$ cd pyeasyga
$ python setup.py install

For alternative install methods, see the INSTALL file or the Installation section in the documentation.

Examples

See the Usage section in the documentation for examples. The example files can be found in the examples directory.

Note

  • Currently under active development

History

v0.3.0

2015-04-07

  • Added Python 3.4 support without breaking Python 2 compatibility (thanks to yasserglez)

v0.2.5

2014-07-09

2014-07-09

  • Modified the GeneticAlgorithm class initialisation parameters

  • Made changes to USAGE documentation

  • Added EXAMPLE documentation as a separate section

v0.2.4

2014-07-07

  • Refactored most of the code; Made GeneticAlgorithm class more OOP

  • Made changes to INSTALLATION documentation

v0.2.3

2014-07-05

  • Fixed breaking python 2.6 build

v0.2.2

2014-07-05

  • Removed duplicate ‘Example’ documentation; now maintaining only one copy in examples/README.rst

  • Added link to jeffknupp’s sandman repo in HISTORY

  • Modified release option in Makefile to also upload project documentation

  • Added INSTALLATION and EXAMPLE sections to README.rst

  • Removed easy_install installation step from documentation (pip is sufficient)

  • Added a simple example of usage to docs/usage.rst

  • Reduced the default GA population and generation size (to allow applications that use the different parameters to run quickly)

  • Modified tests to account for the new default population, generation size

  • Added docstrings to all methods

v0.2.0

2014-07-04

  • First upload to pypi.

  • Added changes made to HISTORY (pypi upload, new version)

v0.1.0

2014-06-23

  • Start of pyeasyga development.

2014-07-03

  • Implemented all of basic GA functionality

  • Fix issue with odd-numbered population that causes an off-by-one error in the population size

  • Set default ga selection function to tournament_selection

  • Created examples to show how to use the library

  • Start versioning (better late than never); copied jeffknupp’s update_version.sh from sandman

    selected versioning standard: major.minor.micro (e.g. 2.1.5)

    • major => big changes that can break compatibility

    • minor => new features

    • micro => bug fixes

Metadata

Release files for pyeasyga 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyeasyga 0.3.1
File Size Uploaded
pyeasyga-0.3.1.tar.gz 20.4 kB Details

Release files / pyeasyga-0.3.1.tar.gz

Download URL pyeasyga-0.3.1.tar.gz
Size 20.4 kB
Tags Source
SHA-256 checksum
How to use checksums
11ce1dfe5d650b7457df390150e0ff11c7c5d0781d7b1e00007bffd668aa3f11
BLAKE2b-256 checksum
How to use checksums
3f1bd2834ca8e108806734a59579fe38a9fa1329f2527d622c43894c1c85a233
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 release file

0.3.0

3 release files

0.2.5

3 release files

0.2.4

2 release files

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page