Introduction
AKLite is a lite version of AKShare, which will be used in the future to support the AKShare project.
AKLite Features:
- Small, fast and powerful
- High performance
- Easy to ues
Installation
pip install aklite --upgrade -i https://pypi.org/simple
Usage
import aklite as ai
stock_zh_a_hist_obj = ai.stock_zh_a_hist(symbols=["000001", "000002"], period="daily", start_date="20220101",
end_date="20230601", adjust="hfq", timeout=5, proxies={})
print(stock_zh_a_hist_obj.data)
print(stock_zh_a_hist_obj.columns)
print(stock_zh_a_hist_obj.url)
print(stock_zh_a_hist_obj.desc)
print(stock_zh_a_hist_obj.symbols)
print(stock_zh_a_hist_obj.start_date)
print(stock_zh_a_hist_obj.end_date)
print(stock_zh_a_hist_obj.adjust)
date symbol ... price_change turnover_rate
0 2022-01-04 000001 ... 29.26 0.60
1 2022-01-05 000001 ... 79.63 1.01
2 2022-01-06 000001 ... -4.87 0.57
3 2022-01-07 000001 ... 13.00 0.58
4 2022-01-10 000001 ... -1.62 0.47
.. ... ... ... ... ...
677 2023-05-26 000002 ... 2.62 0.42
678 2023-05-29 000002 ... -23.56 0.46
679 2023-05-30 000002 ... 43.20 0.91
680 2023-05-31 000002 ... -15.71 0.46
681 2023-06-01 000002 ... -31.42 0.48
[682 rows x 12 columns]
Contributing
Translate
cd docs
sphinx-build -b gettext ./source build/gettext
sphinx-intl update -p ./build/gettext -l zh_CN
Publish
hatch build
hatch publish
Metadata
Release files for aklite 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| aklite-0.0.4.tar.gz | 14.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aklite-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.3 kB
Release files / aklite-0.0.4.tar.gz
| Download URL | aklite-0.0.4.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f098ac8831f00c13289f564703337e65086bf0f205f9373b49ed3431df93bf04
|
|
BLAKE2b-256 checksum How to use checksums |
19161f09d6976e41150562020f65ed5ed5721d7a4bc2b48ed7cacf2309e78f20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.1
|
Release files / aklite-0.0.4-py3-none-any.whl
| Download URL | aklite-0.0.4-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4272f0720968c4091374bb78374a621ff874a9c082e8daf66a451b8b4c1775e4
|
|
BLAKE2b-256 checksum How to use checksums |
a1faca2f69a11cceb317684484945d1d3210cb1995753e5359da8f8743f2705e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.1
|
Security for aklite 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.