Skip to content

kyle-go/vc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vc

a python library for create image verification-code

https://pypi.org/project/vc/

How to use?

0x01

pip install vc -i https://pypi.org/simple

0x02

import os
from vc import create_image_base64, create_image_file

ret, result = create_image_base64()
print("Test create image base64.")
if ret is True:
    print(result['code'])
    print(result['base64'])

ret, result = create_image_file()
print("Test create image base64.")
if ret is True:
    print(result['code'])
    print(result['file'])
    # remove tmp file
    os.remove(result['file'])

About

a python library for create image verification-code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages