Skip to main content

Graphic Verification Code

Project description

Graphic Verification Code

Installation

pip install graphic-verification-code

Usage

In [1]: import gvcode

In [2]: gvcode.generate()
Out[2]: (<PIL.Image.Image image mode=RGB size=120x30 at 0x7FD2380E1310>, 'ubAR')

In [3]: gvcode.base64()
Out[3]:
('iVBORw0KGgoAAAANSUhEUgAAAHgAAAAeCAIAAABoq03CAAACyklEQVR4nN1aO04kMRB9NdoIQUIAEVcgIuAEKyQyUsShIOUmmwEpZyAgG4SI+GRTBB48bn+6XXZ52uxTB6OWXS5XPb+y20PMDAAAEdnfPaOFn+M2VUZcVPb/b0BEbe27ubKDtab2jKvHzFE0ekGXEANGM7Mx1yK9rs0ZNcqVyvwu9Q4nmeWlsUMF79ClESQ12qRxa2JSgEmXmsqu1PhEMTSxFhltXVXyoUiOcFJS438mW7iqnWO9Q+73AJnMueH+XRI5O0qCpbLd2TJmp4X+gYVo82wNJveXlwMHbm9xc7N2Qxpl9UozrdEhRlT7Z1YAcHgIIqjTKMpNZt7ZwfGxJ27lo6jTvyTQBqlw25/LJYjw/o69Pf1wezg7w+enyavvSSebIDXlIqKQB4sFVit9XqcENzpQi1WV6Y8LX6OLtSl6dl+tyoxljeUh5fgWSmAOWX3pmLE0W333QpbvkZbvZTkb34wp7zoKTpJOXwAgwvk5Li7ADGY8PfmrZMS4ihy79dzzbRzjHNXcXXpqaJUrXyVTIou8qWrJMRGOjvD8LHZgzGa7QGPDvtxBUlPKjKBioIOJxB3Lh/6B5e5uc2RwP3D387EpB+6BSyV/5fvoEAcHa5/Mrs7BX4CB6UCHlVAKIphl6m25RMGy1cL0YsbHR5VX0GX0y8s6Ug8Pm1kR4fT0H3NVncyECQrAGG43r67KU2jCvbsLZiyX5b61uFEGglOZVySRlu36eui2dHktInWNKEcnGGd0De/cdee+cRqIr+DKVj0GV3GyqDHj+nrwgcw+9/eTfWPnqdYnlMdHnJzkNnbz64pP+FJkStQxZaHGFHSLYRRfX0A2oaJtXB3I/+Y5FCuBD7ZLqnGZqrRitNWplEx3fm+Q0r39fby9lWz4ep+wCNL8TV4Vhepha4A0bN39JayuDktrbME13jrKr6/CjrMw+jfeOlbiGyMXxYAIZpe8AAAAAElFTkSuQmCC',
 'QnCg')

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

graphic-verification-code-1.0.3.tar.gz (5.8 MB view details)

Uploaded Source

Built Distribution

graphic_verification_code-1.0.3-py2.py3-none-any.whl (5.8 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file graphic-verification-code-1.0.3.tar.gz.

File metadata

  • Download URL: graphic-verification-code-1.0.3.tar.gz
  • Upload date:
  • Size: 5.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.10

File hashes

Hashes for graphic-verification-code-1.0.3.tar.gz
Algorithm Hash digest
SHA256 7d126158b6c7defe75cd7f63f14909216ad67f35d896ac538f705efe5c443228
MD5 c701be310c2c8c87d049d8dfc2e62afd
BLAKE2b-256 4fc68f76261b7cad202b76b289089a5d9eaa018c91581d6c42e056f2c8c9962a

See more details on using hashes here.

File details

Details for the file graphic_verification_code-1.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: graphic_verification_code-1.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.10

File hashes

Hashes for graphic_verification_code-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d2d990ec85b94a38b718cdfa65804f4cd859ea56232d3ef712043d8a9c4be395
MD5 71c76b1f35c42dc2c069537ab7d2f7e9
BLAKE2b-256 b261579e37c35bd05c934bb624a0f0082e8d72f6f64bfcd652b5b32584257dbb

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