Bases: CaseInsensitiveStrEnum
Enum of public and private trackers.
AITHER
class-attribute
instance-attribute
ANIDEX
class-attribute
instance-attribute
ANIMEBYTES
class-attribute
instance-attribute
ANIMETOSHO
class-attribute
instance-attribute
ANIMETOSHO = 'AnimeTosho'
BEYONDHD
class-attribute
instance-attribute
BLUTOPIA
class-attribute
instance-attribute
BROADCASTTHENET
class-attribute
instance-attribute
BROADCASTTHENET = 'BroadcastTheNet'
HDBITS
class-attribute
instance-attribute
NYAA
class-attribute
instance-attribute
OTHER
class-attribute
instance-attribute
OTHER_PRIVATE
class-attribute
instance-attribute
OTHER_PRIVATE = 'OtherPrivate'
PASSTHEPOPCORN
class-attribute
instance-attribute
PASSTHEPOPCORN = 'PassThePopcorn'
RUTRACKER
class-attribute
instance-attribute
is_private
Check if the current tracker is private.
Returns:
Type |
Description |
bool
|
True if the tracker is private, False otherwise.
|
Source code in src/seadex/_enums.py
| def is_private(self) -> bool:
"""
Check if the current tracker is private.
Returns
-------
bool
`True` if the tracker is private, `False` otherwise.
"""
return not self.is_public()
|
is_public
Check if the current tracker is public.
Returns:
Type |
Description |
bool
|
True if the tracker is public, False otherwise.
|
Source code in src/seadex/_enums.py
| def is_public(self) -> bool:
"""
Check if the current tracker is public.
Returns
-------
bool
`True` if the tracker is public, `False` otherwise.
"""
return self.value in ("Nyaa", "AnimeTosho", "AniDex", "RuTracker", "Other")
|