Skip to main content

Python 3 compatible Pytohn 2 `baker` Module.

Project description

CHANGES

1.0.1 (2013-03-15)

  • Fix setup.py so that an install of the package will actually work.

1.0.0 (2013-03-06)

  • Initial PyPI release.

baker 2

This package provides a Python 3 ported version of Python 2.7’s baker module. It has also been back-ported to work in Python 2.6.

In Python 3, the implementation of randrange() was changed, so that even with the same seed you get different sequences in Python 2 and 3. Note that several high-level functions such as randint() and choice() use randrange().

In my testing code I heavily rely on stable baker generator results and it makes porting code to Python 3 a lot harder, if all those tests have to be adjusted. This package fixes that.

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

baker2-1.0.1.tar.gz (17.9 kB view details)

Uploaded Source

File details

Details for the file baker2-1.0.1.tar.gz.

File metadata

  • Download URL: baker2-1.0.1.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for baker2-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ad7f5dab6ddb658848cae0a46c1d894fba2389a9c97b60bd838e50f30a2cfcd5
MD5 81272561ef5cfdb3a15ab34d9a34cc9e
BLAKE2b-256 e09f061100d9717238ee6d16d5cac03e72840fc34be4cadcf2ee790c7b122c62

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