8000 GitHub - pomo-mondreganto/checklib
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

pomo-mondreganto/checklib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The library for easy checker writing for ForcAD Attack-Defence checksystem.

It's compatible with Hackerdom checksystem, too.

Import it with from checklib import * and have access to:

  • TaskStatus enum with exit codes for action results
  • cquit(status, public='', private=public) function to throw the specified status code and exit, passing public and private checker information to checker
  • assert_*() functions to ease up the validation of returned data
  • rnd_*() functions to generate random data like usernames and user agents
  • handle_exception context manager to handle block exceptions and cquit on failure
  • check_response, get_text and get_json functions to validate requests responses
  • get_initialized_session function to get requests session with random user agent
  • BaseChecker class for gevent_optimized checkers in ForcAD

Pull requests are gladly accepted.

Supported python versions: 3.6.8+.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0