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.2.tar.gz (7.8 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.2-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: switchsources-0.2.2.tar.gz
  • Upload date:
  • Size: 7.8 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.2.tar.gz
Algorithm Hash digest
SHA256 a8b0c5da300c0fbde221aa46ec5b822c453d6e5b50a416e86c4d5acbd9767166
MD5 b2a7aa49180ed4683852b0025e5459a8
BLAKE2b-256 5be1c736913202095026bc450fe80a404ba5951e037e3a63a873aded0c967702

See more details on using hashes here.

File details

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

File metadata

  • Download URL: switchsources-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 9.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4db1cee44d4a22ed9c8dff8b0828179f60f38cedc94cf4a82377c296d352edd8
MD5 f2a16d40929201ccee2c01b31b551fc8
BLAKE2b-256 6e4fe1de43c9e673f6ba751b8029bea7b2b6e55cd3eadd076bd2b507a970641e

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