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

Uploaded Source

Built Distribution

graphic_verification_code-1.0.2-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.2.tar.gz.

File metadata

File hashes

Hashes for graphic-verification-code-1.0.2.tar.gz
Algorithm Hash digest
SHA256 ff12ad94bc81d46b03e173f7e3c3f2b690d3b5d645aca1bb7c9c7d626a2abc4f
MD5 7accf2cfff45c6d84749432642a797ff
BLAKE2b-256 a27a8482d5d373e5c203c564956842b1fb08e9223e165560abc089d08ef2d1a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for graphic_verification_code-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 957d6efbc0341919f2869176b083024d96c2e8b5ff2bc7f39f403655a6433ff2
MD5 01c61120c07b1c02fdfa78a9c130aefc
BLAKE2b-256 21bd8955350021489fd17b3186c2ad18361aecf2087d9c19b1928b4ba1f75487

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