Metadata-Version: 2.5
Name: apify-bot-guard
Version: 0.1.1
Summary: Fair free-plan allowances for Apify Actors, with a per-Actor pool against farms of free accounts.
Project-URL: Homepage, https://github.com/tacps126/apify-bot-guard
Project-URL: Issues, https://github.com/tacps126/apify-bot-guard/issues
License-Expression: MIT
License-File: LICENSE
Keywords: abuse,actor,apify,free-tier,rate-limit,redis,upstash
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: AsyncIO
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Typing :: Typed
Requires-Python: >=3.10
Provides-Extra: apify
Requires-Dist: apify-client>=1.8; extra == 'apify'
Requires-Dist: apify>=2; extra == 'apify'
Provides-Extra: dev
Requires-Dist: coverage>=7.6; extra == 'dev'
Requires-Dist: mypy>=1.13; extra == 'dev'
Requires-Dist: ruff>=0.8; extra == 'dev'
Provides-Extra: redis
Requires-Dist: redis>=5; extra == 'redis'
Provides-Extra: upstash
Requires-Dist: upstash-redis>=1; extra == 'upstash'
Description-Content-Type: text/markdown

# apify-bot-guard (Python)

Fair free-plan allowances for Apify Actors, with a per-Actor pool against farms of free accounts.

```bash
pip install "apify-bot-guard[apify]"
```

```python
from apify_bot_guard import ApifyKvBackend, BotGuard, push_data

guard = await BotGuard.open("my-actor", ApifyKvBackend(token=os.environ["GUARD_TOKEN"]))
await push_data(guard, items)
if guard:
    await guard.close()
```

Full documentation: https://github.com/tacps126/apify-bot-guard

Using an AI assistant? Point it at
https://github.com/tacps126/apify-bot-guard/blob/main/docs/AI-INTEGRATION.md
