os-flip


Nameos-flip JSON
Version 1.0.4 PyPI version JSON
download
home_pagehttps://github.com/AKris15/OS-Flip
SummaryCross-platform boot OS selector for Linux, Windows, and macOS
upload_time2025-07-24 05:52:48
maintainerNone
docs_urlNone
authorAK
requires_python>=3.6
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # OS Flip ๐ŸŒ€

*A cross-platform terminal tool to view, set, and flip your default boot OS on Linux, Windows, and macOS.*

---

## โœจ Overview

**OS Flip** is a Python-based utility to manage boot preferences across dual-boot or multi-boot systems. Whether you're switching between Linux and Windows or managing a macOS Boot Camp setup, OS Flip gives you a simple terminal UI to:

- ๐Ÿ” View bootable OS entries
- โœ… Set the **default OS**
- ๐Ÿ” Temporarily Flips into another OS

---

## ๐Ÿ–ฅ๏ธ Platforms Supported

- ๐Ÿง **Linux** (GRUB2)
- ๐ŸชŸ **Windows** (`bcdedit`)
- ๐ŸŽ **macOS** (`bless`) โ€” *experimental*

---

## โš™๏ธ Features

- ๐Ÿง  Auto-detects current OS
- ๐Ÿ“œ Lists all boot entries
- โœ… Set permanent default boot entry
- ๐Ÿ” Flip OS temporarily
- ๐Ÿ’ฌ Color-coded terminal UI
- ๐Ÿ“ Logs activity to a platform-specific log file
- ๐ŸชŸ [Windows `.exe` version available](https://github.com/AKris15/OS-Flip/releases/latest)

---

## ๐Ÿ“ฆ Installation

### โœ… Via pip (All Platforms)

```bash
pip install os-flip
````

Then run:

```bash
sudo os-flip  # On Linux/macOS
os-flip       # On Windows (admin)
```

> Requires Python 3.6+

---

## ๐Ÿ“‹ Requirements

### Linux:

* Python 3
* GRUB2 bootloader
* `os-prober`, `update-grub` or `grub2-mkconfig`
* `sudo` or root privileges

### Windows:

* Python 3 (for pip version)
* Admin privileges
* `bcdedit` access

### macOS:

* Python 3
* Tools: `diskutil`, `systemsetup`, `bless`
* Run with `sudo`
* โš ๏ธ SIP and volume restrictions may apply

---

## ๐Ÿš€ Example Output

```text
   ____   _____          ______ _      _____ _____ 
  / __ \ / ____|        |  ____| |    |_   _|  __ \
 | |  | | (___    ___   | |__  | |      | | | |__) |
 | |  | |\___ \         |  __| | |      | | |  ___/ 
 | |__| |____) |        | |    | |____ _| |_| |     
  \____/|_____/         |_|    |______|_____|_|   

         Welcome to OS FLIP 
                         By - AK (Your OS)

๐Ÿ“œ Available Boot Entries:
  1. Windows Boot Manager (on /dev/nvme0n1p1) (Current Default)
  2. Fedora Linux

โš™๏ธ  Options:
  1. Set default boot OS
  2. Flip OS
  3. Exit
```

---

## ๐Ÿ“‚ Log Location

| OS      | Log File Path                   |
| ------- | ------------------------------- |
| Linux   | `/tmp/os_flip_<username>.log`   |
| macOS   | `/tmp/os_flip_<username>.log`   |
| Windows | `%TEMP%\os_flip_<username>.log` |

---

## ๐Ÿงช Tested On

| OS            | Status          |
| ------------- | --------------- |
| Ubuntu 22.04  | โœ… Confirmed     |
| Fedora 40     | โœ… Confirmed     |
| Windows 10/11 | โœ… Confirmed     |
| macOS (Intel) | โš ๏ธ Experimental |

---

## ๐Ÿšง Disclaimer

> โš ๏ธ Use at your own risk. Editing bootloader configs may prevent systems from booting. Always back up and know what you're changing.

---

## ๐Ÿ‘จโ€๐Ÿ’ป Author

Made with โค๏ธ by **[AK](https://github.com/AKris15)**
MIT Licensed โ€” attribution appreciated!

---

## ๐Ÿ”— Related Links

* ๐Ÿ“ฆ [PyPI Package](https://pypi.org/project/os-flip)
* ๐Ÿ› [Issue Tracker](https://github.com/AKris15/OS-Flip/issues)

````

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/AKris15/OS-Flip",
    "name": "os-flip",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "AK",
    "author_email": "herogupta626@email.com",
    "download_url": "https://files.pythonhosted.org/packages/b0/33/57c13d48a3f65952fe6377e3b8b8454c4785568285b2ab955bfe54f86936/os_flip-1.0.4.tar.gz",
    "platform": null,
    "description": "# OS Flip \ud83c\udf00\n\n*A cross-platform terminal tool to view, set, and flip your default boot OS on Linux, Windows, and macOS.*\n\n---\n\n## \u2728 Overview\n\n**OS Flip** is a Python-based utility to manage boot preferences across dual-boot or multi-boot systems. Whether you're switching between Linux and Windows or managing a macOS Boot Camp setup, OS Flip gives you a simple terminal UI to:\n\n- \ud83d\udd0d View bootable OS entries\n- \u2705 Set the **default OS**\n- \ud83d\udd01 Temporarily Flips into another OS\n\n---\n\n## \ud83d\udda5\ufe0f Platforms Supported\n\n- \ud83d\udc27 **Linux** (GRUB2)\n- \ud83e\ude9f **Windows** (`bcdedit`)\n- \ud83c\udf4e **macOS** (`bless`) \u2014 *experimental*\n\n---\n\n## \u2699\ufe0f Features\n\n- \ud83e\udde0 Auto-detects current OS\n- \ud83d\udcdc Lists all boot entries\n- \u2705 Set permanent default boot entry\n- \ud83d\udd01 Flip OS temporarily\n- \ud83d\udcac Color-coded terminal UI\n- \ud83d\udcc1 Logs activity to a platform-specific log file\n- \ud83e\ude9f [Windows `.exe` version available](https://github.com/AKris15/OS-Flip/releases/latest)\n\n---\n\n## \ud83d\udce6 Installation\n\n### \u2705 Via pip (All Platforms)\n\n```bash\npip install os-flip\n````\n\nThen run:\n\n```bash\nsudo os-flip  # On Linux/macOS\nos-flip       # On Windows (admin)\n```\n\n> Requires Python 3.6+\n\n---\n\n## \ud83d\udccb Requirements\n\n### Linux:\n\n* Python 3\n* GRUB2 bootloader\n* `os-prober`, `update-grub` or `grub2-mkconfig`\n* `sudo` or root privileges\n\n### Windows:\n\n* Python 3 (for pip version)\n* Admin privileges\n* `bcdedit` access\n\n### macOS:\n\n* Python 3\n* Tools: `diskutil`, `systemsetup`, `bless`\n* Run with `sudo`\n* \u26a0\ufe0f SIP and volume restrictions may apply\n\n---\n\n## \ud83d\ude80 Example Output\n\n```text\n   ____   _____          ______ _      _____ _____ \n  / __ \\ / ____|        |  ____| |    |_   _|  __ \\\n | |  | | (___    ___   | |__  | |      | | | |__) |\n | |  | |\\___ \\         |  __| | |      | | |  ___/ \n | |__| |____) |        | |    | |____ _| |_| |     \n  \\____/|_____/         |_|    |______|_____|_|   \n\n         Welcome to OS FLIP \n                         By - AK (Your OS)\n\n\ud83d\udcdc Available Boot Entries:\n  1. Windows Boot Manager (on /dev/nvme0n1p1) (Current Default)\n  2. Fedora Linux\n\n\u2699\ufe0f  Options:\n  1. Set default boot OS\n  2. Flip OS\n  3. Exit\n```\n\n---\n\n## \ud83d\udcc2 Log Location\n\n| OS      | Log File Path                   |\n| ------- | ------------------------------- |\n| Linux   | `/tmp/os_flip_<username>.log`   |\n| macOS   | `/tmp/os_flip_<username>.log`   |\n| Windows | `%TEMP%\\os_flip_<username>.log` |\n\n---\n\n## \ud83e\uddea Tested On\n\n| OS            | Status          |\n| ------------- | --------------- |\n| Ubuntu 22.04  | \u2705 Confirmed     |\n| Fedora 40     | \u2705 Confirmed     |\n| Windows 10/11 | \u2705 Confirmed     |\n| macOS (Intel) | \u26a0\ufe0f Experimental |\n\n---\n\n## \ud83d\udea7 Disclaimer\n\n> \u26a0\ufe0f Use at your own risk. Editing bootloader configs may prevent systems from booting. Always back up and know what you're changing.\n\n---\n\n## \ud83d\udc68\u200d\ud83d\udcbb Author\n\nMade with \u2764\ufe0f by **[AK](https://github.com/AKris15)**\nMIT Licensed \u2014 attribution appreciated!\n\n---\n\n## \ud83d\udd17 Related Links\n\n* \ud83d\udce6 [PyPI Package](https://pypi.org/project/os-flip)\n* \ud83d\udc1b [Issue Tracker](https://github.com/AKris15/OS-Flip/issues)\n\n````\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Cross-platform boot OS selector for Linux, Windows, and macOS",
    "version": "1.0.4",
    "project_urls": {
        "Homepage": "https://github.com/AKris15/OS-Flip"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "826beb33907c287c116ecc4c5e9ed92e165b0e19518ec2d66ecceba2f0775a7e",
                "md5": "bb620da1f54e870dd302376cb30ab8bf",
                "sha256": "e646f3b949f9664135c3ab4fc38442d3b0818424249925b4f2be8ce1f63ba7cd"
            },
            "downloads": -1,
            "filename": "os_flip-1.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bb620da1f54e870dd302376cb30ab8bf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 9328,
            "upload_time": "2025-07-24T05:52:47",
            "upload_time_iso_8601": "2025-07-24T05:52:47.175438Z",
            "url": "https://files.pythonhosted.org/packages/82/6b/eb33907c287c116ecc4c5e9ed92e165b0e19518ec2d66ecceba2f0775a7e/os_flip-1.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b03357c13d48a3f65952fe6377e3b8b8454c4785568285b2ab955bfe54f86936",
                "md5": "52c36fc5aa9a598c4bcb070e7519d62a",
                "sha256": "37063e0a0ec22f2d39f8793fc8655d8de323526d887c8b6cdedd7754791e6e30"
            },
            "downloads": -1,
            "filename": "os_flip-1.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "52c36fc5aa9a598c4bcb070e7519d62a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 9981,
            "upload_time": "2025-07-24T05:52:48",
            "upload_time_iso_8601": "2025-07-24T05:52:48.914072Z",
            "url": "https://files.pythonhosted.org/packages/b0/33/57c13d48a3f65952fe6377e3b8b8454c4785568285b2ab955bfe54f86936/os_flip-1.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-24 05:52:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "AKris15",
    "github_project": "OS-Flip",
    "github_not_found": true,
    "lcname": "os-flip"
}
        
AK
Elapsed time: 1.36513s