Changed requirement to python 3.10 (#3496)
Browse files### What problem does this PR solve?
Changed requirement to python 3.10.
Changed image base to Ubuntu 22.04 since it contains python 3.10.
### Type of change
- [x] Refactoring
- Dockerfile +27 -21
- Dockerfile.slim +27 -22
- download_deps.py +2 -3
- poetry.lock +142 -90
- pyproject.toml +1 -1
- rag/utils/doc_store_conn.py +1 -1
- sdk/python/poetry.lock +2 -2
- sdk/python/pyproject.toml +1 -1
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# base stage
|
2 |
-
FROM ubuntu:
|
3 |
USER root
|
4 |
|
5 |
ARG ARCH=amd64
|
@@ -13,22 +13,13 @@ RUN rm -f /etc/apt/apt.conf.d/docker-clean \
|
|
13 |
RUN --mount=type=cache,id=ragflow_base_apt,target=/var/cache/apt,sharing=locked \
|
14 |
apt update && apt-get --no-install-recommends install -y ca-certificates
|
15 |
|
16 |
-
#
|
17 |
-
RUN sed -i 's|http://archive.ubuntu.com|https://mirrors.tuna.tsinghua.edu.cn|g' /etc/apt/sources.list
|
18 |
|
19 |
RUN --mount=type=cache,id=ragflow_base_apt,target=/var/cache/apt,sharing=locked \
|
20 |
-
apt update && apt install -y curl libpython3-dev nginx libglib2.0-0 libglx-mesa0 pkg-config libicu-dev libgdiplus default-jdk python3-pip pipx \
|
21 |
-
|
22 |
-
&& rm -rf /var/lib/apt/lists/*
|
23 |
-
wget -q -O chrome-linux64.zip https://bit.ly/chrome-linux64-121-0-6167-85 && \
|
24 |
-
unzip chrome-linux64.zip && \
|
25 |
-
rm chrome-linux64.zip && \
|
26 |
-
mv chrome-linux64 /opt/chrome/ && \
|
27 |
-
ln -s /opt/chrome/chrome /usr/local/bin/ && \
|
28 |
-
wget -q -O chromedriver-linux64.zip https://bit.ly/chromedriver-linux64-121-0-6167-85 && \
|
29 |
-
unzip -j chromedriver-linux64.zip chromedriver-linux64/chromedriver && \
|
30 |
-
rm chromedriver-linux64.zip && \
|
31 |
-
mv chromedriver /usr/local/bin/ && rm -f /usr/bin/google-chrome
|
32 |
|
33 |
RUN pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple && pip3 config set global.trusted-host "pypi.tuna.tsinghua.edu.cn mirrors.pku.edu.cn" && pip3 config set global.extra-index-url "https://mirrors.pku.edu.cn/pypi/web/simple" \
|
34 |
&& pipx install poetry \
|
@@ -50,20 +41,25 @@ ENV POETRY_VIRTUALENVS_CREATE=true
|
|
50 |
ENV POETRY_REQUESTS_TIMEOUT=15
|
51 |
ENV POETRY_PYPI_MIRROR_URL=https://pypi.tuna.tsinghua.edu.cn/simple/
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
# builder stage
|
54 |
FROM base AS builder
|
55 |
USER root
|
56 |
|
57 |
WORKDIR /ragflow
|
58 |
|
59 |
-
RUN --mount=type=cache,id=ragflow_builder_apt,target=/var/cache/apt,sharing=locked \
|
60 |
-
apt update && apt install -y nodejs npm cargo && \
|
61 |
-
rm -rf /var/lib/apt/lists/*
|
62 |
-
|
63 |
COPY web web
|
64 |
COPY docs docs
|
65 |
RUN --mount=type=cache,id=ragflow_builder_npm,target=/root/.npm,sharing=locked \
|
66 |
-
cd web && npm
|
67 |
|
68 |
# install dependencies from poetry.lock file
|
69 |
COPY pyproject.toml poetry.toml poetry.lock ./
|
@@ -121,7 +117,17 @@ COPY tika-server-standard-3.0.0.jar.md5 /ragflow/tika-server-standard.jar.md5
|
|
121 |
ENV TIKA_SERVER_JAR="file:///ragflow/tika-server-standard.jar"
|
122 |
|
123 |
# Copy cl100k_base
|
124 |
-
COPY 9b5ad71b2ce5302211f9c61530b329a4922fc6a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
|
126 |
# Copy compiled web pages
|
127 |
COPY --from=builder /ragflow/web/dist /ragflow/web/dist
|
|
|
1 |
# base stage
|
2 |
+
FROM ubuntu:22.04 AS base
|
3 |
USER root
|
4 |
|
5 |
ARG ARCH=amd64
|
|
|
13 |
RUN --mount=type=cache,id=ragflow_base_apt,target=/var/cache/apt,sharing=locked \
|
14 |
apt update && apt-get --no-install-recommends install -y ca-certificates
|
15 |
|
16 |
+
# Setup apt mirror site
|
17 |
+
RUN sed -i 's|http://archive.ubuntu.com|https://mirrors.tuna.tsinghua.edu.cn|g' /etc/apt/sources.list
|
18 |
|
19 |
RUN --mount=type=cache,id=ragflow_base_apt,target=/var/cache/apt,sharing=locked \
|
20 |
+
apt update && DEBIAN_FRONTEND=noninteractive apt install -y curl libpython3-dev nginx libglib2.0-0 libglx-mesa0 pkg-config libicu-dev libgdiplus default-jdk python3-pip pipx \
|
21 |
+
libatk-bridge2.0-0 libgtk-4-1 libnss3 xdg-utils unzip libgbm-dev wget \
|
22 |
+
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
RUN pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple && pip3 config set global.trusted-host "pypi.tuna.tsinghua.edu.cn mirrors.pku.edu.cn" && pip3 config set global.extra-index-url "https://mirrors.pku.edu.cn/pypi/web/simple" \
|
25 |
&& pipx install poetry \
|
|
|
41 |
ENV POETRY_REQUESTS_TIMEOUT=15
|
42 |
ENV POETRY_PYPI_MIRROR_URL=https://pypi.tuna.tsinghua.edu.cn/simple/
|
43 |
|
44 |
+
# nodejs 12.22 on Ubuntu 22.04 is too old
|
45 |
+
RUN --mount=type=cache,id=ragflow_base_apt,target=/var/cache/apt,sharing=locked \
|
46 |
+
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
47 |
+
apt purge -y nodejs npm && \
|
48 |
+
apt autoremove && \
|
49 |
+
apt update && \
|
50 |
+
apt install -y nodejs cargo && \
|
51 |
+
rm -rf /var/lib/apt/lists/*
|
52 |
+
|
53 |
# builder stage
|
54 |
FROM base AS builder
|
55 |
USER root
|
56 |
|
57 |
WORKDIR /ragflow
|
58 |
|
|
|
|
|
|
|
|
|
59 |
COPY web web
|
60 |
COPY docs docs
|
61 |
RUN --mount=type=cache,id=ragflow_builder_npm,target=/root/.npm,sharing=locked \
|
62 |
+
cd web && npm install --force && npm run build
|
63 |
|
64 |
# install dependencies from poetry.lock file
|
65 |
COPY pyproject.toml poetry.toml poetry.lock ./
|
|
|
117 |
ENV TIKA_SERVER_JAR="file:///ragflow/tika-server-standard.jar"
|
118 |
|
119 |
# Copy cl100k_base
|
120 |
+
COPY cl100k_base.tiktoken /ragflow/9b5ad71b2ce5302211f9c61530b329a4922fc6a4
|
121 |
+
|
122 |
+
# Add dependencies of selenium
|
123 |
+
RUN --mount=type=bind,source=chrome-linux64-121-0-6167-85,target=/chrome-linux64.zip \
|
124 |
+
unzip /chrome-linux64.zip && \
|
125 |
+
mv chrome-linux64 /opt/chrome/ && \
|
126 |
+
ln -s /opt/chrome/chrome /usr/local/bin/
|
127 |
+
RUN --mount=type=bind,source=chromedriver-linux64-121-0-6167-85,target=/chromedriver-linux64.zip \
|
128 |
+
unzip -j /chromedriver-linux64.zip chromedriver-linux64/chromedriver && \
|
129 |
+
mv chromedriver /usr/local/bin/ && \
|
130 |
+
rm -f /usr/bin/google-chrome
|
131 |
|
132 |
# Copy compiled web pages
|
133 |
COPY --from=builder /ragflow/web/dist /ragflow/web/dist
|
Dockerfile.slim
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# base stage
|
2 |
-
FROM ubuntu:
|
3 |
USER root
|
4 |
|
5 |
ARG ARCH=amd64
|
@@ -13,22 +13,13 @@ RUN rm -f /etc/apt/apt.conf.d/docker-clean \
|
|
13 |
RUN --mount=type=cache,id=ragflow_base_apt,target=/var/cache/apt,sharing=locked \
|
14 |
apt update && apt-get --no-install-recommends install -y ca-certificates
|
15 |
|
16 |
-
#
|
17 |
-
RUN sed -i 's|http://archive.ubuntu.com|https://mirrors.tuna.tsinghua.edu.cn|g' /etc/apt/sources.list
|
18 |
|
19 |
RUN --mount=type=cache,id=ragflow_base_apt,target=/var/cache/apt,sharing=locked \
|
20 |
-
apt update && apt install -y curl libpython3-dev nginx libglib2.0-0 libglx-mesa0 pkg-config libicu-dev libgdiplus default-jdk python3-pip pipx \
|
21 |
-
|
22 |
-
&& rm -rf /var/lib/apt/lists/*
|
23 |
-
wget -q -O chrome-linux64.zip https://bit.ly/chrome-linux64-121-0-6167-85 && \
|
24 |
-
unzip chrome-linux64.zip && \
|
25 |
-
rm chrome-linux64.zip && \
|
26 |
-
mv chrome-linux64 /opt/chrome/ && \
|
27 |
-
ln -s /opt/chrome/chrome /usr/local/bin/ && \
|
28 |
-
wget -q -O chromedriver-linux64.zip https://bit.ly/chromedriver-linux64-121-0-6167-85 && \
|
29 |
-
unzip -j chromedriver-linux64.zip chromedriver-linux64/chromedriver && \
|
30 |
-
rm chromedriver-linux64.zip && \
|
31 |
-
mv chromedriver /usr/local/bin/ && rm -f /usr/bin/google-chrome
|
32 |
|
33 |
RUN pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple && pip3 config set global.trusted-host "pypi.tuna.tsinghua.edu.cn mirrors.pku.edu.cn" && pip3 config set global.extra-index-url "https://mirrors.pku.edu.cn/pypi/web/simple" \
|
34 |
&& pipx install poetry \
|
@@ -50,20 +41,25 @@ ENV POETRY_VIRTUALENVS_CREATE=true
|
|
50 |
ENV POETRY_REQUESTS_TIMEOUT=15
|
51 |
ENV POETRY_PYPI_MIRROR_URL=https://pypi.tuna.tsinghua.edu.cn/simple/
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
# builder stage
|
54 |
FROM base AS builder
|
55 |
USER root
|
56 |
|
57 |
WORKDIR /ragflow
|
58 |
|
59 |
-
RUN --mount=type=cache,id=ragflow_builder_apt,target=/var/cache/apt,sharing=locked \
|
60 |
-
apt update && apt install -y nodejs npm cargo && \
|
61 |
-
rm -rf /var/lib/apt/lists/*
|
62 |
-
|
63 |
COPY web web
|
64 |
COPY docs docs
|
65 |
RUN --mount=type=cache,id=ragflow_builder_npm,target=/root/.npm,sharing=locked \
|
66 |
-
cd web && npm
|
67 |
|
68 |
# install dependencies from poetry.lock file
|
69 |
COPY pyproject.toml poetry.toml poetry.lock ./
|
@@ -109,13 +105,22 @@ COPY nltk_data /root/nltk_data
|
|
109 |
|
110 |
# https://github.com/chrismattmann/tika-python
|
111 |
# This is the only way to run python-tika without internet access. Without this set, the default is to check the tika version and pull latest every time from Apache.
|
112 |
-
|
113 |
COPY tika-server-standard-3.0.0.jar /ragflow/tika-server-standard.jar
|
114 |
COPY tika-server-standard-3.0.0.jar.md5 /ragflow/tika-server-standard.jar.md5
|
115 |
ENV TIKA_SERVER_JAR="file:///ragflow/tika-server-standard.jar"
|
116 |
|
117 |
# Copy cl100k_base
|
118 |
-
COPY 9b5ad71b2ce5302211f9c61530b329a4922fc6a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
|
120 |
# Copy compiled web pages
|
121 |
COPY --from=builder /ragflow/web/dist /ragflow/web/dist
|
|
|
1 |
# base stage
|
2 |
+
FROM ubuntu:22.04 AS base
|
3 |
USER root
|
4 |
|
5 |
ARG ARCH=amd64
|
|
|
13 |
RUN --mount=type=cache,id=ragflow_base_apt,target=/var/cache/apt,sharing=locked \
|
14 |
apt update && apt-get --no-install-recommends install -y ca-certificates
|
15 |
|
16 |
+
# Setup apt mirror site
|
17 |
+
RUN sed -i 's|http://archive.ubuntu.com|https://mirrors.tuna.tsinghua.edu.cn|g' /etc/apt/sources.list
|
18 |
|
19 |
RUN --mount=type=cache,id=ragflow_base_apt,target=/var/cache/apt,sharing=locked \
|
20 |
+
apt update && DEBIAN_FRONTEND=noninteractive apt install -y curl libpython3-dev nginx libglib2.0-0 libglx-mesa0 pkg-config libicu-dev libgdiplus default-jdk python3-pip pipx \
|
21 |
+
libatk-bridge2.0-0 libgtk-4-1 libnss3 xdg-utils unzip libgbm-dev wget \
|
22 |
+
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
RUN pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple && pip3 config set global.trusted-host "pypi.tuna.tsinghua.edu.cn mirrors.pku.edu.cn" && pip3 config set global.extra-index-url "https://mirrors.pku.edu.cn/pypi/web/simple" \
|
25 |
&& pipx install poetry \
|
|
|
41 |
ENV POETRY_REQUESTS_TIMEOUT=15
|
42 |
ENV POETRY_PYPI_MIRROR_URL=https://pypi.tuna.tsinghua.edu.cn/simple/
|
43 |
|
44 |
+
# nodejs 12.22 on Ubuntu 22.04 is too old
|
45 |
+
RUN --mount=type=cache,id=ragflow_base_apt,target=/var/cache/apt,sharing=locked \
|
46 |
+
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
47 |
+
apt purge -y nodejs npm && \
|
48 |
+
apt autoremove && \
|
49 |
+
apt update && \
|
50 |
+
apt install -y nodejs cargo && \
|
51 |
+
rm -rf /var/lib/apt/lists/*
|
52 |
+
|
53 |
# builder stage
|
54 |
FROM base AS builder
|
55 |
USER root
|
56 |
|
57 |
WORKDIR /ragflow
|
58 |
|
|
|
|
|
|
|
|
|
59 |
COPY web web
|
60 |
COPY docs docs
|
61 |
RUN --mount=type=cache,id=ragflow_builder_npm,target=/root/.npm,sharing=locked \
|
62 |
+
cd web && npm install --force && npm run build
|
63 |
|
64 |
# install dependencies from poetry.lock file
|
65 |
COPY pyproject.toml poetry.toml poetry.lock ./
|
|
|
105 |
|
106 |
# https://github.com/chrismattmann/tika-python
|
107 |
# This is the only way to run python-tika without internet access. Without this set, the default is to check the tika version and pull latest every time from Apache.
|
|
|
108 |
COPY tika-server-standard-3.0.0.jar /ragflow/tika-server-standard.jar
|
109 |
COPY tika-server-standard-3.0.0.jar.md5 /ragflow/tika-server-standard.jar.md5
|
110 |
ENV TIKA_SERVER_JAR="file:///ragflow/tika-server-standard.jar"
|
111 |
|
112 |
# Copy cl100k_base
|
113 |
+
COPY cl100k_base.tiktoken /ragflow/9b5ad71b2ce5302211f9c61530b329a4922fc6a4
|
114 |
+
|
115 |
+
# Add dependencies of selenium
|
116 |
+
RUN --mount=type=bind,source=chrome-linux64-121-0-6167-85,target=/chrome-linux64.zip \
|
117 |
+
unzip /chrome-linux64.zip && \
|
118 |
+
mv chrome-linux64 /opt/chrome/ && \
|
119 |
+
ln -s /opt/chrome/chrome /usr/local/bin/
|
120 |
+
RUN --mount=type=bind,source=chromedriver-linux64-121-0-6167-85,target=/chromedriver-linux64.zip \
|
121 |
+
unzip -j /chromedriver-linux64.zip chromedriver-linux64/chromedriver && \
|
122 |
+
mv chromedriver /usr/local/bin/ && \
|
123 |
+
rm -f /usr/bin/google-chrome
|
124 |
|
125 |
# Copy compiled web pages
|
126 |
COPY --from=builder /ragflow/web/dist /ragflow/web/dist
|
download_deps.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
#!/usr/bin/env python3
|
2 |
-
from os import rename
|
3 |
|
4 |
from huggingface_hub import snapshot_download
|
5 |
import nltk
|
@@ -11,6 +10,8 @@ urls = [
|
|
11 |
"https://repo1.maven.org/maven2/org/apache/tika/tika-server-standard/3.0.0/tika-server-standard-3.0.0.jar",
|
12 |
"https://repo1.maven.org/maven2/org/apache/tika/tika-server-standard/3.0.0/tika-server-standard-3.0.0.jar.md5",
|
13 |
"https://openaipublic.blob.core.windows.net/encodings/cl100k_base.tiktoken",
|
|
|
|
|
14 |
]
|
15 |
|
16 |
repos = [
|
@@ -43,5 +44,3 @@ if __name__ == "__main__":
|
|
43 |
for repo_id in repos:
|
44 |
print(f"Downloading huggingface repo {repo_id}...")
|
45 |
download_model(repo_id)
|
46 |
-
|
47 |
-
rename("cl100k_base.tiktoken", "9b5ad71b2ce5302211f9c61530b329a4922fc6a4")
|
|
|
1 |
#!/usr/bin/env python3
|
|
|
2 |
|
3 |
from huggingface_hub import snapshot_download
|
4 |
import nltk
|
|
|
10 |
"https://repo1.maven.org/maven2/org/apache/tika/tika-server-standard/3.0.0/tika-server-standard-3.0.0.jar",
|
11 |
"https://repo1.maven.org/maven2/org/apache/tika/tika-server-standard/3.0.0/tika-server-standard-3.0.0.jar.md5",
|
12 |
"https://openaipublic.blob.core.windows.net/encodings/cl100k_base.tiktoken",
|
13 |
+
"https://bit.ly/chrome-linux64-121-0-6167-85",
|
14 |
+
"https://bit.ly/chromedriver-linux64-121-0-6167-85",
|
15 |
]
|
16 |
|
17 |
repos = [
|
|
|
44 |
for repo_id in repos:
|
45 |
print(f"Downloading huggingface repo {repo_id}...")
|
46 |
download_model(repo_id)
|
|
|
|
poetry.lock
CHANGED
@@ -44,92 +44,93 @@ files = [
|
|
44 |
|
45 |
[[package]]
|
46 |
name = "aiohttp"
|
47 |
-
version = "3.11.
|
48 |
description = "Async http client/server framework (asyncio)"
|
49 |
optional = false
|
50 |
python-versions = ">=3.9"
|
51 |
files = [
|
52 |
-
{file = "aiohttp-3.11.
|
53 |
-
{file = "aiohttp-3.11.
|
54 |
-
{file = "aiohttp-3.11.
|
55 |
-
{file = "aiohttp-3.11.
|
56 |
-
{file = "aiohttp-3.11.
|
57 |
-
{file = "aiohttp-3.11.
|
58 |
-
{file = "aiohttp-3.11.
|
59 |
-
{file = "aiohttp-3.11.
|
60 |
-
{file = "aiohttp-3.11.
|
61 |
-
{file = "aiohttp-3.11.
|
62 |
-
{file = "aiohttp-3.11.
|
63 |
-
{file = "aiohttp-3.11.
|
64 |
-
{file = "aiohttp-3.11.
|
65 |
-
{file = "aiohttp-3.11.
|
66 |
-
{file = "aiohttp-3.11.
|
67 |
-
{file = "aiohttp-3.11.
|
68 |
-
{file = "aiohttp-3.11.
|
69 |
-
{file = "aiohttp-3.11.
|
70 |
-
{file = "aiohttp-3.11.
|
71 |
-
{file = "aiohttp-3.11.
|
72 |
-
{file = "aiohttp-3.11.
|
73 |
-
{file = "aiohttp-3.11.
|
74 |
-
{file = "aiohttp-3.11.
|
75 |
-
{file = "aiohttp-3.11.
|
76 |
-
{file = "aiohttp-3.11.
|
77 |
-
{file = "aiohttp-3.11.
|
78 |
-
{file = "aiohttp-3.11.
|
79 |
-
{file = "aiohttp-3.11.
|
80 |
-
{file = "aiohttp-3.11.
|
81 |
-
{file = "aiohttp-3.11.
|
82 |
-
{file = "aiohttp-3.11.
|
83 |
-
{file = "aiohttp-3.11.
|
84 |
-
{file = "aiohttp-3.11.
|
85 |
-
{file = "aiohttp-3.11.
|
86 |
-
{file = "aiohttp-3.11.
|
87 |
-
{file = "aiohttp-3.11.
|
88 |
-
{file = "aiohttp-3.11.
|
89 |
-
{file = "aiohttp-3.11.
|
90 |
-
{file = "aiohttp-3.11.
|
91 |
-
{file = "aiohttp-3.11.
|
92 |
-
{file = "aiohttp-3.11.
|
93 |
-
{file = "aiohttp-3.11.
|
94 |
-
{file = "aiohttp-3.11.
|
95 |
-
{file = "aiohttp-3.11.
|
96 |
-
{file = "aiohttp-3.11.
|
97 |
-
{file = "aiohttp-3.11.
|
98 |
-
{file = "aiohttp-3.11.
|
99 |
-
{file = "aiohttp-3.11.
|
100 |
-
{file = "aiohttp-3.11.
|
101 |
-
{file = "aiohttp-3.11.
|
102 |
-
{file = "aiohttp-3.11.
|
103 |
-
{file = "aiohttp-3.11.
|
104 |
-
{file = "aiohttp-3.11.
|
105 |
-
{file = "aiohttp-3.11.
|
106 |
-
{file = "aiohttp-3.11.
|
107 |
-
{file = "aiohttp-3.11.
|
108 |
-
{file = "aiohttp-3.11.
|
109 |
-
{file = "aiohttp-3.11.
|
110 |
-
{file = "aiohttp-3.11.
|
111 |
-
{file = "aiohttp-3.11.
|
112 |
-
{file = "aiohttp-3.11.
|
113 |
-
{file = "aiohttp-3.11.
|
114 |
-
{file = "aiohttp-3.11.
|
115 |
-
{file = "aiohttp-3.11.
|
116 |
-
{file = "aiohttp-3.11.
|
117 |
-
{file = "aiohttp-3.11.
|
118 |
-
{file = "aiohttp-3.11.
|
119 |
-
{file = "aiohttp-3.11.
|
120 |
-
{file = "aiohttp-3.11.
|
121 |
-
{file = "aiohttp-3.11.
|
122 |
-
{file = "aiohttp-3.11.
|
123 |
-
{file = "aiohttp-3.11.
|
124 |
-
{file = "aiohttp-3.11.
|
125 |
-
{file = "aiohttp-3.11.
|
126 |
-
{file = "aiohttp-3.11.
|
127 |
-
{file = "aiohttp-3.11.
|
128 |
]
|
129 |
|
130 |
[package.dependencies]
|
131 |
aiohappyeyeballs = ">=2.3.0"
|
132 |
aiosignal = ">=1.1.2"
|
|
|
133 |
attrs = ">=17.3.0"
|
134 |
frozenlist = ">=1.1.1"
|
135 |
multidict = ">=4.5,<7.0"
|
@@ -195,13 +196,13 @@ files = [
|
|
195 |
|
196 |
[[package]]
|
197 |
name = "akshare"
|
198 |
-
version = "1.15.
|
199 |
description = "AKShare is an elegant and simple financial data interface library for Python, built for human beings!"
|
200 |
optional = false
|
201 |
python-versions = ">=3.8"
|
202 |
files = [
|
203 |
-
{file = "akshare-1.15.
|
204 |
-
{file = "akshare-1.15.
|
205 |
]
|
206 |
|
207 |
[package.dependencies]
|
@@ -284,8 +285,10 @@ files = [
|
|
284 |
]
|
285 |
|
286 |
[package.dependencies]
|
|
|
287 |
idna = ">=2.8"
|
288 |
sniffio = ">=1.1"
|
|
|
289 |
|
290 |
[package.extras]
|
291 |
doc = ["Sphinx (>=7.4,<8.0)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"]
|
@@ -1961,6 +1964,20 @@ files = [
|
|
1961 |
{file = "et_xmlfile-2.0.0.tar.gz", hash = "sha256:dab3f4764309081ce75662649be815c4c9081e88f0837825f90fd28317d4da54"},
|
1962 |
]
|
1963 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1964 |
[[package]]
|
1965 |
name = "fake-useragent"
|
1966 |
version = "1.5.1"
|
@@ -2604,8 +2621,14 @@ files = [
|
|
2604 |
[package.dependencies]
|
2605 |
google-auth = ">=2.14.1,<3.0.dev0"
|
2606 |
googleapis-common-protos = ">=1.56.2,<2.0.dev0"
|
2607 |
-
grpcio =
|
2608 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2609 |
proto-plus = ">=1.22.3,<2.0.0dev"
|
2610 |
protobuf = ">=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.0 || >4.21.0,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<6.0.0.dev0"
|
2611 |
requests = ">=2.18.0,<3.0.0.dev0"
|
@@ -4744,13 +4767,13 @@ tests = ["pytest (>=4.6)"]
|
|
4744 |
|
4745 |
[[package]]
|
4746 |
name = "msal"
|
4747 |
-
version = "1.31.
|
4748 |
description = "The Microsoft Authentication Library (MSAL) for Python library enables your app to access the Microsoft Cloud by supporting authentication of users with Microsoft Azure Active Directory accounts (AAD) and Microsoft Accounts (MSA) using industry standard OAuth2 and OpenID Connect."
|
4749 |
optional = false
|
4750 |
python-versions = ">=3.7"
|
4751 |
files = [
|
4752 |
-
{file = "msal-1.31.
|
4753 |
-
{file = "msal-1.31.
|
4754 |
]
|
4755 |
|
4756 |
[package.dependencies]
|
@@ -4929,6 +4952,9 @@ files = [
|
|
4929 |
{file = "multidict-6.1.0.tar.gz", hash = "sha256:22ae2ebf9b0c69d206c003e2f6a914ea33f0a932d4aa16f236afc049d9958f4a"},
|
4930 |
]
|
4931 |
|
|
|
|
|
|
|
4932 |
[[package]]
|
4933 |
name = "multiprocess"
|
4934 |
version = "0.70.16"
|
@@ -5385,6 +5411,8 @@ files = [
|
|
5385 |
[package.dependencies]
|
5386 |
numpy = [
|
5387 |
{version = ">=1.23.5", markers = "python_version >= \"3.11\" and python_version < \"3.12\""},
|
|
|
|
|
5388 |
{version = ">=1.26.0", markers = "python_version >= \"3.12\""},
|
5389 |
]
|
5390 |
|
@@ -5407,6 +5435,8 @@ files = [
|
|
5407 |
[package.dependencies]
|
5408 |
numpy = [
|
5409 |
{version = ">=1.23.5", markers = "python_version >= \"3.11\" and python_version < \"3.12\""},
|
|
|
|
|
5410 |
{version = ">=1.26.0", markers = "python_version >= \"3.12\""},
|
5411 |
]
|
5412 |
|
@@ -5605,6 +5635,7 @@ files = [
|
|
5605 |
[package.dependencies]
|
5606 |
numpy = [
|
5607 |
{version = ">=1.23.2", markers = "python_version == \"3.11\""},
|
|
|
5608 |
{version = ">=1.26.0", markers = "python_version >= \"3.12\""},
|
5609 |
]
|
5610 |
python-dateutil = ">=2.8.2"
|
@@ -6873,6 +6904,9 @@ files = [
|
|
6873 |
{file = "pypdf-5.1.0.tar.gz", hash = "sha256:425a129abb1614183fd1aca6982f650b47f8026867c0ce7c4b9f281c443d2740"},
|
6874 |
]
|
6875 |
|
|
|
|
|
|
|
6876 |
[package.extras]
|
6877 |
crypto = ["cryptography"]
|
6878 |
cryptodome = ["PyCryptodome"]
|
@@ -7071,9 +7105,11 @@ files = [
|
|
7071 |
|
7072 |
[package.dependencies]
|
7073 |
colorama = {version = "*", markers = "sys_platform == \"win32\""}
|
|
|
7074 |
iniconfig = "*"
|
7075 |
packaging = "*"
|
7076 |
pluggy = ">=1.5,<2"
|
|
|
7077 |
|
7078 |
[package.extras]
|
7079 |
dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"]
|
@@ -7282,6 +7318,7 @@ requests = ">=2.24"
|
|
7282 |
rich = ">=13.0.0"
|
7283 |
tenacity = ">=8.2.3,<9.0.0"
|
7284 |
typer = ">=0.9.0"
|
|
|
7285 |
|
7286 |
[package.extras]
|
7287 |
all = ["emoji (>=2.2.0)", "fastapi (>=0.85.0)", "filelock (>=3.7.0)", "ijson (>=3.0)", "langchain (>=0.1.10)", "langchain-community (>=0.2.0)", "locust (>=2.9.0)", "ltp (>=4.2.0)", "numpy (<1.22.0)", "numpy (>=1.22.0)", "pyarrow (<=12.0.1)", "pyarrow (>=14.0.1)", "python-dateutil (>=2.8.2,<3.0.0)", "sentencepiece (>=0.1.98)", "tabulate (>=0.9.0)", "torch (<=1.13.1)", "torch (>=1.4.0)", "uvicorn (>=0.15.0)"]
|
@@ -7521,6 +7558,7 @@ files = [
|
|
7521 |
[package.dependencies]
|
7522 |
markdown-it-py = ">=2.2.0"
|
7523 |
pygments = ">=2.13.0,<3.0.0"
|
|
|
7524 |
|
7525 |
[package.extras]
|
7526 |
jupyter = ["ipywidgets (>=7.5.1,<9)"]
|
@@ -8278,6 +8316,7 @@ sphinxcontrib-htmlhelp = ">=2.0.6"
|
|
8278 |
sphinxcontrib-jsmath = ">=1.0.1"
|
8279 |
sphinxcontrib-qthelp = ">=1.0.6"
|
8280 |
sphinxcontrib-serializinghtml = ">=1.1.9"
|
|
|
8281 |
|
8282 |
[package.extras]
|
8283 |
docs = ["sphinxcontrib-websupport"]
|
@@ -8791,6 +8830,17 @@ dev = ["tokenizers[testing]"]
|
|
8791 |
docs = ["setuptools_rust", "sphinx", "sphinx_rtd_theme"]
|
8792 |
testing = ["black (==22.3)", "datasets", "numpy", "pytest", "requests"]
|
8793 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8794 |
[[package]]
|
8795 |
name = "torch"
|
8796 |
version = "2.3.0"
|
@@ -8963,6 +9013,7 @@ files = [
|
|
8963 |
[package.dependencies]
|
8964 |
attrs = ">=23.2.0"
|
8965 |
cffi = {version = ">=1.14", markers = "os_name == \"nt\" and implementation_name != \"pypy\""}
|
|
|
8966 |
idna = "*"
|
8967 |
outcome = "*"
|
8968 |
sniffio = ">=1.3.0"
|
@@ -8980,6 +9031,7 @@ files = [
|
|
8980 |
]
|
8981 |
|
8982 |
[package.dependencies]
|
|
|
8983 |
trio = ">=0.11"
|
8984 |
wsproto = ">=0.14"
|
8985 |
|
@@ -9008,13 +9060,13 @@ tutorials = ["matplotlib", "pandas", "tabulate", "torch"]
|
|
9008 |
|
9009 |
[[package]]
|
9010 |
name = "typer"
|
9011 |
-
version = "0.13.
|
9012 |
description = "Typer, build great CLIs. Easy to code. Based on Python type hints."
|
9013 |
optional = false
|
9014 |
python-versions = ">=3.7"
|
9015 |
files = [
|
9016 |
-
{file = "typer-0.13.
|
9017 |
-
{file = "typer-0.13.
|
9018 |
]
|
9019 |
|
9020 |
[package.dependencies]
|
@@ -9956,5 +10008,5 @@ cffi = ["cffi (>=1.11)"]
|
|
9956 |
|
9957 |
[metadata]
|
9958 |
lock-version = "2.0"
|
9959 |
-
python-versions = ">=3.
|
9960 |
-
content-hash = "
|
|
|
44 |
|
45 |
[[package]]
|
46 |
name = "aiohttp"
|
47 |
+
version = "3.11.3"
|
48 |
description = "Async http client/server framework (asyncio)"
|
49 |
optional = false
|
50 |
python-versions = ">=3.9"
|
51 |
files = [
|
52 |
+
{file = "aiohttp-3.11.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:acb0eb91b7a9ce435728d009388dcbf82d3e394b00596c3eda2402644ce42c33"},
|
53 |
+
{file = "aiohttp-3.11.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:3cd3d29e2e0b9726629031d73b08027048deaa856cefda343f3db34da9d6fb04"},
|
54 |
+
{file = "aiohttp-3.11.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:63df79e626ad76d3170f2cc87727ebe360c4c56c3dd01d80e1c22fbea18b3368"},
|
55 |
+
{file = "aiohttp-3.11.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7ad9cdb478e835d1809d7a86b16c88fb430d6e8f06940e0616586258ec1c4eed"},
|
56 |
+
{file = "aiohttp-3.11.3-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cc0f81fcd9690371d9c89b6675cd12da6abf8bb841cda5b78379fc72ba95cf55"},
|
57 |
+
{file = "aiohttp-3.11.3-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:18e391196b233b1e9daef38d14dccbfc3a62934fc1a5cbc711fbf0aaaf12afb2"},
|
58 |
+
{file = "aiohttp-3.11.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cb3753b764b6122491db64f5c99c0acf481f6ac54a3062f9041e6e9099337fe3"},
|
59 |
+
{file = "aiohttp-3.11.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2a2fed9db26ff62d0926169c2d9dba5f1029f75559728dd0ae80e7085e16e056"},
|
60 |
+
{file = "aiohttp-3.11.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:22678102ad8e27536bb5338daa6a8fef268a27498d45793f66c5a90836278376"},
|
61 |
+
{file = "aiohttp-3.11.3-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:ba8bd24b1a08e22baf35e7f1deadee409118cdf086ade14d3a7c0c7cfebc828d"},
|
62 |
+
{file = "aiohttp-3.11.3-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:7d16a132673163bec662f77e056e2d7f5c9472560e4346f6847860eabc2e75b3"},
|
63 |
+
{file = "aiohttp-3.11.3-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:7b6d71c6eed09fb6c893ca40c49487f46fe440f8a5697e9942715d1a28433b19"},
|
64 |
+
{file = "aiohttp-3.11.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:44d15ef64678e9318969a707a6d444621988980a60e917cc8a7dab1dd763bd7c"},
|
65 |
+
{file = "aiohttp-3.11.3-cp310-cp310-win32.whl", hash = "sha256:fe842fe3504b3d76be4af8ae5865389eae5cd4d0a7afd631e8d73971628ab525"},
|
66 |
+
{file = "aiohttp-3.11.3-cp310-cp310-win_amd64.whl", hash = "sha256:158e47fb9bd16c964762c1661be934d5781423ac7b92d57ccba3cdaef9aa7c16"},
|
67 |
+
{file = "aiohttp-3.11.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:a5b836e843e702db8ebeacc6dd8a5137a578dc23b4367e63dc11231fcefe7088"},
|
68 |
+
{file = "aiohttp-3.11.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:cc53bddadf5fd0a03c6520855cc4e4050ae737f7697d799bac81a0ef8a85f865"},
|
69 |
+
{file = "aiohttp-3.11.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:59912e8f1dc74ffe7cdbf84199131cf60b940ecbd1cd672e88090321875b2ea2"},
|
70 |
+
{file = "aiohttp-3.11.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:62aaf76d9077397e34a7c25028ad570d05d11c2f5ec9e42262326d22395cda7d"},
|
71 |
+
{file = "aiohttp-3.11.3-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b10b85ae6e6d7d4e57ef1fd1a3fbfa92bc14854f172957ecf12688f965c7efce"},
|
72 |
+
{file = "aiohttp-3.11.3-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9ee52b10fa0ee52ad9741406e18d2d1fce9bc4622566066239d35aaa68323427"},
|
73 |
+
{file = "aiohttp-3.11.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c0dcb32dc5d83372e1407675879121e2aabeaa6c633283a8837fcdb363bc5d49"},
|
74 |
+
{file = "aiohttp-3.11.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:86b3ece9d0c1a2d881b61fa6f4c2b72c5af7e74dbffb73a61fd604be5f51c2e2"},
|
75 |
+
{file = "aiohttp-3.11.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:e15fd83a3d252039d35849ccb8f9ee6a774124a0ae49934c8deb472a7b95e5a8"},
|
76 |
+
{file = "aiohttp-3.11.3-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:8998fd80aa1e10b0da45c1edacdb7e7433d4fe9b28fc0d28d69370d733d13bc5"},
|
77 |
+
{file = "aiohttp-3.11.3-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:c3d721538094108db57dde5c3b3af0e157c0a1db6c9f3f55c84f2736f697481c"},
|
78 |
+
{file = "aiohttp-3.11.3-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:95635838422669e3a0220c74fe9678c838e2cb0dae91bcabfdd3557f11dfe16a"},
|
79 |
+
{file = "aiohttp-3.11.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:8a79e638ff960068b5a891fe67672d94c9a906fa01043db88789349090333983"},
|
80 |
+
{file = "aiohttp-3.11.3-cp311-cp311-win32.whl", hash = "sha256:39554727dc67c170ed84ca4d85937c4955a08dba65d887e48f075b0e3fb746f2"},
|
81 |
+
{file = "aiohttp-3.11.3-cp311-cp311-win_amd64.whl", hash = "sha256:16225e7bb046880631e58d3e2ecba19c020be8e873d517ee42a1be8a126b70f0"},
|
82 |
+
{file = "aiohttp-3.11.3-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:0665d51a9580a7df74a281cb3730526865db299742fce115a2ce3033817f7fca"},
|
83 |
+
{file = "aiohttp-3.11.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:8e9735209839fbcf81b0b1bfe16d5bd0d5497a5077c2c601f3a347ad34a1436e"},
|
84 |
+
{file = "aiohttp-3.11.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c06fed93bb81f0fe5c2b1a6a131310449e0dfdd0c89ede4b9400e0b5270680e3"},
|
85 |
+
{file = "aiohttp-3.11.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9e7bd606a02bcdb8764a3a6d1493131515a146e44f6e8788f1472445b7ff5280"},
|
86 |
+
{file = "aiohttp-3.11.3-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6c28332611f7aebd69f0fc183b41b21af2422846ac3dbfa7888ec40962cb8b09"},
|
87 |
+
{file = "aiohttp-3.11.3-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ce5dd859f71f95235d473bf948a416a981cb37c3247f10a6ca7e630e7ea28e37"},
|
88 |
+
{file = "aiohttp-3.11.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:969ee33c80399ab6e2627b576073456825234e1384d672dcced9f52e918091b1"},
|
89 |
+
{file = "aiohttp-3.11.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:270fbf3a5df1ae5fa1f18d26111c0b4cd8c04d84c79b1fe513139a635b5c5285"},
|
90 |
+
{file = "aiohttp-3.11.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:791d4e2328f06a0373db3ed2b4d353c8f2f3ef7521cacf6e66278033ed2fd192"},
|
91 |
+
{file = "aiohttp-3.11.3-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:8eb02a8a783cc56aa1445df1ccffbf187b66fda103ece7a13e19b3ae33e093f7"},
|
92 |
+
{file = "aiohttp-3.11.3-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:728bb2b31652c718b03bf9936b4008af0d26a31b8cc632c57450298dcfb82e08"},
|
93 |
+
{file = "aiohttp-3.11.3-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:10d7b73c974460d198df5cab9f5ebfd40d4b425a52affe05deb9c3ae78664cf5"},
|
94 |
+
{file = "aiohttp-3.11.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:cf1f571854b65229b7497de399762a4560894e3f077dd645ab5fdc001eb527ac"},
|
95 |
+
{file = "aiohttp-3.11.3-cp312-cp312-win32.whl", hash = "sha256:29828b71745c5562ab73f1513d558e5afca980d83fab42cf87015a50e6076967"},
|
96 |
+
{file = "aiohttp-3.11.3-cp312-cp312-win_amd64.whl", hash = "sha256:c1fce3416981cd97a17b0bccebb225c31f82f1e3bbabf04a78547f26c332d619"},
|
97 |
+
{file = "aiohttp-3.11.3-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:610b39400c761767d5da3d9960811f616f623bba34a9f491dc89029d2a49cc82"},
|
98 |
+
{file = "aiohttp-3.11.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:231c4f1d5f79482e5641febdcb946742c66398deb63dce384da870e59cc884ba"},
|
99 |
+
{file = "aiohttp-3.11.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:cd0a1856b23b7598e9cd6ff46a08251165f1253b2c922cf3ce07634a1250afb8"},
|
100 |
+
{file = "aiohttp-3.11.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a003c5ac1e11674bfd7b057afb4c04465d601ea99a927c5eeedcb824b6fb95f1"},
|
101 |
+
{file = "aiohttp-3.11.3-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:26155e39749dd26cf8795dab6c93ccbe4e58d654a670c520d26bb45786325359"},
|
102 |
+
{file = "aiohttp-3.11.3-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4265069ae8d55bf978001402824c18297d1b01aabf4b34931299442249d98113"},
|
103 |
+
{file = "aiohttp-3.11.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1255eb1438cb35a65af81762964808c8a513a4e686f93319c97d5f351b4f8dad"},
|
104 |
+
{file = "aiohttp-3.11.3-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1468ff557bb154bd500648042e860cd1cc05192e037dd661fff2ce81aeea3bdc"},
|
105 |
+
{file = "aiohttp-3.11.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:634b474fdcb889a42751cb1095686a3c43d4fca34c560aa5d167353adda7288a"},
|
106 |
+
{file = "aiohttp-3.11.3-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:7ee89599796e220fd8e391d8688b22b63452b772b5b2baffda0f24e2ab258444"},
|
107 |
+
{file = "aiohttp-3.11.3-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:ec2082ffa6e75b41c760b37901bd84711bcee306a5f2fc9fff9d4d290e9a6047"},
|
108 |
+
{file = "aiohttp-3.11.3-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:6a312f5a7fe17a133e605c2db93bd928aad5d1988a7fba5d16f634ac7f5443a0"},
|
109 |
+
{file = "aiohttp-3.11.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4187859ad7be3de2b319eb84d8865623e2dd907eb0cb825f8c9709afb36947b8"},
|
110 |
+
{file = "aiohttp-3.11.3-cp313-cp313-win32.whl", hash = "sha256:cac27ab70c62e043208231ef4cd2f241ee7001355e968f7e474c9007c0e92400"},
|
111 |
+
{file = "aiohttp-3.11.3-cp313-cp313-win_amd64.whl", hash = "sha256:66ec2a0c2e6c6fc5f50c1309e3f06280008ba6b13473f465a279e37934c7e9b1"},
|
112 |
+
{file = "aiohttp-3.11.3-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:3971b5af634c00c6e1387ac0ed30f713a4abd78aa1b008d0986071011377e042"},
|
113 |
+
{file = "aiohttp-3.11.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:aba99bb1f22470e07e2dd29bac108aee1f7278cbcb38f2e67970171feda5c0d2"},
|
114 |
+
{file = "aiohttp-3.11.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e22331096df5fa2ce2a6f6bc063c82c867fbe00f465311f7355212e89032145a"},
|
115 |
+
{file = "aiohttp-3.11.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:117796a65d59c159642924bf989da00d6c4dc3faf323d86003546f157f14d6e4"},
|
116 |
+
{file = "aiohttp-3.11.3-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2ba1ae2c0aa10b8eb946e343d56e58e021550c4fe093cfee4a4aa1eb1bad6cbb"},
|
117 |
+
{file = "aiohttp-3.11.3-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0f15f42bfcbbfa4b8a0c0685161e4b1f91c7b24ee47f6d2076e0824bcfafa481"},
|
118 |
+
{file = "aiohttp-3.11.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c33562307c6e5dfdea5f380c90ba46c555536edc153b99e0fcce6478f51e386c"},
|
119 |
+
{file = "aiohttp-3.11.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ed4bbe2f39bc65bd80dc063833877bde77e7032896fd648b799c4dc8489bb3ba"},
|
120 |
+
{file = "aiohttp-3.11.3-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:faae49269ecaf640b1cbc22d896b2540d487564c1b62538a72c54a96573ffb34"},
|
121 |
+
{file = "aiohttp-3.11.3-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:30abc2f6c004a07b9ffa8086c3b739eddc41c54e5b3825ad18bf6d38e01a1fe2"},
|
122 |
+
{file = "aiohttp-3.11.3-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:38aaa713e303b0852e110694d7ef0c6162ffa0c4fe1d70729f3c35f9bda8f752"},
|
123 |
+
{file = "aiohttp-3.11.3-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:0c400c7e60f08aa541be32cb1aec82f9c130e326c9fe5a98dda246f67ea64ff5"},
|
124 |
+
{file = "aiohttp-3.11.3-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:91a7dad146005a849a56f4c4448c7ad988b51d08d699ec1605a116cd87073a06"},
|
125 |
+
{file = "aiohttp-3.11.3-cp39-cp39-win32.whl", hash = "sha256:3d1b50a83d4f054d4eb7a76f82ecfae3305c6339420cdd2958d9f2cb94581c4d"},
|
126 |
+
{file = "aiohttp-3.11.3-cp39-cp39-win_amd64.whl", hash = "sha256:b7816289d4d01b5c6ddccb70d85c3c35cad4d26ae4eeadeee72919da6c7bad99"},
|
127 |
+
{file = "aiohttp-3.11.3.tar.gz", hash = "sha256:0fbd111a0f1c254dd2cc54bdf6307e5b04fc3d20f3d36fd53c9bcb25bcebb96e"},
|
128 |
]
|
129 |
|
130 |
[package.dependencies]
|
131 |
aiohappyeyeballs = ">=2.3.0"
|
132 |
aiosignal = ">=1.1.2"
|
133 |
+
async-timeout = {version = ">=4.0,<6.0", markers = "python_version < \"3.11\""}
|
134 |
attrs = ">=17.3.0"
|
135 |
frozenlist = ">=1.1.1"
|
136 |
multidict = ">=4.5,<7.0"
|
|
|
196 |
|
197 |
[[package]]
|
198 |
name = "akshare"
|
199 |
+
version = "1.15.26"
|
200 |
description = "AKShare is an elegant and simple financial data interface library for Python, built for human beings!"
|
201 |
optional = false
|
202 |
python-versions = ">=3.8"
|
203 |
files = [
|
204 |
+
{file = "akshare-1.15.26-py3-none-any.whl", hash = "sha256:3451e16882942378dd7fe79c561d68aa59a7fbddb4b1fc7d82e483a308add88f"},
|
205 |
+
{file = "akshare-1.15.26.tar.gz", hash = "sha256:1f245bc2708f3d42b6cef3fdbe8506f40d374c680cad77096d31531b47cfb520"},
|
206 |
]
|
207 |
|
208 |
[package.dependencies]
|
|
|
285 |
]
|
286 |
|
287 |
[package.dependencies]
|
288 |
+
exceptiongroup = {version = ">=1.0.2", markers = "python_version < \"3.11\""}
|
289 |
idna = ">=2.8"
|
290 |
sniffio = ">=1.1"
|
291 |
+
typing-extensions = {version = ">=4.1", markers = "python_version < \"3.11\""}
|
292 |
|
293 |
[package.extras]
|
294 |
doc = ["Sphinx (>=7.4,<8.0)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"]
|
|
|
1964 |
{file = "et_xmlfile-2.0.0.tar.gz", hash = "sha256:dab3f4764309081ce75662649be815c4c9081e88f0837825f90fd28317d4da54"},
|
1965 |
]
|
1966 |
|
1967 |
+
[[package]]
|
1968 |
+
name = "exceptiongroup"
|
1969 |
+
version = "1.2.2"
|
1970 |
+
description = "Backport of PEP 654 (exception groups)"
|
1971 |
+
optional = false
|
1972 |
+
python-versions = ">=3.7"
|
1973 |
+
files = [
|
1974 |
+
{file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"},
|
1975 |
+
{file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"},
|
1976 |
+
]
|
1977 |
+
|
1978 |
+
[package.extras]
|
1979 |
+
test = ["pytest (>=6)"]
|
1980 |
+
|
1981 |
[[package]]
|
1982 |
name = "fake-useragent"
|
1983 |
version = "1.5.1"
|
|
|
2621 |
[package.dependencies]
|
2622 |
google-auth = ">=2.14.1,<3.0.dev0"
|
2623 |
googleapis-common-protos = ">=1.56.2,<2.0.dev0"
|
2624 |
+
grpcio = [
|
2625 |
+
{version = ">=1.49.1,<2.0dev", optional = true, markers = "python_version >= \"3.11\" and extra == \"grpc\""},
|
2626 |
+
{version = ">=1.33.2,<2.0dev", optional = true, markers = "python_version < \"3.11\" and extra == \"grpc\""},
|
2627 |
+
]
|
2628 |
+
grpcio-status = [
|
2629 |
+
{version = ">=1.49.1,<2.0.dev0", optional = true, markers = "python_version >= \"3.11\" and extra == \"grpc\""},
|
2630 |
+
{version = ">=1.33.2,<2.0.dev0", optional = true, markers = "python_version < \"3.11\" and extra == \"grpc\""},
|
2631 |
+
]
|
2632 |
proto-plus = ">=1.22.3,<2.0.0dev"
|
2633 |
protobuf = ">=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.0 || >4.21.0,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<6.0.0.dev0"
|
2634 |
requests = ">=2.18.0,<3.0.0.dev0"
|
|
|
4767 |
|
4768 |
[[package]]
|
4769 |
name = "msal"
|
4770 |
+
version = "1.31.1"
|
4771 |
description = "The Microsoft Authentication Library (MSAL) for Python library enables your app to access the Microsoft Cloud by supporting authentication of users with Microsoft Azure Active Directory accounts (AAD) and Microsoft Accounts (MSA) using industry standard OAuth2 and OpenID Connect."
|
4772 |
optional = false
|
4773 |
python-versions = ">=3.7"
|
4774 |
files = [
|
4775 |
+
{file = "msal-1.31.1-py3-none-any.whl", hash = "sha256:29d9882de247e96db01386496d59f29035e5e841bcac892e6d7bf4390bf6bd17"},
|
4776 |
+
{file = "msal-1.31.1.tar.gz", hash = "sha256:11b5e6a3f802ffd3a72107203e20c4eac6ef53401961b880af2835b723d80578"},
|
4777 |
]
|
4778 |
|
4779 |
[package.dependencies]
|
|
|
4952 |
{file = "multidict-6.1.0.tar.gz", hash = "sha256:22ae2ebf9b0c69d206c003e2f6a914ea33f0a932d4aa16f236afc049d9958f4a"},
|
4953 |
]
|
4954 |
|
4955 |
+
[package.dependencies]
|
4956 |
+
typing-extensions = {version = ">=4.1.0", markers = "python_version < \"3.11\""}
|
4957 |
+
|
4958 |
[[package]]
|
4959 |
name = "multiprocess"
|
4960 |
version = "0.70.16"
|
|
|
5411 |
[package.dependencies]
|
5412 |
numpy = [
|
5413 |
{version = ">=1.23.5", markers = "python_version >= \"3.11\" and python_version < \"3.12\""},
|
5414 |
+
{version = ">=1.21.4", markers = "python_version >= \"3.10\" and platform_system == \"Darwin\" and python_version < \"3.11\""},
|
5415 |
+
{version = ">=1.21.2", markers = "platform_system != \"Darwin\" and python_version >= \"3.10\" and python_version < \"3.11\""},
|
5416 |
{version = ">=1.26.0", markers = "python_version >= \"3.12\""},
|
5417 |
]
|
5418 |
|
|
|
5435 |
[package.dependencies]
|
5436 |
numpy = [
|
5437 |
{version = ">=1.23.5", markers = "python_version >= \"3.11\" and python_version < \"3.12\""},
|
5438 |
+
{version = ">=1.21.4", markers = "python_version >= \"3.10\" and platform_system == \"Darwin\" and python_version < \"3.11\""},
|
5439 |
+
{version = ">=1.21.2", markers = "platform_system != \"Darwin\" and python_version >= \"3.10\" and python_version < \"3.11\""},
|
5440 |
{version = ">=1.26.0", markers = "python_version >= \"3.12\""},
|
5441 |
]
|
5442 |
|
|
|
5635 |
[package.dependencies]
|
5636 |
numpy = [
|
5637 |
{version = ">=1.23.2", markers = "python_version == \"3.11\""},
|
5638 |
+
{version = ">=1.22.4", markers = "python_version < \"3.11\""},
|
5639 |
{version = ">=1.26.0", markers = "python_version >= \"3.12\""},
|
5640 |
]
|
5641 |
python-dateutil = ">=2.8.2"
|
|
|
6904 |
{file = "pypdf-5.1.0.tar.gz", hash = "sha256:425a129abb1614183fd1aca6982f650b47f8026867c0ce7c4b9f281c443d2740"},
|
6905 |
]
|
6906 |
|
6907 |
+
[package.dependencies]
|
6908 |
+
typing_extensions = {version = ">=4.0", markers = "python_version < \"3.11\""}
|
6909 |
+
|
6910 |
[package.extras]
|
6911 |
crypto = ["cryptography"]
|
6912 |
cryptodome = ["PyCryptodome"]
|
|
|
7105 |
|
7106 |
[package.dependencies]
|
7107 |
colorama = {version = "*", markers = "sys_platform == \"win32\""}
|
7108 |
+
exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""}
|
7109 |
iniconfig = "*"
|
7110 |
packaging = "*"
|
7111 |
pluggy = ">=1.5,<2"
|
7112 |
+
tomli = {version = ">=1", markers = "python_version < \"3.11\""}
|
7113 |
|
7114 |
[package.extras]
|
7115 |
dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"]
|
|
|
7318 |
rich = ">=13.0.0"
|
7319 |
tenacity = ">=8.2.3,<9.0.0"
|
7320 |
typer = ">=0.9.0"
|
7321 |
+
typing-extensions = {version = ">=4.0.0", markers = "python_full_version <= \"3.10.0\""}
|
7322 |
|
7323 |
[package.extras]
|
7324 |
all = ["emoji (>=2.2.0)", "fastapi (>=0.85.0)", "filelock (>=3.7.0)", "ijson (>=3.0)", "langchain (>=0.1.10)", "langchain-community (>=0.2.0)", "locust (>=2.9.0)", "ltp (>=4.2.0)", "numpy (<1.22.0)", "numpy (>=1.22.0)", "pyarrow (<=12.0.1)", "pyarrow (>=14.0.1)", "python-dateutil (>=2.8.2,<3.0.0)", "sentencepiece (>=0.1.98)", "tabulate (>=0.9.0)", "torch (<=1.13.1)", "torch (>=1.4.0)", "uvicorn (>=0.15.0)"]
|
|
|
7558 |
[package.dependencies]
|
7559 |
markdown-it-py = ">=2.2.0"
|
7560 |
pygments = ">=2.13.0,<3.0.0"
|
7561 |
+
typing-extensions = {version = ">=4.0.0,<5.0", markers = "python_version < \"3.11\""}
|
7562 |
|
7563 |
[package.extras]
|
7564 |
jupyter = ["ipywidgets (>=7.5.1,<9)"]
|
|
|
8316 |
sphinxcontrib-jsmath = ">=1.0.1"
|
8317 |
sphinxcontrib-qthelp = ">=1.0.6"
|
8318 |
sphinxcontrib-serializinghtml = ">=1.1.9"
|
8319 |
+
tomli = {version = ">=2", markers = "python_version < \"3.11\""}
|
8320 |
|
8321 |
[package.extras]
|
8322 |
docs = ["sphinxcontrib-websupport"]
|
|
|
8830 |
docs = ["setuptools_rust", "sphinx", "sphinx_rtd_theme"]
|
8831 |
testing = ["black (==22.3)", "datasets", "numpy", "pytest", "requests"]
|
8832 |
|
8833 |
+
[[package]]
|
8834 |
+
name = "tomli"
|
8835 |
+
version = "2.1.0"
|
8836 |
+
description = "A lil' TOML parser"
|
8837 |
+
optional = false
|
8838 |
+
python-versions = ">=3.8"
|
8839 |
+
files = [
|
8840 |
+
{file = "tomli-2.1.0-py3-none-any.whl", hash = "sha256:a5c57c3d1c56f5ccdf89f6523458f60ef716e210fc47c4cfb188c5ba473e0391"},
|
8841 |
+
{file = "tomli-2.1.0.tar.gz", hash = "sha256:3f646cae2aec94e17d04973e4249548320197cfabdf130015d023de4b74d8ab8"},
|
8842 |
+
]
|
8843 |
+
|
8844 |
[[package]]
|
8845 |
name = "torch"
|
8846 |
version = "2.3.0"
|
|
|
9013 |
[package.dependencies]
|
9014 |
attrs = ">=23.2.0"
|
9015 |
cffi = {version = ">=1.14", markers = "os_name == \"nt\" and implementation_name != \"pypy\""}
|
9016 |
+
exceptiongroup = {version = "*", markers = "python_version < \"3.11\""}
|
9017 |
idna = "*"
|
9018 |
outcome = "*"
|
9019 |
sniffio = ">=1.3.0"
|
|
|
9031 |
]
|
9032 |
|
9033 |
[package.dependencies]
|
9034 |
+
exceptiongroup = {version = "*", markers = "python_version < \"3.11\""}
|
9035 |
trio = ">=0.11"
|
9036 |
wsproto = ">=0.14"
|
9037 |
|
|
|
9060 |
|
9061 |
[[package]]
|
9062 |
name = "typer"
|
9063 |
+
version = "0.13.1"
|
9064 |
description = "Typer, build great CLIs. Easy to code. Based on Python type hints."
|
9065 |
optional = false
|
9066 |
python-versions = ">=3.7"
|
9067 |
files = [
|
9068 |
+
{file = "typer-0.13.1-py3-none-any.whl", hash = "sha256:5b59580fd925e89463a29d363e0a43245ec02765bde9fb77d39e5d0f29dd7157"},
|
9069 |
+
{file = "typer-0.13.1.tar.gz", hash = "sha256:9d444cb96cc268ce6f8b94e13b4335084cef4c079998a9f4851a90229a3bd25c"},
|
9070 |
]
|
9071 |
|
9072 |
[package.dependencies]
|
|
|
10008 |
|
10009 |
[metadata]
|
10010 |
lock-version = "2.0"
|
10011 |
+
python-versions = ">=3.10,<3.13"
|
10012 |
+
content-hash = "e2bf2d49eeb8fe75c6437f60466ca61b46b50a047c79263039b6ed61c4d2c251"
|
pyproject.toml
CHANGED
@@ -8,7 +8,7 @@ readme = "README.md"
|
|
8 |
package-mode = false
|
9 |
|
10 |
[tool.poetry.dependencies]
|
11 |
-
python = ">=3.
|
12 |
datrie = "0.8.2"
|
13 |
akshare = "^1.14.81"
|
14 |
azure-storage-blob = "12.22.0"
|
|
|
8 |
package-mode = false
|
9 |
|
10 |
[tool.poetry.dependencies]
|
11 |
+
python = ">=3.10,<3.13"
|
12 |
datrie = "0.8.2"
|
13 |
akshare = "^1.14.81"
|
14 |
azure-storage-blob = "12.22.0"
|
rag/utils/doc_store_conn.py
CHANGED
@@ -44,7 +44,7 @@ class SparseVector:
|
|
44 |
class MatchTextExpr(ABC):
|
45 |
def __init__(
|
46 |
self,
|
47 |
-
fields: str,
|
48 |
matching_text: str,
|
49 |
topn: int,
|
50 |
extra_options: dict = dict(),
|
|
|
44 |
class MatchTextExpr(ABC):
|
45 |
def __init__(
|
46 |
self,
|
47 |
+
fields: list[str],
|
48 |
matching_text: str,
|
49 |
topn: int,
|
50 |
extra_options: dict = dict(),
|
sdk/python/poetry.lock
CHANGED
@@ -292,5 +292,5 @@ zstd = ["zstandard (>=0.18.0)"]
|
|
292 |
|
293 |
[metadata]
|
294 |
lock-version = "2.0"
|
295 |
-
python-versions = "
|
296 |
-
content-hash = "
|
|
|
292 |
|
293 |
[metadata]
|
294 |
lock-version = "2.0"
|
295 |
+
python-versions = ">=3.10,<3.13"
|
296 |
+
content-hash = "dbae1304e0358315b27e6165c39e999cb84e0650c0fd71ed32ab2ead6162b5c0"
|
sdk/python/pyproject.toml
CHANGED
@@ -8,7 +8,7 @@ readme = "README.md"
|
|
8 |
package-mode = true
|
9 |
|
10 |
[tool.poetry.dependencies]
|
11 |
-
python = "
|
12 |
requests = "^2.30.0"
|
13 |
beartype = "^0.18.5"
|
14 |
pytest = "^8.0.0"
|
|
|
8 |
package-mode = true
|
9 |
|
10 |
[tool.poetry.dependencies]
|
11 |
+
python = ">=3.10,<3.13"
|
12 |
requests = "^2.30.0"
|
13 |
beartype = "^0.18.5"
|
14 |
pytest = "^8.0.0"
|