Skip to main content

EnoChecker Async Build Status

This is the asynchronous python variant of the ENOWARS checkerlib.

Implementing an asynchronous checker

Consumers must extend the BaseChecker class:

class DemoChecker(BaseChecker):
    port = 8000

    def __init__(self):
        super(DemoChecker, self).__init__("Demo", 8080, 2, 0, 0) # 2 flags, 0 noises, 0 havocs

    async def putflag(self, logger: LoggerAdapter, task: CheckerTaskMessage, collection: MotorCollection) -> None:
        pass

    async def getflag(self, logger: LoggerAdapter, task: CheckerTaskMessage, collection: MotorCollection) -> None:
        pass

    async def putnoise(self, logger: LoggerAdapter, task: CheckerTaskMessage, collection: MotorCollection) -> None:
        pass

    async def getnoise(self, logger: LoggerAdapter, task: CheckerTaskMessage, collection: MotorCollection) -> None:
        pass

    async def havoc(self, logger: LoggerAdapter, task: CheckerTaskMessage, collection: MotorCollection) -> None:
        pass

For a full example, check out the WASP checker.

Testing your checker

enochecker_cli is a nice cli tool that you can use to send tasks to your checker.

Metadata

Release files for enochecker-async 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for enochecker-async 0.5.0
File Size Uploaded Provenance Actions
enochecker_async-0.5.0.tar.gz 5.1 kB Without provenance Details for enochecker_async-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for enochecker-async 0.5.0
File Interpreter ABI Platform Actions
enochecker_async-0.5.0-py3-none-any.whl Python 3 none any Details for enochecker_async-0.5.0-py3-none-any.whl

Total release size: 10.1 kB

Release files / enochecker_async-0.5.0.tar.gz

Download URL enochecker_async-0.5.0.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ebc68341a3640cfb9bbc2dad57cb436302a6680f6a2331d9b44cafdffc5b2dc8
BLAKE2b-256 checksum
How to use checksums
bfbc09ab4b56316492fde2685f4be084352e4cf6788cc527eb08c60d8bae70c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release files / enochecker_async-0.5.0-py3-none-any.whl

Download URL enochecker_async-0.5.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8f479e647679b8528c31270dd807e235d7f5790d75d6c8b404f92676c6eb0f3
BLAKE2b-256 checksum
How to use checksums
b30ddb430efd9bc065acdd4998b6ae61b25ac3b047bee3fd3edf6fdf2ae19dea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Security for enochecker-async 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page