[PythonStock (38)] Python full-stack stock system: the original project has been migrated to the gitee project. The github project has been archived and will not be updated. Recently, gitee is also very good and very useful

foreword


Use Python to develop a web stock project.
[github project address]:
https://gitee.com/pythonstock
[know column address]:
https://zhuanlan.zhihu.com/pythonstock
[docker hub address download]:
https://hub.docker.com/ r/pythonstock/pythonstock
【Categories of related stock materials】:
http://blog.csdn.net/freewebsys/article/category/7076584
The main development language is python.
The lib libraries used are pandas, tushare, TensorFlow, tornado, etc.

The original link of this article is: https://blog.csdn.net/freewebsys/article/details/108191889

1. About the PythonStock project with 6K stars


The project was created from July 17, 2017. What a day!
It has been 6 years since I watched it, and I have a total of 6K stars.

Recently, I still feel like migrating this project to gitee, although there are fewer people in gitee.
But it feels easy to use and the speed is fast. Upgrade the project code.

insert image description here

insert image description here
The earliest time the project was created is: July 17, 2017
insert image description here

Migration project address:

insert image description here

2. In particular, everyone does not occupy the project name, gitee is also called pythonstock


On csdn, you can still search for pythonstock The code of my project is paid for download.
It is obviously an open source project, but it is packaged and downloaded.
But, fortunately, everyone did not occupy the name on the gitee project.
I just applied recently and it works. Very lucky. Therefore, the project address is still the same as that of github:

https://gitee.com/pythonstock/stock

Changed the deployment of the next project, and the relevant deployment scripts have been modified to docker-compose

The projects are:

https://gitee.com/pythonstock/docker-compose

3. Updated version 2.1


Update and release version 2.1 for image upgrade 2023-06-03

The base image is:

# 基础镜像是发布了
pythonstock/pythonstock:base-2023-06
# 同时更新了最新的镜像:
pythonstock/pythonstock:latest

Using a new way to package the image, the size of the image has been reduced from 852MB to 506MB.

# 直接使用基础镜像然后拷贝 site-packages 安装包即可。
COPY --from=builder /data/jobs /data/stock/jobs
COPY --from=builder /data/libs /data/stock/libs
COPY --from=builder /data/web /data/stock/web
COPY --from=builder /data/supervisor /data/supervisor
# 拷贝二进制文件。
COPY --from=builder /usr/local/bin/supervisord /usr/local/bin/supervisord
COPY --from=builder /usr/lib/x86_64-linux-gnu/libmariadb.so.3 /usr/lib/x86_64-linux-gnu/libmariadb.so.3

1, numpy has been upgraded from [1.21.5] to [1.21.6] version
2, akshare has been upgraded from [1.3.50] to [1.10.5] version
3, bokeh has been upgraded from [2.4.2] to [2.4.3] Version

According to:
https://www.akshare.xyz/changelog.html

Modification method:

1.7.99 Replace stock_sina_lhb_ggtj with: stock_lhb_ggtj_sina
Modified the window problem of the style.
At the same time according to the prompt:

In order to support more AKShare features, please upgrade Python to version 3.8 or above as soon as possible

Upgrade the base image and application image to the latest version:
use the base image:
python:3.8-slim-bullseye
debian image, use Ali source to update.

4. Summary


The project has been written since 2017, and it has been under maintenance, intermittently. Recently, it has been found that there are often problems with github access.
Although there are 6K stars on gitee, it is not too high. The project is similar to making a simple web tool.
And solved the relevant python environment problems, optimized through mirroring, and learned to use python and pandas related class libraries at the same time.
Decided to migrate to gitee and archived the project. It is very convenient to use gitee.
Code management and distribution can be performed. At the same time support the domestic gitee project, Ding Ding Ding! ! !

The original link of this article is:
https://blog.csdn.net/freewebsys/article/details/81665552

Blogger address is: https://blog.csdn.net/freewebsys

Guess you like

Origin blog.csdn.net/freewebsys/article/details/131017154