Skip to main content

About

Create new Google Chrome sessions, persistent and temporary, separate from your default Chrome profiles.

New sessions start with default Chrome settings by default, but it is possible to base new sessions off of others. Some possibilities include:

  • Browsing in a temporary session that inherits bookmarks, cookies, and extensions from your default Chrome profile without impacting it or leaving a history

  • Browsing in persistent sessions that can be accessed repeatedly, each with their own bookmarks, history, extensions, and cookies (no more signing in and out of different profiles on certain websites!)

Usage

After installation, run $ cswitch to open the GUI interface.

A command line interface will be added in the future.

Options

New persistent session

Create and open a new persistent session.

Choosing this option automatically generates a shortcut file in the same directory as the new session. To use the shortcut file, drag and drop persistent session directories onto it, and that session will open.

Choosing this option also automatically generates a default profile shortcut in the same directory (double click it to open it). If you're running a separate session from the default, use this to open your default profile without being forced to exit the other session.

New temporary session

Create and open a new temporary session.

On Windows, this session's data is deleted when you close the last remaining tab of the session. On macOS, it's deleted when you quit that session of Chrome (cmd+Q). If your computer shuts off unexpectedly (e.g. dead battery), there is a small chance some data could remain.

Regenerate shortcut files

Remakes the shortcut files mentioned above if they get lost or damaged.

Settings

As mentioned above, you can select an existing Chrome session directory that new sessions will inherit from. For instance, you might want to inheret from the default session directory. On most computers, that directory is at:

Windows: %LOCALAPPDATA%\\Google\\Chrome\\User Data

macOS: ~/Library/Application Support/Google/Chrome

Start new sessions with this base (or another) in the settings menu by following the GUI and selecting a folder.

NOTE: Doing this may slow down new session generation as files have to be copied over.

Installation

Python is required. This program was tested on Python 3.11 but should work on all maintained Python versions.

Windows and macOS

Option 1: pip

The easiest way to install this program is using pip: $ pip install chrome-switcher

Option 2: download and run

Download the source code and run main.py: $ python3 /path/to/main.py

Linux

This program has not been tested on Linux.

Metadata

Release files for chrome-switcher 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chrome-switcher 0.0.3
File Size Uploaded Provenance Actions
chrome_switcher-0.0.3.tar.gz 263.7 kB Without provenance Details for chrome_switcher-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chrome-switcher 0.0.3
File Interpreter ABI Platform Actions
chrome_switcher-0.0.3-py3-none-any.whl Python 3 none any Details for chrome_switcher-0.0.3-py3-none-any.whl

Total release size: 544.2 kB

Release files / chrome_switcher-0.0.3.tar.gz

Download URL chrome_switcher-0.0.3.tar.gz
Size 263.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9e8cf6d805d33384187e12577e5109c9a0498a8ca2d3d7fc67c11341595bebb4
BLAKE2b-256 checksum
How to use checksums
2297d7f38eddcefe5880d4d2da6bf25362c3eb703a64f1bdfe70b14ed55f856b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / chrome_switcher-0.0.3-py3-none-any.whl

Download URL chrome_switcher-0.0.3-py3-none-any.whl
Size 280.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ec53f23218b977dc6aebab9f3360a269549b059632f787eeed795e7497c5def
BLAKE2b-256 checksum
How to use checksums
178d361fbf0891e586e226c891969e395fbdb4b0f18753213f499436b6858499
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for chrome-switcher 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page