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

Uploaded Source

Built Distribution

graphic_verification_code-1.0.0-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.0.tar.gz.

File metadata

File hashes

Hashes for graphic-verification-code-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5d43cdad3435306b9f97112fcbdfa00754cbfdaf30d2c8e310f2de039ed21eda
MD5 570d0ad1794b817c1a2d156021960bd4
BLAKE2b-256 42e4ff340fc3fced1ad27eb792af049d7816d72a9d1117d8ec4543368917c0a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for graphic_verification_code-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d1b145e8fbe42953f1d0067d44c2ee086ae23eb08451b0763766d4f6cd4ba306
MD5 448ea354b469bb4b20719e3243856577
BLAKE2b-256 4d5f127f60b617c4821cfff39ed2cc6d8681ecaa8f53ec0b5342fea4ac2b8910

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