posthog 6.9.3__py3-none-any.whl → 7.0.0__py3-none-any.whl

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.
@@ -1,8 +1,8 @@
1
1
  try:
2
- import langchain # noqa: F401
2
+ import langchain_core # noqa: F401
3
3
  except ImportError:
4
4
  raise ModuleNotFoundError(
5
- "Please install LangChain to use this feature: 'pip install langchain'"
5
+ "Please install LangChain to use this feature: 'pip install langchain-core'"
6
6
  )
7
7
 
8
8
  import json
posthog/version.py CHANGED
@@ -1,4 +1,4 @@
1
- VERSION = "6.9.3"
1
+ VERSION = "7.0.0"
2
2
 
3
3
  if __name__ == "__main__":
4
4
  print(VERSION, end="") # noqa: T201
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: posthog
3
- Version: 6.9.3
3
+ Version: 7.0.0
4
4
  Summary: Integrate PostHog into any python application.
5
5
  Home-page: https://github.com/posthog/posthog-python
6
6
  Author: Posthog
@@ -15,12 +15,11 @@ Classifier: Intended Audience :: Developers
15
15
  Classifier: Operating System :: OS Independent
16
16
  Classifier: License :: OSI Approved :: MIT License
17
17
  Classifier: Programming Language :: Python
18
- Classifier: Programming Language :: Python :: 3.9
19
18
  Classifier: Programming Language :: Python :: 3.10
20
19
  Classifier: Programming Language :: Python :: 3.11
21
20
  Classifier: Programming Language :: Python :: 3.12
22
21
  Classifier: Programming Language :: Python :: 3.13
23
- Requires-Python: >=3.9
22
+ Requires-Python: >=3.10
24
23
  Description-Content-Type: text/markdown
25
24
  License-File: LICENSE
26
25
  Requires-Dist: requests<3.0,>=2.7
@@ -58,13 +57,13 @@ Requires-Dist: pytest; extra == "test"
58
57
  Requires-Dist: pytest-timeout; extra == "test"
59
58
  Requires-Dist: pytest-asyncio; extra == "test"
60
59
  Requires-Dist: django; extra == "test"
61
- Requires-Dist: openai; extra == "test"
62
- Requires-Dist: anthropic; extra == "test"
63
- Requires-Dist: langgraph>=0.4.8; extra == "test"
64
- Requires-Dist: langchain-core>=0.3.65; extra == "test"
65
- Requires-Dist: langchain-community>=0.3.25; extra == "test"
66
- Requires-Dist: langchain-openai>=0.3.22; extra == "test"
67
- Requires-Dist: langchain-anthropic>=0.3.15; extra == "test"
60
+ Requires-Dist: openai>=2.0; extra == "test"
61
+ Requires-Dist: anthropic>=0.72; extra == "test"
62
+ Requires-Dist: langgraph>=1.0; extra == "test"
63
+ Requires-Dist: langchain-core>=1.0; extra == "test"
64
+ Requires-Dist: langchain-community>=0.4; extra == "test"
65
+ Requires-Dist: langchain-openai>=1.0; extra == "test"
66
+ Requires-Dist: langchain-anthropic>=1.0; extra == "test"
68
67
  Requires-Dist: google-genai; extra == "test"
69
68
  Requires-Dist: pydantic; extra == "test"
70
69
  Requires-Dist: parameterized>=0.8.1; extra == "test"
@@ -105,8 +104,8 @@ We recommend using [uv](https://docs.astral.sh/uv/). It's super fast.
105
104
  ## PostHog recommends `uv` so...
106
105
 
107
106
  ```bash
108
- uv python install 3.9.19
109
- uv python pin 3.9.19
107
+ uv python install 3.12
108
+ uv python pin 3.12
110
109
  uv venv
111
110
  source env/bin/activate
112
111
  uv sync --extra dev --extra test
@@ -11,7 +11,7 @@ posthog/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  posthog/request.py,sha256=CaONBN7a5RD8xiSShVMgHEd9XxKWM6ZQTLZypiqABhA,6168
12
12
  posthog/types.py,sha256=Dl3aFGX9XUR0wMmK12r2s5Hjan9jL4HpQ9GHpVcEq5U,10207
13
13
  posthog/utils.py,sha256=-0w-OLcCaoldkbBebPzQyBzLJSo9G9yBOg8NDVz7La8,16088
14
- posthog/version.py,sha256=5rEsdm1qsSDo24xnSDirThtR5UCUG8ArSvCHK4-Nk3c,87
14
+ posthog/version.py,sha256=edN2hQk_R2GiV1TUr0Bsk7x67QYn6M0-GFUrIuzjNPg,87
15
15
  posthog/ai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  posthog/ai/sanitization.py,sha256=owipZ4eJYtd4JTI-CM_klatclXaeaIec3XJBOUfsOnQ,5770
17
17
  posthog/ai/types.py,sha256=arX98hR1PIPeJ3vFikxTlACIh1xPp6aEUw1gBLcKoB0,3273
@@ -25,7 +25,7 @@ posthog/ai/gemini/__init__.py,sha256=JV_9-gBR87leHgZW4XAYZP7LSl4YaXeuhqDUpA8HygA
25
25
  posthog/ai/gemini/gemini.py,sha256=-c2MnBeask6SrAbFZ7XXZ_OMcuglTBRdnFe_ROVgXWQ,14972
26
26
  posthog/ai/gemini/gemini_converter.py,sha256=WFF1gzLGk1DId-1yrA9nDYMd9PXgbVsyhU3wgKjAJTE,18731
27
27
  posthog/ai/langchain/__init__.py,sha256=9CqAwLynTGj3ASAR80C3PmdTdrYGmu99tz0JL-HPFgI,70
28
- posthog/ai/langchain/callbacks.py,sha256=tb-E1sLohkgUNBpYQ-9q5L3zJG9C2xS-mrQZn3VpiGs,31357
28
+ posthog/ai/langchain/callbacks.py,sha256=EhjXTok2M2w5k5x9XFycl-bUMA1gdZx6FxHAY-HZ6bo,31367
29
29
  posthog/ai/openai/__init__.py,sha256=u4OuUT7k1NgFj0TrxjuyegOg7a_UA8nAU6a-Hszr0OM,490
30
30
  posthog/ai/openai/openai.py,sha256=ts95vdvWH7h0TX4FpLLK_wU_7H0MP3eZBEg0S-lsCKw,20127
31
31
  posthog/ai/openai/openai_async.py,sha256=Ebd6_H3Zf3wGPycVJd_vOd3ZVoO3Mf3ZV339BExQd6Q,22436
@@ -47,8 +47,8 @@ posthog/test/test_request.py,sha256=l19WVyZQc4Iqmh_bpnAFOj4nGRpDK1iO-o5aJDQfFdo,
47
47
  posthog/test/test_size_limited_dict.py,sha256=Wom7BkzpHmusHilZy0SV3PNzhw7ucuQgqrx86jf8euo,765
48
48
  posthog/test/test_types.py,sha256=csLuBiz6RMV36cpg9LVIor4Khq6MfjjGxYXodx5VttY,7586
49
49
  posthog/test/test_utils.py,sha256=NUs2bgqrVuMdnKRq52syizgglt5_7wxxZl3dDMun-Tg,9602
50
- posthog-6.9.3.dist-info/licenses/LICENSE,sha256=wGf9JBotDkSygFj43m49oiKlFnpMnn97keiZKF-40vE,2450
51
- posthog-6.9.3.dist-info/METADATA,sha256=AHQGSvby7pbtp0hc34ZQlHiR8VTNPvUpw0x_BPuoPxM,6015
52
- posthog-6.9.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
53
- posthog-6.9.3.dist-info/top_level.txt,sha256=7FBLsRjIUHVKQsXIhozuI3k-mun1tapp8iZO9EmUPEw,8
54
- posthog-6.9.3.dist-info/RECORD,,
50
+ posthog-7.0.0.dist-info/licenses/LICENSE,sha256=wGf9JBotDkSygFj43m49oiKlFnpMnn97keiZKF-40vE,2450
51
+ posthog-7.0.0.dist-info/METADATA,sha256=kKD5z5ydkTz6-JjikDZaPRY407cZ68f9lJIrr0U9n-c,5959
52
+ posthog-7.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
53
+ posthog-7.0.0.dist-info/top_level.txt,sha256=7FBLsRjIUHVKQsXIhozuI3k-mun1tapp8iZO9EmUPEw,8
54
+ posthog-7.0.0.dist-info/RECORD,,