Skip to main content

卡谷电商的工具集合

Project description

卡谷电商工具集

卡谷电商工具集 是一个用 Python 开发的工具包,旨在为电商开发者提供便捷的数据导入、配置管理和日常任务处理功能。


功能特点

  • 交互式配置管理:支持创建、查看、列表和删除配置,配置文件存储于用户主目录下。
  • Excel 数据导入数据库:支持将 Excel 表格数据高效导入指定的数据库中。
  • 命令行工具:提供易用的 CLI 界面,用户可快速完成配置和数据导入任务。

安装

  pip install cagu-toolkit

快速开始

配置管理

通过命令行管理工具运行以下操作:

1. 添加配置

  cagu-toolkit config add

2. 查看配置

  cagu-toolkit config list

列出所有配置。

3. 获取某个配置

  cagu-toolkit config get <配置名称>

4. 删除配置

  cagu-toolkit config delete <配置名称>

数据导入

将 Excel 数据导入数据库:

  1. 准备好 Excel 文件。
  2. 运行以下命令:
  cagu-toolkit import -p <配置名称> <导入模块> -f <Excel文件路径>

导入模块 可以通过以下命令查看

  cagu-toolkit import --help

配置文件存储路径

工具会将配置文件存储于用户主目录下:

  ~/.cagu-toolkit/config.json

配置文件以 JSON 格式保存,支持手动编辑或通过命令行管理。

自动更新

脚本在执行时会自动检查最新版本以更新,每24小时检查一次

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cagu_toolkit-0.1.10.tar.gz (36.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cagu_toolkit-0.1.10-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file cagu_toolkit-0.1.10.tar.gz.

File metadata

  • Download URL: cagu_toolkit-0.1.10.tar.gz
  • Upload date:
  • Size: 36.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.7 Darwin/23.6.0

File hashes

Hashes for cagu_toolkit-0.1.10.tar.gz
Algorithm Hash digest
SHA256 2ca450391b04340e27681871cc27d8ba8a17a4b1347084c707da464f4f63feba
MD5 0f8b775d3bb9ec9b981301e5f7d9b6a3
BLAKE2b-256 26e63fab649db1e3d97639a0be4351a15dd83aa8e498942ed3940bcb30a06a14

See more details on using hashes here.

File details

Details for the file cagu_toolkit-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: cagu_toolkit-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.7 Darwin/23.6.0

File hashes

Hashes for cagu_toolkit-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 1a6e509c17f7ac824b592732acd6dac74370cdd34312c84facfc86bc6b450d0f
MD5 0848030ad158f1ac8c36bc0a3eccbe86
BLAKE2b-256 802a61a1dbca006355f671881f31068ac7c1df0d0418b601e1fbb552385a2be5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page