Skip to main content

A tool to switch sources

Project description


中文 | English
One click, Switch all

轻量级,可配置,跨平台的换源工具

SwitchSources

安装

pip install switchsources

介绍

SwitchSources是一个帮助开发者切换各种软件源的工具。

使用

查看支持的软件

switchsources ls

查看当前软件源

switchsources check pip

切换软件源

switchsources switch pip

配置可选择的源地址

switchsources add pip https://pypi.tuna.tsinghua.edu.cn/simple

删除配置文件中的一个源(列表选择)

switchsources rs pip

删除指定应用下配置文件中的所有源

switchsources remove pip

规划

  • 支持maven, pip等常见的开源工具的换源
  • 支持用户自己配置源地址
  • 提供pip安装包
  • 提供brew安装包
  • 支持Linux
  • 支持Mac
  • 支持windows
  • 支持国产操作系统
  • 支持测速功能
  • 支持自动选择最快源
  • 支持从远程拉取配置文件并使用

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

switchsources-0.2.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

switchsources-0.2.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file switchsources-0.2.0.tar.gz.

File metadata

  • Download URL: switchsources-0.2.0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1021-azure

File hashes

Hashes for switchsources-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b09ef1038d4698d2ddbb8f05ab3f65b1cf07cd6df23dcbc997ea6ddaa25d68c3
MD5 98a00fa02efc35c8efb9277f6944b05d
BLAKE2b-256 1e666c5e77e015809cee2cfebb89b6d922651f956252962356dfc7e92c97ed2a

See more details on using hashes here.

File details

Details for the file switchsources-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: switchsources-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1021-azure

File hashes

Hashes for switchsources-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 267a5ab98d592fb68b2eddac4dbc895d7fcc8518e95492817806b22bd0a3e3bf
MD5 f641f65eb1ad5019bd62ef62cb475957
BLAKE2b-256 74b50ee40e19cdd334a9e2f84f579263567405d5bd8cbc05fb5efb729d7da159

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