posthog 6.0.3__tar.gz → 6.7.13__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {posthog-6.0.3/posthog.egg-info → posthog-6.7.13}/PKG-INFO +1 -1
- posthog-6.7.13/posthog/__init__.py +765 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/ai/anthropic/__init__.py +10 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/ai/anthropic/anthropic.py +98 -67
- {posthog-6.0.3 → posthog-6.7.13}/posthog/ai/anthropic/anthropic_async.py +93 -25
- posthog-6.7.13/posthog/ai/anthropic/anthropic_converter.py +403 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/ai/anthropic/anthropic_providers.py +11 -8
- posthog-6.7.13/posthog/ai/gemini/__init__.py +22 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/ai/gemini/gemini.py +139 -85
- posthog-6.7.13/posthog/ai/gemini/gemini_converter.py +516 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/ai/langchain/callbacks.py +64 -23
- posthog-6.7.13/posthog/ai/openai/__init__.py +20 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/ai/openai/openai.py +125 -186
- {posthog-6.0.3 → posthog-6.7.13}/posthog/ai/openai/openai_async.py +94 -119
- posthog-6.7.13/posthog/ai/openai/openai_converter.py +611 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/ai/openai/openai_providers.py +7 -4
- posthog-6.7.13/posthog/ai/sanitization.py +226 -0
- posthog-6.7.13/posthog/ai/types.py +124 -0
- posthog-6.7.13/posthog/ai/utils.py +559 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/args.py +6 -3
- {posthog-6.0.3 → posthog-6.7.13}/posthog/client.py +705 -106
- {posthog-6.0.3 → posthog-6.7.13}/posthog/contexts.py +33 -3
- {posthog-6.0.3 → posthog-6.7.13}/posthog/feature_flags.py +260 -19
- {posthog-6.0.3 → posthog-6.7.13}/posthog/integrations/django.py +98 -7
- {posthog-6.0.3 → posthog-6.7.13}/posthog/request.py +6 -2
- {posthog-6.0.3 → posthog-6.7.13}/posthog/test/test_client.py +570 -7
- {posthog-6.0.3 → posthog-6.7.13}/posthog/test/test_feature_flags.py +1256 -44
- {posthog-6.0.3 → posthog-6.7.13}/posthog/test/test_module.py +0 -8
- {posthog-6.0.3 → posthog-6.7.13}/posthog/types.py +29 -3
- {posthog-6.0.3 → posthog-6.7.13}/posthog/version.py +1 -1
- {posthog-6.0.3 → posthog-6.7.13/posthog.egg-info}/PKG-INFO +1 -1
- {posthog-6.0.3 → posthog-6.7.13}/posthog.egg-info/SOURCES.txt +5 -0
- posthog-6.0.3/posthog/__init__.py +0 -484
- posthog-6.0.3/posthog/ai/gemini/__init__.py +0 -11
- posthog-6.0.3/posthog/ai/openai/__init__.py +0 -5
- posthog-6.0.3/posthog/ai/utils.py +0 -544
- {posthog-6.0.3 → posthog-6.7.13}/LICENSE +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/MANIFEST.in +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/README.md +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/ai/__init__.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/ai/langchain/__init__.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/consumer.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/exception_capture.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/exception_utils.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/integrations/__init__.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/poller.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/py.typed +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/test/__init__.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/test/test_before_send.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/test/test_consumer.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/test/test_contexts.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/test/test_exception_capture.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/test/test_feature_flag.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/test/test_feature_flag_result.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/test/test_request.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/test/test_size_limited_dict.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/test/test_types.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/test/test_utils.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog/utils.py +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog.egg-info/dependency_links.txt +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog.egg-info/requires.txt +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/posthog.egg-info/top_level.txt +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/pyproject.toml +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/setup.cfg +0 -0
- {posthog-6.0.3 → posthog-6.7.13}/setup.py +0 -0