Skip to main content

check(id: str|int) -> bool Check if a user banned by CAS (Combot Anti-Spam System).

  • Args:

    • id (str | int): The user ID to be checked.
  • Returns:

    • bool: Returns True if the user is banned or False if the user is not banned.

get_messages(id) -> dict[str, list, str] Check information about user.

  • Args:
    • id (str | int): The user ID to be checked.
  • Returns:
    • dict[str, list, str]: Returns the number of spam messages, messages, and the time of the ban. If there is no user in ban, returns None.

Metadata

Release files for cas-tg 1.0.1

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

Source distribution (sdist)

Source distribution for cas-tg 1.0.1
File Size Uploaded Provenance Actions
cas_tg-1.0.1.tar.gz 3.3 kB Without provenance Details for cas_tg-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cas-tg 1.0.1
File Interpreter ABI Platform Actions
cas_tg-1.0.1-py3-none-any.whl Python 3 none any Details for cas_tg-1.0.1-py3-none-any.whl

Total release size: 6.2 kB

Release files / cas_tg-1.0.1.tar.gz

Download URL cas_tg-1.0.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1b3ea6ef66f22471b27eddf10dbb28de034073f06ae945642ea50ce6a2bc2f2d
BLAKE2b-256 checksum
How to use checksums
9b781fc4fefc379bac60b462de35c2974557213a55ff9cba9652b2762db92a43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release files / cas_tg-1.0.1-py3-none-any.whl

Download URL cas_tg-1.0.1-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1d4afcfc5cc42c60b3fdc33bcfcf9acc53bd1d840fec35c63dab05d8818be0e
BLAKE2b-256 checksum
How to use checksums
3a66d257c06a34056f89030b36f78d2b64f5701b644028f931d98f3d1b8a7f44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Security for cas-tg 1.0.1

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