fundev-api 0.0.1__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.
- fundev_api-0.0.1/.gitignore +211 -0
- fundev_api-0.0.1/CHANGELOG.md +21 -0
- fundev_api-0.0.1/LICENSE +21 -0
- fundev_api-0.0.1/PKG-INFO +46 -0
- fundev_api-0.0.1/README.md +32 -0
- fundev_api-0.0.1/pyproject.toml +37 -0
- fundev_api-0.0.1/src/fundev_api/__init__.py +7 -0
- fundev_api-0.0.1/src/fundev_api/py.typed +0 -0
- fundev_api-0.0.1/tests/test_smoke.py +24 -0
- fundev_api-0.0.1/uv.lock +8 -0
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[codz]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py.cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
*.db
|
|
64
|
+
|
|
65
|
+
# Archives
|
|
66
|
+
*.rar
|
|
67
|
+
|
|
68
|
+
# Runtime files (logs / PID / lock)
|
|
69
|
+
.run/
|
|
70
|
+
|
|
71
|
+
# Flask stuff:
|
|
72
|
+
instance/
|
|
73
|
+
.webassets-cache
|
|
74
|
+
|
|
75
|
+
# Scrapy stuff:
|
|
76
|
+
.scrapy
|
|
77
|
+
|
|
78
|
+
# Sphinx documentation
|
|
79
|
+
docs/_build/
|
|
80
|
+
|
|
81
|
+
# PyBuilder
|
|
82
|
+
.pybuilder/
|
|
83
|
+
target/
|
|
84
|
+
|
|
85
|
+
# Jupyter Notebook
|
|
86
|
+
.ipynb_checkpoints
|
|
87
|
+
|
|
88
|
+
# IPython
|
|
89
|
+
profile_default/
|
|
90
|
+
ipython_config.py
|
|
91
|
+
|
|
92
|
+
# pyenv
|
|
93
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
94
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
95
|
+
# .python-version
|
|
96
|
+
|
|
97
|
+
# pipenv
|
|
98
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
99
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
100
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
101
|
+
# install all needed dependencies.
|
|
102
|
+
#Pipfile.lock
|
|
103
|
+
|
|
104
|
+
# UV
|
|
105
|
+
# uv.lock 已提交到版本管理,保证可复现构建,不要忽略它。
|
|
106
|
+
|
|
107
|
+
# poetry
|
|
108
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
109
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
110
|
+
# commonly ignored for libraries.
|
|
111
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
112
|
+
#poetry.lock
|
|
113
|
+
#poetry.toml
|
|
114
|
+
|
|
115
|
+
# pdm
|
|
116
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
117
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
118
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
119
|
+
#pdm.lock
|
|
120
|
+
#pdm.toml
|
|
121
|
+
.pdm-python
|
|
122
|
+
.pdm-build/
|
|
123
|
+
|
|
124
|
+
# pixi
|
|
125
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
126
|
+
#pixi.lock
|
|
127
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
128
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
129
|
+
.pixi
|
|
130
|
+
|
|
131
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
132
|
+
__pypackages__/
|
|
133
|
+
|
|
134
|
+
# Celery stuff
|
|
135
|
+
celerybeat-schedule
|
|
136
|
+
celerybeat.pid
|
|
137
|
+
|
|
138
|
+
# SageMath parsed files
|
|
139
|
+
*.sage.py
|
|
140
|
+
|
|
141
|
+
# Environments
|
|
142
|
+
.env
|
|
143
|
+
.envrc
|
|
144
|
+
.venv
|
|
145
|
+
env/
|
|
146
|
+
venv/
|
|
147
|
+
ENV/
|
|
148
|
+
env.bak/
|
|
149
|
+
venv.bak/
|
|
150
|
+
|
|
151
|
+
# Spyder project settings
|
|
152
|
+
.spyderproject
|
|
153
|
+
.spyproject
|
|
154
|
+
|
|
155
|
+
# Rope project settings
|
|
156
|
+
.ropeproject
|
|
157
|
+
|
|
158
|
+
# mkdocs documentation
|
|
159
|
+
/site
|
|
160
|
+
|
|
161
|
+
# mypy
|
|
162
|
+
.mypy_cache/
|
|
163
|
+
.dmypy.json
|
|
164
|
+
dmypy.json
|
|
165
|
+
|
|
166
|
+
# Pyre type checker
|
|
167
|
+
.pyre/
|
|
168
|
+
|
|
169
|
+
# pytype static type analyzer
|
|
170
|
+
.pytype/
|
|
171
|
+
|
|
172
|
+
# Cython debug symbols
|
|
173
|
+
cython_debug/
|
|
174
|
+
|
|
175
|
+
# PyCharm
|
|
176
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
177
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
178
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
179
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
180
|
+
.idea/
|
|
181
|
+
|
|
182
|
+
# Abstra
|
|
183
|
+
# Abstra is an AI-powered process automation framework.
|
|
184
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
185
|
+
# Learn more at https://abstra.io/docs
|
|
186
|
+
.abstra/
|
|
187
|
+
|
|
188
|
+
# Visual Studio Code
|
|
189
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
|
190
|
+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
191
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
|
192
|
+
# you could uncomment the following to ignore the entire vscode folder
|
|
193
|
+
.vscode/
|
|
194
|
+
|
|
195
|
+
# Ruff stuff:
|
|
196
|
+
.ruff_cache/
|
|
197
|
+
|
|
198
|
+
# PyPI configuration file
|
|
199
|
+
.pypirc
|
|
200
|
+
|
|
201
|
+
# Cursor
|
|
202
|
+
# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
|
|
203
|
+
# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
|
|
204
|
+
# refer to https://docs.cursor.com/context/ignore-files
|
|
205
|
+
.cursorignore
|
|
206
|
+
.cursorindexingignore
|
|
207
|
+
|
|
208
|
+
# Marimo
|
|
209
|
+
marimo/_static/
|
|
210
|
+
marimo/_lsp/
|
|
211
|
+
__marimo__/
|
fundev_api-0.0.1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 farfarfun
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: fundev-api
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: fundev-api
|
|
5
|
+
Project-URL: Organization, https://github.com/farfarfun
|
|
6
|
+
Project-URL: Repository, https://github.com/farfarfun/fundev-api
|
|
7
|
+
Project-URL: Releases, https://github.com/farfarfun/fundev-api/releases
|
|
8
|
+
Author-email: 牛哥 <niuliangtao@qq.com>, farfarfun <farfarfun@qq.com>
|
|
9
|
+
Maintainer-email: 牛哥 <niuliangtao@qq.com>, farfarfun <farfarfun@qq.com>
|
|
10
|
+
License-Expression: MIT
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Requires-Python: >=3.10
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
|
|
15
|
+
# fundev-api
|
|
16
|
+
|
|
17
|
+
占位仓库,尚无实际功能代码。发布这个空壳版本只是为了在 PyPI 上保留 `fundev-api` 这个包名,避免被无关项目抢注;具体功能会在之后陆续补充。
|
|
18
|
+
|
|
19
|
+
## Install
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
pip install fundev-api
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## 最小示例
|
|
26
|
+
|
|
27
|
+
当前仅有占位实现,可以确认安装成功并读取版本号:
|
|
28
|
+
|
|
29
|
+
```python
|
|
30
|
+
import fundev_api
|
|
31
|
+
|
|
32
|
+
print(fundev_api.__version__) # 0.0.1
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## 关于 farfarfun
|
|
38
|
+
|
|
39
|
+
[farfarfun](https://github.com/farfarfun) 是一个专注于实用工具库的开源组织,
|
|
40
|
+
涵盖云存储、数据处理、AI、多媒体与开发工具链等方向。
|
|
41
|
+
|
|
42
|
+
- 🏠 组织主页:<https://github.com/farfarfun>
|
|
43
|
+
- 📦 PyPI:<https://pypi.org/user/niuliangtao/>
|
|
44
|
+
- 📧 联系:farfarfun@qq.com
|
|
45
|
+
|
|
46
|
+
本项目基于 [MIT](LICENSE) 协议开源。
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# fundev-api
|
|
2
|
+
|
|
3
|
+
占位仓库,尚无实际功能代码。发布这个空壳版本只是为了在 PyPI 上保留 `fundev-api` 这个包名,避免被无关项目抢注;具体功能会在之后陆续补充。
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install fundev-api
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## 最小示例
|
|
12
|
+
|
|
13
|
+
当前仅有占位实现,可以确认安装成功并读取版本号:
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
import fundev_api
|
|
17
|
+
|
|
18
|
+
print(fundev_api.__version__) # 0.0.1
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## 关于 farfarfun
|
|
24
|
+
|
|
25
|
+
[farfarfun](https://github.com/farfarfun) 是一个专注于实用工具库的开源组织,
|
|
26
|
+
涵盖云存储、数据处理、AI、多媒体与开发工具链等方向。
|
|
27
|
+
|
|
28
|
+
- 🏠 组织主页:<https://github.com/farfarfun>
|
|
29
|
+
- 📦 PyPI:<https://pypi.org/user/niuliangtao/>
|
|
30
|
+
- 📧 联系:farfarfun@qq.com
|
|
31
|
+
|
|
32
|
+
本项目基于 [MIT](LICENSE) 协议开源。
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "fundev-api"
|
|
3
|
+
version = "0.0.1"
|
|
4
|
+
description = "fundev-api"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.10"
|
|
7
|
+
license = "MIT"
|
|
8
|
+
license-files = ["LICENSE"]
|
|
9
|
+
dependencies = []
|
|
10
|
+
|
|
11
|
+
[[project.authors]]
|
|
12
|
+
name = "牛哥"
|
|
13
|
+
email = "niuliangtao@qq.com"
|
|
14
|
+
|
|
15
|
+
[[project.authors]]
|
|
16
|
+
name = "farfarfun"
|
|
17
|
+
email = "farfarfun@qq.com"
|
|
18
|
+
|
|
19
|
+
[[project.maintainers]]
|
|
20
|
+
name = "牛哥"
|
|
21
|
+
email = "niuliangtao@qq.com"
|
|
22
|
+
|
|
23
|
+
[[project.maintainers]]
|
|
24
|
+
name = "farfarfun"
|
|
25
|
+
email = "farfarfun@qq.com"
|
|
26
|
+
|
|
27
|
+
[project.urls]
|
|
28
|
+
Organization = "https://github.com/farfarfun"
|
|
29
|
+
Repository = "https://github.com/farfarfun/fundev-api"
|
|
30
|
+
Releases = "https://github.com/farfarfun/fundev-api/releases"
|
|
31
|
+
|
|
32
|
+
[build-system]
|
|
33
|
+
requires = ["hatchling"]
|
|
34
|
+
build-backend = "hatchling.build"
|
|
35
|
+
|
|
36
|
+
[tool.hatch.build.targets.wheel]
|
|
37
|
+
packages = ["src/fundev_api"]
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""轻量冒烟测试(smoke tests)for fundev-api。
|
|
2
|
+
|
|
3
|
+
范围说明:
|
|
4
|
+
fundev-api 目前是占位仓库,尚无实际功能代码,因此这里只覆盖
|
|
5
|
+
唯一的公开契约——包能被正常导入,且暴露了版本号。后续补充
|
|
6
|
+
实际功能时,应在此基础上补齐对应公开 API 的正常路径与边界测试。
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def test_import_top_level_package():
|
|
11
|
+
"""顶层包 fundev_api 可以正常导入。"""
|
|
12
|
+
import fundev_api
|
|
13
|
+
|
|
14
|
+
assert fundev_api is not None
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def test_version_is_exposed_and_well_formed():
|
|
18
|
+
"""__version__ 存在且是 `主.次.修订` 形式的字符串。"""
|
|
19
|
+
import fundev_api
|
|
20
|
+
|
|
21
|
+
assert hasattr(fundev_api, "__version__")
|
|
22
|
+
parts = fundev_api.__version__.split(".")
|
|
23
|
+
assert len(parts) == 3
|
|
24
|
+
assert all(part.isdigit() for part in parts)
|