圆周旅迹行程规划导出与可视化工具
Project description
PyPitravel
PyPitravel 是一个用于解析旅行规划平台《圆周旅迹》数据、提供行程规划导出与可视化的工具。
项目由来
由于“圆周旅迹”仅提供 iOS 客户端,导致在电脑端进行复杂的行程规划与整理非常不便。本项目旨在通过解析其 API 数据,在电脑端实现行程的可视化导出与整理。
核心功能
- 智能解析: 自动从旅行行程链接中提取行程 ID。
- API 代理: 安全地获取旅行规划平台数据,绕过 CORS 跨域拦截。
- 本地部署: 提供轻量级的本地 Web 服务。
- 可视化分析: 支持交互式地图轨迹绘制与行程数据分析(开发中)。
- 便携运行: 基于 Nuitka 打包,用户无需安装 Python 环境即可使用。
快速上手
环境要求
- Python >= 3.12
- uv (推荐用于依赖管理)
开发运行
- 同步依赖:
uv sync - 启动应用:
uv run pypitravel
- 访问浏览器:
打开
http://127.0.0.1:8000即可开始使用。
CLI 安装
你可以将本项目安装到本地环境以便直接调用:
uv pip install -e .
pypitravel
应用预览
技术栈
- 后端: FastAPI, httpx
- 前端: HTML, JavaScript (Leaflet.js 规划中)
- 打包: Nuitka
- 依赖管理: uv
许可证
本项目采用 Apache License 2.0 开源。
免责声明
PyPitravel 仅供个人学习与研究使用。所调用的 Pitravel 服务为商业软件,其 API 和数据归原平台所有。
- 本项目不承担任何因使用本项目而导致的平台服务条款违反责任。
- 严禁将本项目用于任何商业用途或大规模自动化抓取。
- 使用时请遵守目标平台的相关服务条款与隐私政策。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pypitravel-1.0.1.tar.gz.
File metadata
- Download URL: pypitravel-1.0.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a7dcf0c8e04ae6bbdd534bdf4331c7d22e374dc6df5bc02424544c7ed5effa0
|
|
| MD5 |
1c34789fa7b52601a3d462180ad74446
|
|
| BLAKE2b-256 |
44314a6aae7b4893ab9659ef422bdd52da341366b2807abab52c951823193756
|
Provenance
The following attestation bundles were made for pypitravel-1.0.1.tar.gz:
Publisher:
publish-pypi.yml on CRThu/pypitravel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypitravel-1.0.1.tar.gz -
Subject digest:
6a7dcf0c8e04ae6bbdd534bdf4331c7d22e374dc6df5bc02424544c7ed5effa0 - Sigstore transparency entry: 1740326250
- Sigstore integration time:
-
Permalink:
CRThu/pypitravel@736efd74552144e54e1dc442ad288ae6ba539998 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/CRThu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@736efd74552144e54e1dc442ad288ae6ba539998 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pypitravel-1.0.1-py3-none-any.whl.
File metadata
- Download URL: pypitravel-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b374581710f3916326c6620bded31c59a50efae1bf79462cb31b3e5f4c840c6
|
|
| MD5 |
f3ea681be3760c72b3324eef3b6c80df
|
|
| BLAKE2b-256 |
7b9f6467075cae6a67c42f55cd50918280d3e028ed4bb9fe2b6afa8b7be8ec5f
|
Provenance
The following attestation bundles were made for pypitravel-1.0.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on CRThu/pypitravel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypitravel-1.0.1-py3-none-any.whl -
Subject digest:
8b374581710f3916326c6620bded31c59a50efae1bf79462cb31b3e5f4c840c6 - Sigstore transparency entry: 1740326264
- Sigstore integration time:
-
Permalink:
CRThu/pypitravel@736efd74552144e54e1dc442ad288ae6ba539998 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/CRThu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@736efd74552144e54e1dc442ad288ae6ba539998 -
Trigger Event:
push
-
Statement type: