Skip to main content

EasyGA is a python package designed to provide an easy-to-use Genetic Algorithm. The package is designed to work right out of the box, while also allowing the user to customize features as they see fit.

Project description

EasyGA - A general solution to Genetic Algorithms

Project description

Installation:

Run the rolling to install:

pip3 install EasyGA

Getting started with EasyGA:

import EasyGA

# Setup the default genetic algorithm
ga = EasyGA.GA()
# Run the default genetic algorithm
ga.evolve()

Output:

Put the out here

How Testing works

Getting started with testing

pip3 install pytest

Navigate to your EasyGA folder and run:

pytest

Output

============================== 1 passed in 0.02s ===============================
#
============================= test session starts ==============================
platform darwin -- Python 3.8.6rc1, pytest-6.0.2, py-1.9.0, pluggy-0.13.1
rootdir: /Users/danielwilczak/github/EasyGA
collected 1 item                                                               

src/gene/test_gene.py .                                                  [100%]

============================== 1 passed in 0.03s ===============================  

This is only an example and we will create hundreds of tests so this list will become bigger and bigger.

Developing EasyGA:

If you know how to use Github and git ignore this section.

Getting started with development

To work together we plan on using github and the git framework. This is made easy with the Atom software.

Download Atom for whatever OS you have. https://atom.io/

Use the github tab to pull the github repository. Its self explanitory.

Use the run_testing.py file inside the src folder to run your code and test while we build the package.

Other options

Download the repository to some folder - If you never used git. Look up a youtube tutorial. It will all make sense.

git clone https://github.com/danielwilczak101/EasyGA.git

Or download as a zip file.

https://github.com/danielwilczak101/EasyGA/archive/master.zip

Use the example.py file inside the src folder to run your code and test while we build the package.

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

EasyGA-0.0.9.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

EasyGA-0.0.9-py2-none-any.whl (3.9 kB view details)

Uploaded Python 2

File details

Details for the file EasyGA-0.0.9.tar.gz.

File metadata

  • Download URL: EasyGA-0.0.9.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6rc1

File hashes

Hashes for EasyGA-0.0.9.tar.gz
Algorithm Hash digest
SHA256 a9ae4955d5934d7be2c5a45713232124503e53aa0caffa4796babf1e8e4759fd
MD5 dd430b4effb5db0775094b1b43e455d2
BLAKE2b-256 502fb9e397c1b6b9eced8992ac119eca196c18d438450463f56c376b14779c22

See more details on using hashes here.

File details

Details for the file EasyGA-0.0.9-py2-none-any.whl.

File metadata

  • Download URL: EasyGA-0.0.9-py2-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6rc1

File hashes

Hashes for EasyGA-0.0.9-py2-none-any.whl
Algorithm Hash digest
SHA256 623c4aaa44b58540e1566302ee5dc3929f4a25ffd7c59380511da3d8f8958791
MD5 022ea1a5ed460e99337538dbe5bd4e9f
BLAKE2b-256 da84c62c9eb16a4680e6551648969ee249525a844b96113da04053cb0fe82a33

See more details on using hashes here.

Supported by

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