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.1.1.tar.gz (5.8 MB view details)

Uploaded Source

Built Distribution

graphic_verification_code-1.1.1-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.1.1.tar.gz.

File metadata

  • Download URL: graphic-verification-code-1.1.1.tar.gz
  • Upload date:
  • Size: 5.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.2

File hashes

Hashes for graphic-verification-code-1.1.1.tar.gz
Algorithm Hash digest
SHA256 f5f0e3ef68e2157a5a16d8c389a279954ab50ad113fac8dc8939390fbd7a10a6
MD5 787566bf740750b459206cf2beccf18a
BLAKE2b-256 8d44e197cfafc810b2dc95dc4b744ee6640201cdf4aad373cfd915b9112d7248

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for graphic_verification_code-1.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9737e22cd1e6eb15f3009a8ff90a14a7c97fe01cae41c7fc310825e1176f33cb
MD5 12eda93f97016036d3e338b47caf97b0
BLAKE2b-256 1797d0150bc54f7fb9abdf2c38b714f393becdadc6cb2e0d14fe6847618f2400

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