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.1.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.1-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: switchsources-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 81a7cf5d0a190036af4d95a6c989b8d0cbe4052e7d67a3d1a645c91bbe0b4a1d
MD5 18593c0c01c25abb11f1aa8c1044e6c0
BLAKE2b-256 26cd87e55b0d6988445e273903b123485985e010f320e2e337a95ac833e4d9ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: switchsources-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb9ab735391168ce6c6f60dabb650c08a33f42e628b89b313d95aa90700ca389
MD5 5b991a44a762295e8d7eb752973ea9ae
BLAKE2b-256 a6a6b986725551c5a478eca917bad4791bfb9b75d972ac17bfab378cd48931f8

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