bella-openapi 1.0.2.2__tar.gz → 1.0.2.3__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.
Files changed (31) hide show
  1. {bella_openapi-1.0.2.2/src/bella_openapi.egg-info → bella_openapi-1.0.2.3}/PKG-INFO +2 -1
  2. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/setup.py +4 -1
  3. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/domtree/standard_domtree.py +1 -0
  4. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3/src/bella_openapi.egg-info}/PKG-INFO +2 -1
  5. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi.egg-info/requires.txt +1 -0
  6. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/LICENSE +0 -0
  7. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/README.md +0 -0
  8. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/setup.cfg +0 -0
  9. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/__init__.py +0 -0
  10. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/auth_billing.py +0 -0
  11. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/authorize.py +0 -0
  12. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/bella_trace/__init__.py +0 -0
  13. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/bella_trace/_context.py +0 -0
  14. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/bella_trace/fastapi_interceptor.py +0 -0
  15. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/bella_trace/record_log.py +0 -0
  16. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/bella_trace/trace_requests.py +0 -0
  17. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/config.py +0 -0
  18. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/console/__init__.py +0 -0
  19. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/console/models.py +0 -0
  20. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/domtree/__init__.py +0 -0
  21. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/domtree/utils.py +0 -0
  22. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/exception.py +0 -0
  23. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/log.py +0 -0
  24. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/middleware/__init__.py +0 -0
  25. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/middleware/context_middleware.py +0 -0
  26. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/openapi_contexvar.py +0 -0
  27. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi/schema.py +0 -0
  28. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi.egg-info/SOURCES.txt +0 -0
  29. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi.egg-info/dependency_links.txt +0 -0
  30. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi.egg-info/not-zip-safe +0 -0
  31. {bella_openapi-1.0.2.2 → bella_openapi-1.0.2.3}/src/bella_openapi.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bella-openapi
3
- Version: 1.0.2.2
3
+ Version: 1.0.2.3
4
4
  Summary: client for openapi service.
5
5
  Home-page:
6
6
  Author: ['tangxiaolong', 'fanqiangwei', 'zhangxiaojia', 'liumin', 'wangyukun']
@@ -11,6 +11,7 @@ Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
12
  Requires-Dist: httpx<=0.26.0,>=0.10.0
13
13
  Requires-Dist: Werkzeug==3.0.1
14
+ Requires-Dist: tiktoken>=0.5.0
14
15
  Dynamic: author
15
16
  Dynamic: classifier
16
17
  Dynamic: description
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
3
3
 
4
4
  SHORT = "client for openapi service."
5
5
 
6
- __version__ = "1.0.2.2"
6
+ __version__ = "1.0.2.3"
7
7
  __author__ = ["tangxiaolong", "fanqiangwei", "zhangxiaojia", 'liumin', 'wangyukun']
8
8
  __email__ = ''
9
9
  readme_path = 'README.md'
@@ -16,6 +16,9 @@ setup(
16
16
  install_requires=[
17
17
  'httpx>=0.10.0,<=0.26.0',
18
18
  'Werkzeug==3.0.1',
19
+ # 'pydantic>=1.10.0',
20
+ 'tiktoken>=0.5.0',
21
+ # 'fastapi>=0.110.0',
19
22
  ],
20
23
  url='',
21
24
  author=__author__,
@@ -11,6 +11,7 @@ StandardDomTree - 新的DOM树协议定义
11
11
  from typing import List, Optional, Literal, Any, Union
12
12
  from pydantic import BaseModel, Field
13
13
 
14
+ from bella_openapi.domtree.utils import count_tokens
14
15
 
15
16
  # 布局类型映射表:将旧解析器的布局类型映射到新的标准类型
16
17
  # 注意:这个映射表是临时的,后续计划统一布局类型定义
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bella-openapi
3
- Version: 1.0.2.2
3
+ Version: 1.0.2.3
4
4
  Summary: client for openapi service.
5
5
  Home-page:
6
6
  Author: ['tangxiaolong', 'fanqiangwei', 'zhangxiaojia', 'liumin', 'wangyukun']
@@ -11,6 +11,7 @@ Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
12
  Requires-Dist: httpx<=0.26.0,>=0.10.0
13
13
  Requires-Dist: Werkzeug==3.0.1
14
+ Requires-Dist: tiktoken>=0.5.0
14
15
  Dynamic: author
15
16
  Dynamic: classifier
16
17
  Dynamic: description
@@ -1,2 +1,3 @@
1
1
  httpx<=0.26.0,>=0.10.0
2
2
  Werkzeug==3.0.1
3
+ tiktoken>=0.5.0
File without changes