CINXE.COM

colorama · PyPI

<!DOCTYPE html> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="defaultLanguage" content="en"> <meta name="availableLanguages" content="en, es, fr, ja, pt_BR, uk, el, de, zh_Hans, zh_Hant, ru, he, eo, ko"> <title>colorama · PyPI</title> <meta name="description" content="Cross-platform colored terminal text."> <link rel="stylesheet" href="/static/css/warehouse-ltr.4afe342a.css"> <link rel="stylesheet" href="/static/css/fontawesome.080e1050.css"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+3:400,400italic,600,600italic,700,700italic%7CSource+Code+Pro:500"> <noscript> <link rel="stylesheet" href="/static/css/noscript.0673c9ea.css"> </noscript> <link rel="icon" href="/static/images/favicon.35549fe8.ico" type="image/x-icon"> <link rel="alternate" type="application/rss+xml" title="RSS: 40 latest updates" href="/rss/updates.xml"> <link rel="alternate" type="application/rss+xml" title="RSS: 40 newest packages" href="/rss/packages.xml"> <link rel="alternate" type="application/rss+xml" title="RSS: latest releases for colorama" href="/rss/project/colorama/releases.xml"> <link rel="canonical" href="https://pypi.org/project/colorama/"> <meta property="og:url" content="https://pypi.org/project/colorama/"> <meta property="og:site_name" content="PyPI"> <meta property="og:type" content="website"> <meta property="og:image" content="https://pypi.org/static/images/twitter.abaf4b19.webp"> <meta property="og:title" content="colorama"> <meta property="og:description" content="Cross-platform colored terminal text."> <link rel="search" type="application/opensearchdescription+xml" title="PyPI" href="/opensearch.xml"> <script async data-ga-id="UA-55961911-1" data-ga4-id="G-RW7D75DF8V" src="/static/js/warehouse.33c92630.js"> </script> <script> MathJax = { tex: { inlineMath: [['$', '$'], ['\\(', '\\)']] }, }; </script> <script async src="https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-svg.js" integrity="sha256-1CldwzdEg2k1wTmf7s5RWVd7NMXI/7nxxjJM2C4DqII=" crossorigin="anonymous" ></script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-55961911-1"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=G-RW7D75DF8V"></script> <script defer src="https://www.fastly-insights.com/insights.js?k=6a52360a-f306-421e-8ed5-7417d0d4a4e9&dnt=true"></script> <script async src="https://media.ethicalads.io/media/client/v1.4.0/ethicalads.min.js" integrity="sha256-U3hKDidudIaxBDEzwGJApJgPEf2mWk6cfMWghrAa6i0= sha384-UcmsCqcNRSLW/dV3Lo1oCi2/VaurXbib6p4HyUEOeIa/4OpsrnucrugAefzVZJfI sha512-q4t1L4xEjGV2R4hzqCa41P8jrgFUS8xTb8rdNv4FGvw7FpydVj/kkxBJHOiaoxHa8olCcx1Slk9K+3sNbsM4ug==" crossorigin="anonymous" ></script> </head> <body data-controller="viewport-toggle"> <!-- Accessibility: this link should always be the first piece of content inside the body--> <a href="#content" class="skip-to-content">Skip to main content</a> <button type="button" class="button button--primary button--switch-to-mobile hidden" data-viewport-toggle-target="switchToMobile" data-action="viewport-toggle#switchToMobile"> Switch to mobile version </button> <div id="sticky-notifications" class="stick-to-top js-stick-to-top"> <!-- Add browser warning. Will show for ie9 and below --> <!--[if IE]> <div class="notification-bar notification-bar--warning" role="status"> <span class="notification-bar__icon"> <i class="fa fa-exclamation-triangle" aria-hidden="true"></i> <span class="sr-only">Warning</span> </span> <span class="notification-bar__message">You are using an unsupported browser, upgrade to a newer version.</span> </div> <![endif]--> <noscript> <div class="notification-bar notification-bar--warning" role="status"> <span class="notification-bar__icon"> <i class="fa fa-exclamation-triangle" aria-hidden="true"></i> <span class="sr-only">Warning</span> </span> <span class="notification-bar__message">Some features may not work without JavaScript. Please try enabling it if you encounter problems.</span> </div> </noscript> <div data-html-include="/_includes/unauthed/notification-banners/"></div> </div> <div data-html-include="/_includes/authed/flash-messages/"></div> <div data-html-include="/_includes/authed/session-notifications/"></div> <header class="site-header "> <div class="site-container"> <div class="split-layout"> <div class="split-layout"> <div> <a class="site-header__logo" href="/"> <img alt="PyPI" src="/static/images/logo-small.8998e9d1.svg"> </a> </div> <form class="search-form search-form--primary" action="/search/" role="search"> <label for="search" class="sr-only">Search PyPI</label> <input id="search" class="search-form__search" type="text" name="q" placeholder="Search projects" value="" autocomplete="off" autocapitalize="off" spellcheck="false" data-controller="search-focus" data-action="keydown@window->search-focus#focusSearchField" data-search-focus-target="searchField"> <button type="submit" class="search-form__button"> <i class="fa fa-search" aria-hidden="true"></i> <span class="sr-only">Search</span> </button> </form> </div> <div data-html-include="/_includes/authed/current-user-indicator/"> <div id="user-indicator" class="horizontal-menu horizontal-menu--light horizontal-menu--tall"> <nav class="horizontal-menu horizontal-menu--light horizontal-menu--tall hide-on-tablet" aria-label="Main navigation"> <ul> <li class="horizontal-menu__item"><a href="/help/" class="horizontal-menu__link">Help</a></li> <li class="horizontal-menu__item"><a href="/sponsors/" class="horizontal-menu__link">Sponsors</a></li> <li class="horizontal-menu__item"><a href="/account/login/" class="horizontal-menu__link">Log in</a></li> <li class="horizontal-menu__item"><a href="/account/register/" class="horizontal-menu__link">Register</a></li> </ul> </nav> <nav class="dropdown dropdown--on-menu hidden show-on-tablet" aria-label="Main navigation"> <button type="button" class="horizontal-menu__link dropdown__trigger" aria-haspopup="true" aria-expanded="false" aria-label="View menu"> Menu <span class="dropdown__trigger-caret"> <i class="fa fa-caret-down" aria-hidden="true"></i> </span> </button> <ul class="dropdown__content" aria-hidden="true" aria-label="Main menu"> <li><a class="dropdown__link" href="/help/">Help</a></li> <li><a class="dropdown__link" href="/sponsors/">Sponsors</a></li> <li><a class="dropdown__link" href="/account/login/">Log in</a></li> <li><a class="dropdown__link" href="/account/register/">Register</a></li> </ul> </nav> </div> </div> </div> </div> </header> <div class="mobile-search"> <form class="search-form search-form--fullwidth" action="/search/" role="search"> <label for="mobile-search" class="sr-only">Search PyPI</label> <input id="mobile-search" class="search-form__search" type="text" name="q" placeholder="Search projects" value="" autocomplete="off" autocapitalize="off" spellcheck="false"> <button type="submit" class="search-form__button"> <i class="fa fa-search" aria-hidden="true"></i> <span class="sr-only">Search</span> </button> </form> </div> <main id="content"> <div class="banner"> <div class="package-header"> <div class="package-header__left"> <h1 class="package-header__name"> colorama 0.4.6 </h1> <div data-controller="clipboard"> <p class="package-header__pip-instructions"> <span id="pip-command" data-clipboard-target="source">pip install colorama</span> <button type="button" class="copy-tooltip copy-tooltip-s" data-action="clipboard#copy" data-clipboard-target="tooltip" data-clipboard-tooltip-value="Copy to clipboard"> <i class="fa fa-copy" aria-hidden="true"></i> <span class="sr-only">Copy PIP instructions</span> </button> </p> </div> </div> <div class="package-header__right"> <a class="status-badge status-badge--good" href="/project/colorama/"> <span>Latest version</span> </a> <p class="package-header__date"> Released: <time datetime="2022-10-25T02:36:20+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Oct 25, 2022 </time> </p> </div> </div> </div> <div class="horizontal-section horizontal-section--grey horizontal-section--thin"> <div class="site-container"> <div data-html-include="/_includes/authed/administer-project-include/colorama"></div> <div class="split-layout split-layout--middle package-description"> <p class="package-description__summary">Cross-platform colored terminal text.</p> <div data-html-include="/_includes/authed/edit-project-button/colorama"></div> </div> </div> </div> <div data-controller="project-tabs"> <div class="tabs-container"> <div class="vertical-tabs"> <div class="vertical-tabs__tabs"> <div class="sidebar-section"> <h3 class="sidebar-section__title">Navigation</h3> <nav aria-label="Navigation for colorama"> <ul class="vertical-tabs__list" role="tablist"> <li role="tab"> <a id="description-tab" href="#description" data-project-tabs-target="tab" data-action="project-tabs#onTabClick" class="vertical-tabs__tab vertical-tabs__tab--with-icon vertical-tabs__tab--is-active" aria-selected="true" aria-label="Project description. Focus will be moved to the description."> <i class="fa fa-align-left" aria-hidden="true"></i> Project description </a> </li> <li role="tab"> <a id="history-tab" href="#history" data-project-tabs-target="tab" data-action="project-tabs#onTabClick" class="vertical-tabs__tab vertical-tabs__tab--with-icon" aria-label="Release history. Focus will be moved to the history panel."> <i class="fa fa-history" aria-hidden="true"></i> Release history </a> </li> <li role="tab"> <a id="files-tab" href="#files" data-project-tabs-target="tab" data-action="project-tabs#onTabClick" class="vertical-tabs__tab vertical-tabs__tab--with-icon" aria-label="Download files. Focus will be moved to the project files."> <i class="fa fa-download" aria-hidden="true"></i> Download files </a> </li> </ul> </nav> </div> <div class="sidebar-section verified"> <h3 class="sidebar-section__title"> Verified details <i class="fa fa-circle-check check" title="Verified by PyPI on 2022-10-25"></i> </h3> <small><i>These details have been <a href="https://docs.pypi.org/project_metadata/#verified-details">verified by PyPI</a></i></small> <h6>Maintainers</h6> <span class="sidebar-section__maintainer"> <a href="/user/tartley/" aria-label=""> <span class="sidebar-section__user-gravatar"> <img src="https://pypi-camo.freetls.fastly.net/e24f32da34fc6025fe8ffc85dafbf51a48b4692f/68747470733a2f2f7365637572652e67726176617461722e636f6d2f6176617461722f62323530376434373961663935356630356565393935623864356461613661633f73697a653d3530" height="50" width="50" alt="Avatar for tartley from gravatar.com" title="Avatar for tartley from gravatar.com"> </span> <span class="sidebar-section__user-gravatar-text"> tartley </span> </a> </span> <span class="sidebar-section__maintainer"> <a href="/user/wiggin15/" aria-label=""> <span class="sidebar-section__user-gravatar"> <img src="https://pypi-camo.freetls.fastly.net/6a396dcde6d5d92bc641cc188096990e93dbb502/68747470733a2f2f7365637572652e67726176617461722e636f6d2f6176617461722f39306234343630383534626335386237343233653338646138383837633736333f73697a653d3530" height="50" width="50" alt="Avatar for wiggin15 from gravatar.com" title="Avatar for wiggin15 from gravatar.com"> </span> <span class="sidebar-section__user-gravatar-text"> wiggin15 </span> </a> </span> </div> <div class="sidebar-section unverified"> <h3 class="sidebar-section__title">Unverified details</h3> <small><i>These details have <b>not</b> been verified by PyPI</i></small> <h6>Project links</h6> <ul class="vertical-tabs__list"> <li> <a class="vertical-tabs__tab vertical-tabs__tab--with-icon vertical-tabs__tab--condensed" href="https://github.com/tartley/colorama" rel="nofollow"> <i class="fas fa-home" aria-hidden="true"></i>Homepage </a> </li> </ul> <div class="sidebar-section unverified"> <h6>Meta</h6> <ul> <li> <span> <strong>License:</strong> BSD License </span> </li> <li> <span> <strong>Author:</strong> <a href="mailto:tartley@tartley.com">Jonathan Hartley</a> </span> </li> <li class="tags"> <span> <i class="fa fa-tags" aria-hidden="true"></i> <span class="sr-only">Tags</span> <span class="package-keyword"> ansi, </span> <span class="package-keyword"> color, </span> <span class="package-keyword"> colour, </span> <span class="package-keyword"> crossplatform, </span> <span class="package-keyword"> terminal, </span> <span class="package-keyword"> text, </span> <span class="package-keyword"> windows, </span> <span class="package-keyword"> xplatform </span> </span> </li> <li> <span> <strong>Requires:</strong> Python !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*, &gt;=2.7 </span> </li> </ul> </div> <div class="sidebar-section unverified"> <h6 class="sidebar-section__title">Classifiers</h6> <ul class="sidebar-section__classifiers"> <li> <strong>Development Status</strong> <ul> <li> <a href="/search/?c=Development+Status+%3A%3A+5+-+Production%2FStable"> 5 - Production/Stable </a> </li> </ul> </li> <li> <strong>Environment</strong> <ul> <li> <a href="/search/?c=Environment+%3A%3A+Console"> Console </a> </li> </ul> </li> <li> <strong>Intended Audience</strong> <ul> <li> <a href="/search/?c=Intended+Audience+%3A%3A+Developers"> Developers </a> </li> </ul> </li> <li> <strong>License</strong> <ul> <li> <a href="/search/?c=License+%3A%3A+OSI+Approved+%3A%3A+BSD+License"> OSI Approved :: BSD License </a> </li> </ul> </li> <li> <strong>Operating System</strong> <ul> <li> <a href="/search/?c=Operating+System+%3A%3A+OS+Independent"> OS Independent </a> </li> </ul> </li> <li> <strong>Programming Language</strong> <ul> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python"> Python </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+2"> Python :: 2 </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+2.7"> Python :: 2.7 </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+3"> Python :: 3 </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+3.7"> Python :: 3.7 </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+3.8"> Python :: 3.8 </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+3.9"> Python :: 3.9 </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+3.10"> Python :: 3.10 </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+Implementation+%3A%3A+CPython"> Python :: Implementation :: CPython </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+Implementation+%3A%3A+PyPy"> Python :: Implementation :: PyPy </a> </li> </ul> </li> <li> <strong>Topic</strong> <ul> <li> <a href="/search/?c=Topic+%3A%3A+Terminals"> Terminals </a> </li> </ul> </li> </ul> </div> </div><div class="sidebar-section" data-ea-publisher="psf" data-ea-type="psf" data-ea-keywords="pypi-sidebar"></div> <div data-html-include="https://pypi.org/_includes/authed/submit-malware-report/colorama"></div> </div> <div class="vertical-tabs__panel"> <!-- mobile menu --> <nav aria-label="Navigation for colorama"> <ul class="vertical-tabs__list" role="tablist"> <li role="tab"> <a id="mobile-description-tab" href="#description" data-project-tabs-target="mobileTab" data-action="project-tabs#onTabClick" class="vertical-tabs__tab vertical-tabs__tab--with-icon vertical-tabs__tab--mobile vertical-tabs__tab--no-top-border vertical-tabs__tab--is-active" aria-selected="true" aria-label="Project description. Focus will be moved to the description."> <i class="fa fa-align-left" aria-hidden="true"></i> Project description </a> </li> <li role="tab"> <a id="mobile-data-tab" href="#data" data-project-tabs-target="mobileTab" data-action="project-tabs#onTabClick" class="vertical-tabs__tab vertical-tabs__tab--with-icon vertical-tabs__tab--mobile" aria-label="Project details. Focus will be moved to the project details."> <i class="fa fa-info-circle" aria-hidden="true"></i> Project details </a> </li> <li role="tab"> <a id="mobile-history-tab" href="#history" data-project-tabs-target="mobileTab" data-action="project-tabs#onTabClick" class="vertical-tabs__tab vertical-tabs__tab--with-icon vertical-tabs__tab--mobile" aria-label="Release history. Focus will be moved to the history panel."> <i class="fa fa-history" aria-hidden="true"></i> Release history </a> </li> <li role="tab"> <a id="mobile-files-tab" href="#files" data-project-tabs-target="mobileTab" data-action="project-tabs#onTabClick" class="vertical-tabs__tab vertical-tabs__tab--with-icon vertical-tabs__tab--mobile" aria-label="Download files. Focus will be moved to the project files."> <i class="fa fa-download" aria-hidden="true"></i> Download files </a> </li> </ul> </nav> <div id="description" data-project-tabs-target="content" class="vertical-tabs__content" role="tabpanel" aria-labelledby="description-tab mobile-description-tab" tabindex="-1"> <h2 class="page-title">Project description</h2> <div class="project-description"> <a href="https://pypi.org/project/colorama/" rel=nofollow> <img alt="Latest Version" src="https://pypi-camo.freetls.fastly.net/9fa4556b3fb4c5f3158ab3e985bd436646b822eb/68747470733a2f2f696d672e736869656c64732e696f2f707970692f762f636f6c6f72616d612e737667"> </a> <a href="https://pypi.org/project/colorama/" rel=nofollow> <img alt="Supported Python versions" src="https://pypi-camo.freetls.fastly.net/dc819d4de68965a780b9a6690d8dc6e569b23268/68747470733a2f2f696d672e736869656c64732e696f2f707970692f707976657273696f6e732f636f6c6f72616d612e737667"> </a> <a href="https://github.com/tartley/colorama/actions/workflows/test.yml" rel=nofollow> <img alt="Build Status" src="https://pypi-camo.freetls.fastly.net/fbb1278e1dc8dba19d793494afab89452ba87fe6/68747470733a2f2f6769746875622e636f6d2f746172746c65792f636f6c6f72616d612f616374696f6e732f776f726b666c6f77732f746573742e796d6c2f62616467652e737667"> </a> <section id=colorama> <h2>Colorama</h2> <p>Makes ANSI escape character sequences (for producing colored terminal text and cursor positioning) work under MS Windows.</p> <p><a href="https://pypi.org/project/colorama/" rel=nofollow>PyPI for releases</a> | <a href="https://github.com/tartley/colorama" rel=nofollow>Github for source</a> | <a href="https://github.com/tartley/colorama/blob/master/ENTERPRISE.md" rel=nofollow>Colorama for enterprise on Tidelift</a></p> <p>If you find Colorama useful, please <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&amp;business=2MZ9D2GMLYCUJ&amp;item_name=Colorama&amp;currency_code=USD" rel=nofollow><img alt="Donate with Paypal" src="https://pypi-camo.freetls.fastly.net/0a6e002416a636e257fe18512353f3a7e0f62f3e/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f692f62746e2f62746e5f646f6e6174655f534d2e676966"></a> to the authors. Thank you!</p> <section id=installation> <h3>Installation</h3> <p>Tested on CPython 2.7, 3.7, 3.8, 3.9 and 3.10 and Pypy 2.7 and 3.8.</p> <p>No requirements other than the standard library.</p> <pre><code>pip<span class=w> </span>install<span class=w> </span>colorama<span class=w> </span><span class=c1># or </span>conda<span class=w> </span>install<span class=w> </span>-c<span class=w> </span>anaconda<span class=w> </span>colorama</code></pre> </section> <section id=description> <h3>Description</h3> <p>ANSI escape character sequences have long been used to produce colored terminal text and cursor positioning on Unix and Macs. Colorama makes this work on Windows, too, by wrapping <span class="docutils literal">stdout</span>, stripping ANSI sequences it finds (which would appear as gobbledygook in the output), and converting them into the appropriate win32 calls to modify the state of the terminal. On other platforms, Colorama does nothing.</p> <p>This has the upshot of providing a simple cross-platform API for printing colored terminal text from Python, and has the happy side-effect that existing applications or libraries which use ANSI sequences to produce colored output on Linux or Macs can now also work on Windows, simply by calling <span class="docutils literal">colorama.just_fix_windows_console()</span> (since v0.4.6) or <span class="docutils literal">colorama.init()</span> (all versions, but may have other side-effects – see below).</p> <p>An alternative approach is to install <span class="docutils literal">ansi.sys</span> on Windows machines, which provides the same behaviour for all applications running in terminals. Colorama is intended for situations where that isn’t easy (e.g., maybe your app doesn’t have an installer.)</p> <p>Demo scripts in the source code repository print some colored text using ANSI sequences. Compare their output under Gnome-terminal’s built in ANSI handling, versus on Windows Command-Prompt using Colorama:</p> <img alt="ANSI sequences on Ubuntu under gnome-terminal." height=357 src="https://pypi-camo.freetls.fastly.net/e962a0c2c164c55efc6047a7e8f5e015b4472efd/68747470733a2f2f6769746875622e636f6d2f746172746c65792f636f6c6f72616d612f7261772f6d61737465722f73637265656e73686f74732f7562756e74752d64656d6f2e706e67" width=661> <img alt="Same ANSI sequences on Windows, using Colorama." height=325 src="https://pypi-camo.freetls.fastly.net/3a7f6c4202dc3fba6235f708e0e145051a903c57/68747470733a2f2f6769746875622e636f6d2f746172746c65792f636f6c6f72616d612f7261772f6d61737465722f73637265656e73686f74732f77696e646f77732d64656d6f2e706e67" width=668> <p>These screenshots show that, on Windows, Colorama does not support ANSI ‘dim text’; it looks the same as ‘normal text’.</p> </section> <section id=usage> <h3>Usage</h3> <section id=initialisation> <h4>Initialisation</h4> <p>If the only thing you want from Colorama is to get ANSI escapes to work on Windows, then run:</p> <pre><code><span class=kn>from</span> <span class=nn>colorama</span> <span class=kn>import</span> <span class=n>just_fix_windows_console</span><span class=w> </span><span class=n>just_fix_windows_console</span><span class=p>()</span></code></pre> <p>If you’re on a recent version of Windows 10 or better, and your stdout/stderr are pointing to a Windows console, then this will flip the magic configuration switch to enable Windows’ built-in ANSI support.</p> <p>If you’re on an older version of Windows, and your stdout/stderr are pointing to a Windows console, then this will wrap <span class="docutils literal">sys.stdout</span> and/or <span class="docutils literal">sys.stderr</span> in a magic file object that intercepts ANSI escape sequences and issues the appropriate Win32 calls to emulate them.</p> <p>In all other circumstances, it does nothing whatsoever. Basically the idea is that this makes Windows act like Unix with respect to ANSI escape handling.</p> <p>It’s safe to call this function multiple times. It’s safe to call this function on non-Windows platforms, but it won’t do anything. It’s safe to call this function when one or both of your stdout/stderr are redirected to a file – it won’t do anything to those streams.</p> <p>Alternatively, you can use the older interface with more features (but also more potential footguns):</p> <pre><code><span class=kn>from</span> <span class=nn>colorama</span> <span class=kn>import</span> <span class=n>init</span><span class=w> </span><span class=n>init</span><span class=p>()</span></code></pre> <p>This does the same thing as <span class="docutils literal">just_fix_windows_console</span>, except for the following differences:</p> <ul class=simple> <li><p>It’s not safe to call <span class="docutils literal">init</span> multiple times; you can end up with multiple layers of wrapping and broken ANSI support.</li> <li><p>Colorama will apply a heuristic to guess whether stdout/stderr support ANSI, and if it thinks they don’t, then it will wrap <span class="docutils literal">sys.stdout</span> and <span class="docutils literal">sys.stderr</span> in a magic file object that strips out ANSI escape sequences before printing them. This happens on all platforms, and can be convenient if you want to write your code to emit ANSI escape sequences unconditionally, and let Colorama decide whether they should actually be output. But note that Colorama’s heuristic is not particularly clever.</li> <li><p><span class="docutils literal">init</span> also accepts explicit keyword args to enable/disable various functionality – see below.</li> </ul> <p>To stop using Colorama before your program exits, simply call <span class="docutils literal">deinit()</span>. This will restore <span class="docutils literal">stdout</span> and <span class="docutils literal">stderr</span> to their original values, so that Colorama is disabled. To resume using Colorama again, call <span class="docutils literal">reinit()</span>; it is cheaper than calling <span class="docutils literal">init()</span> again (but does the same thing).</p> <p>Most users should depend on <span class="docutils literal">colorama &gt;= 0.4.6</span>, and use <span class="docutils literal">just_fix_windows_console</span>. The old <span class="docutils literal">init</span> interface will be supported indefinitely for backwards compatibility, but we don’t plan to fix any issues with it, also for backwards compatibility.</p> </section> <section id=colored-output> <h4>Colored Output</h4> <p>Cross-platform printing of colored text can then be done using Colorama’s constant shorthand for ANSI escape sequences. These are deliberately rudimentary, see below.</p> <pre><code><span class=kn>from</span> <span class=nn>colorama</span> <span class=kn>import</span> <span class=n>Fore</span><span class=p>,</span> <span class=n>Back</span><span class=p>,</span> <span class=n>Style</span><span class=w> </span><span class=nb>print</span><span class=p>(</span><span class=n>Fore</span><span class=o>.</span><span class=n>RED</span> <span class=o>+</span> <span class=s1>'some red text'</span><span class=p>)</span><span class=w> </span><span class=nb>print</span><span class=p>(</span><span class=n>Back</span><span class=o>.</span><span class=n>GREEN</span> <span class=o>+</span> <span class=s1>'and with a green background'</span><span class=p>)</span><span class=w> </span><span class=nb>print</span><span class=p>(</span><span class=n>Style</span><span class=o>.</span><span class=n>DIM</span> <span class=o>+</span> <span class=s1>'and in dim text'</span><span class=p>)</span><span class=w> </span><span class=nb>print</span><span class=p>(</span><span class=n>Style</span><span class=o>.</span><span class=n>RESET_ALL</span><span class=p>)</span><span class=w> </span><span class=nb>print</span><span class=p>(</span><span class=s1>'back to normal now'</span><span class=p>)</span></code></pre> <p>…or simply by manually printing ANSI sequences from your own code:</p> <pre><code><span class=nb>print</span><span class=p>(</span><span class=s1>'</span><span class=se>\033</span><span class=s1>[31m'</span> <span class=o>+</span> <span class=s1>'some red text'</span><span class=p>)</span><span class=w> </span><span class=nb>print</span><span class=p>(</span><span class=s1>'</span><span class=se>\033</span><span class=s1>[39m'</span><span class=p>)</span> <span class=c1># and reset to default color</span></code></pre> <p>…or, Colorama can be used in conjunction with existing ANSI libraries such as the venerable <a href="https://pypi.org/project/termcolor/" rel=nofollow>Termcolor</a> the fabulous <a href="https://pypi.org/project/blessings/" rel=nofollow>Blessings</a>, or the incredible <a href="https://pypi.org/project/rich/" rel=nofollow>_Rich</a>.</p> <p>If you wish Colorama’s Fore, Back and Style constants were more capable, then consider using one of the above highly capable libraries to generate colors, etc, and use Colorama just for its primary purpose: to convert those ANSI sequences to also work on Windows:</p> <p>SIMILARLY, do not send PRs adding the generation of new ANSI types to Colorama. We are only interested in converting ANSI codes to win32 API calls, not shortcuts like the above to generate ANSI characters.</p> <pre><code><span class=kn>from</span> <span class=nn>colorama</span> <span class=kn>import</span> <span class=n>just_fix_windows_console</span><span class=w> </span><span class=kn>from</span> <span class=nn>termcolor</span> <span class=kn>import</span> <span class=n>colored</span><span class=w> </span><span class=c1># use Colorama to make Termcolor work on Windows too</span><span class=w> </span><span class=n>just_fix_windows_console</span><span class=p>()</span><span class=w> </span><span class=c1># then use Termcolor for all colored text output</span><span class=w> </span><span class=nb>print</span><span class=p>(</span><span class=n>colored</span><span class=p>(</span><span class=s1>'Hello, World!'</span><span class=p>,</span> <span class=s1>'green'</span><span class=p>,</span> <span class=s1>'on_red'</span><span class=p>))</span></code></pre> <p>Available formatting constants are:</p> <pre>Fore: BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE, RESET. Back: BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE, RESET. Style: DIM, NORMAL, BRIGHT, RESET_ALL</pre> <p><span class="docutils literal">Style.RESET_ALL</span> resets foreground, background, and brightness. Colorama will perform this reset automatically on program exit.</p> <p>These are fairly well supported, but not part of the standard:</p> <pre>Fore: LIGHTBLACK_EX, LIGHTRED_EX, LIGHTGREEN_EX, LIGHTYELLOW_EX, LIGHTBLUE_EX, LIGHTMAGENTA_EX, LIGHTCYAN_EX, LIGHTWHITE_EX Back: LIGHTBLACK_EX, LIGHTRED_EX, LIGHTGREEN_EX, LIGHTYELLOW_EX, LIGHTBLUE_EX, LIGHTMAGENTA_EX, LIGHTCYAN_EX, LIGHTWHITE_EX</pre> </section> <section id=cursor-positioning> <h4>Cursor Positioning</h4> <p>ANSI codes to reposition the cursor are supported. See <span class="docutils literal">demos/demo06.py</span> for an example of how to generate them.</p> </section> <section id=init-keyword-args> <h4>Init Keyword Args</h4> <p><span class="docutils literal">init()</span> accepts some <span class="docutils literal">**kwargs</span> to override default behaviour.</p> <dl> <dt>init(autoreset=False):</dt> <dd><p>If you find yourself repeatedly sending reset sequences to turn off color changes at the end of every print, then <span class="docutils literal">init(autoreset=True)</span> will automate that:</p> <pre><code><span class=kn>from</span> <span class=nn>colorama</span> <span class=kn>import</span> <span class=n>init</span><span class=w> </span><span class=n>init</span><span class=p>(</span><span class=n>autoreset</span><span class=o>=</span><span class=kc>True</span><span class=p>)</span><span class=w> </span><span class=nb>print</span><span class=p>(</span><span class=n>Fore</span><span class=o>.</span><span class=n>RED</span> <span class=o>+</span> <span class=s1>'some red text'</span><span class=p>)</span><span class=w> </span><span class=nb>print</span><span class=p>(</span><span class=s1>'automatically back to default color again'</span><span class=p>)</span></code></pre> </dd> <dt>init(strip=None):</dt> <dd><p>Pass <span class="docutils literal">True</span> or <span class="docutils literal">False</span> to override whether ANSI codes should be stripped from the output. The default behaviour is to strip if on Windows or if output is redirected (not a tty).</p> </dd> <dt>init(convert=None):</dt> <dd><p>Pass <span class="docutils literal">True</span> or <span class="docutils literal">False</span> to override whether to convert ANSI codes in the output into win32 calls. The default behaviour is to convert if on Windows and output is to a tty (terminal).</p> </dd> <dt>init(wrap=True):</dt> <dd><p>On Windows, Colorama works by replacing <span class="docutils literal">sys.stdout</span> and <span class="docutils literal">sys.stderr</span> with proxy objects, which override the <span class="docutils literal">.write()</span> method to do their work. If this wrapping causes you problems, then this can be disabled by passing <span class="docutils literal">init(wrap=False)</span>. The default behaviour is to wrap if <span class="docutils literal">autoreset</span> or <span class="docutils literal">strip</span> or <span class="docutils literal">convert</span> are True.</p> <p>When wrapping is disabled, colored printing on non-Windows platforms will continue to work as normal. To do cross-platform colored output, you can use Colorama’s <span class="docutils literal">AnsiToWin32</span> proxy directly:</p> <pre><code><span class=kn>import</span> <span class=nn>sys</span><span class=w> </span><span class=kn>from</span> <span class=nn>colorama</span> <span class=kn>import</span> <span class=n>init</span><span class=p>,</span> <span class=n>AnsiToWin32</span><span class=w> </span><span class=n>init</span><span class=p>(</span><span class=n>wrap</span><span class=o>=</span><span class=kc>False</span><span class=p>)</span><span class=w> </span><span class=n>stream</span> <span class=o>=</span> <span class=n>AnsiToWin32</span><span class=p>(</span><span class=n>sys</span><span class=o>.</span><span class=n>stderr</span><span class=p>)</span><span class=o>.</span><span class=n>stream</span><span class=w> </span><span class=c1># Python 2</span><span class=w> </span><span class=nb>print</span> <span class=o>&gt;&gt;</span><span class=n>stream</span><span class=p>,</span> <span class=n>Fore</span><span class=o>.</span><span class=n>BLUE</span> <span class=o>+</span> <span class=s1>'blue text on stderr'</span><span class=w> </span><span class=c1># Python 3</span><span class=w> </span><span class=nb>print</span><span class=p>(</span><span class=n>Fore</span><span class=o>.</span><span class=n>BLUE</span> <span class=o>+</span> <span class=s1>'blue text on stderr'</span><span class=p>,</span> <span class=n>file</span><span class=o>=</span><span class=n>stream</span><span class=p>)</span></code></pre> </dd> </dl> </section> <section id=recognised-ansi-sequences> <h4>Recognised ANSI Sequences</h4> <p>ANSI sequences generally take the form:</p> <pre>ESC [ &lt;param&gt; ; &lt;param&gt; ... &lt;command&gt;</pre> <p>Where <span class="docutils literal">&lt;param&gt;</span> is an integer, and <span class="docutils literal">&lt;command&gt;</span> is a single letter. Zero or more params are passed to a <span class="docutils literal">&lt;command&gt;</span>. If no params are passed, it is generally synonymous with passing a single zero. No spaces exist in the sequence; they have been inserted here simply to read more easily.</p> <p>The only ANSI sequences that Colorama converts into win32 calls are:</p> <pre>ESC [ 0 m # reset all (colors and brightness) ESC [ 1 m # bright ESC [ 2 m # dim (looks same as normal brightness) ESC [ 22 m # normal brightness # FOREGROUND: ESC [ 30 m # black ESC [ 31 m # red ESC [ 32 m # green ESC [ 33 m # yellow ESC [ 34 m # blue ESC [ 35 m # magenta ESC [ 36 m # cyan ESC [ 37 m # white ESC [ 39 m # reset # BACKGROUND ESC [ 40 m # black ESC [ 41 m # red ESC [ 42 m # green ESC [ 43 m # yellow ESC [ 44 m # blue ESC [ 45 m # magenta ESC [ 46 m # cyan ESC [ 47 m # white ESC [ 49 m # reset # cursor positioning ESC [ y;x H # position cursor at x across, y down ESC [ y;x f # position cursor at x across, y down ESC [ n A # move cursor n lines up ESC [ n B # move cursor n lines down ESC [ n C # move cursor n characters forward ESC [ n D # move cursor n characters backward # clear the screen ESC [ mode J # clear the screen # clear the line ESC [ mode K # clear the line</pre> <p>Multiple numeric params to the <span class="docutils literal">'m'</span> command can be combined into a single sequence:</p> <pre>ESC [ 36 ; 45 ; 1 m # bright cyan text on magenta background</pre> <p>All other ANSI sequences of the form <span class="docutils literal">ESC [ &lt;param&gt; ; &lt;param&gt; ... &lt;command&gt;</span> are silently stripped from the output on Windows.</p> <p>Any other form of ANSI sequence, such as single-character codes or alternative initial characters, are not recognised or stripped. It would be cool to add them though. Let me know if it would be useful for you, via the Issues on GitHub.</p> </section> </section> <section id=status-known-problems> <h3>Status &amp; Known Problems</h3> <p>I’ve personally only tested it on Windows XP (CMD, Console2), Ubuntu (gnome-terminal, xterm), and OS X.</p> <p>Some valid ANSI sequences aren’t recognised.</p> <p>If you’re hacking on the code, see <a href=README-hacking.md rel=nofollow>README-hacking.md</a>. ESPECIALLY, see the explanation there of why we do not want PRs that allow Colorama to generate new types of ANSI codes.</p> <p>See outstanding issues and wish-list: <a href="https://github.com/tartley/colorama/issues" rel=nofollow>https://github.com/tartley/colorama/issues</a></p> <p>If anything doesn’t work for you, or doesn’t do what you expected or hoped for, I’d love to hear about it on that issues list, would be delighted by patches, and would be happy to grant commit access to anyone who submits a working patch or two.</p> </section> <section id=license> <h3>License</h3> <p>Copyright Jonathan Hartley &amp; Arnon Yaari, 2013-2020. BSD 3-Clause license; see LICENSE file.</p> </section> <section id=professional-support> <h3>Professional support</h3> <table> <colgroup> <col> <col> </colgroup> <tbody> <tr><td><p><a href="https://tidelift.com/subscription/pkg/pypi-colorama?utm_source=pypi-colorama&amp;utm_medium=referral&amp;utm_campaign=readme" rel=nofollow><img alt=Tidelift src="https://pypi-camo.freetls.fastly.net/bf6e61106a3e4d5fa557a0b930124b6033142f5a/68747470733a2f2f63646e322e68756273706f742e6e65742f68756266732f343030383833382f776562736974652f6c6f676f732f6c6f676f735f666f725f646f776e6c6f61642f546964656c6966745f7072696d6172792d73686f727468616e642d6c6f676f2e706e67"></a></td> <td><p>Professional support for colorama is available as part of the <a href="https://tidelift.com/subscription/pkg/pypi-colorama?utm_source=pypi-colorama&amp;utm_medium=referral&amp;utm_campaign=readme" rel=nofollow>Tidelift Subscription</a>. Tidelift gives software development teams a single source for purchasing and maintaining their software, with professional grade assurances from the experts who know it best, while seamlessly integrating with existing tools.</td> </tr> </tbody> </table> </section> <section id=thanks> <h3>Thanks</h3> <p>See the CHANGELOG for more thanks!</p> <ul class=simple> <li><p>Marc Schlaich (schlamar) for a <span class="docutils literal">setup.py</span> fix for Python2.5.</li> <li><p>Marc Abramowitz, reported &amp; fixed a crash on exit with closed <span class="docutils literal">stdout</span>, providing a solution to issue #7’s setuptools/distutils debate, and other fixes.</li> <li><p>User ‘eryksun’, for guidance on correctly instantiating <span class="docutils literal">ctypes.windll</span>.</li> <li><p>Matthew McCormick for politely pointing out a longstanding crash on non-Win.</li> <li><p>Ben Hoyt, for a magnificent fix under 64-bit Windows.</li> <li><p>Jesse at Empty Square for submitting a fix for examples in the README.</li> <li><p>User ‘jamessp’, an observant documentation fix for cursor positioning.</li> <li><p>User ‘vaal1239’, Dave Mckee &amp; Lackner Kristof for a tiny but much-needed Win7 fix.</li> <li><p>Julien Stuyck, for wisely suggesting Python3 compatible updates to README.</li> <li><p>Daniel Griffith for multiple fabulous patches.</li> <li><p>Oscar Lesta for a valuable fix to stop ANSI chars being sent to non-tty output.</li> <li><p>Roger Binns, for many suggestions, valuable feedback, &amp; bug reports.</li> <li><p>Tim Golden for thought and much appreciated feedback on the initial idea.</li> <li><p>User ‘Zearin’ for updates to the README file.</li> <li><p>John Szakmeister for adding support for light colors</li> <li><p>Charles Merriam for adding documentation to demos</li> <li><p>Jurko for a fix on 64-bit Windows CPython2.5 w/o ctypes</li> <li><p>Florian Bruhin for a fix when stdout or stderr are None</li> <li><p>Thomas Weininger for fixing ValueError on Windows</li> <li><p>Remi Rampin for better Github integration and fixes to the README file</li> <li><p>Simeon Visser for closing a file handle using ‘with’ and updating classifiers to include Python 3.3 and 3.4</li> <li><p>Andy Neff for fixing RESET of LIGHT_EX colors.</li> <li><p>Jonathan Hartley for the initial idea and implementation.</li> </ul> </section> </section> </div> </div> <div id="data" data-project-tabs-target="content" class="vertical-tabs__content" role="tabpanel" aria-labelledby="mobile-data-tab" tabindex="-1"> <h2 class="page-title">Project details</h2> <div class="sidebar-section verified"> <h3 class="sidebar-section__title"> Verified details <i class="fa fa-circle-check check" title="Verified by PyPI on 2022-10-25"></i> </h3> <small><i>These details have been <a href="https://docs.pypi.org/project_metadata/#verified-details">verified by PyPI</a></i></small> <h6>Maintainers</h6> <span class="sidebar-section__maintainer"> <a href="/user/tartley/" aria-label=""> <span class="sidebar-section__user-gravatar"> <img src="https://pypi-camo.freetls.fastly.net/e24f32da34fc6025fe8ffc85dafbf51a48b4692f/68747470733a2f2f7365637572652e67726176617461722e636f6d2f6176617461722f62323530376434373961663935356630356565393935623864356461613661633f73697a653d3530" height="50" width="50" alt="Avatar for tartley from gravatar.com" title="Avatar for tartley from gravatar.com"> </span> <span class="sidebar-section__user-gravatar-text"> tartley </span> </a> </span> <span class="sidebar-section__maintainer"> <a href="/user/wiggin15/" aria-label=""> <span class="sidebar-section__user-gravatar"> <img src="https://pypi-camo.freetls.fastly.net/6a396dcde6d5d92bc641cc188096990e93dbb502/68747470733a2f2f7365637572652e67726176617461722e636f6d2f6176617461722f39306234343630383534626335386237343233653338646138383837633736333f73697a653d3530" height="50" width="50" alt="Avatar for wiggin15 from gravatar.com" title="Avatar for wiggin15 from gravatar.com"> </span> <span class="sidebar-section__user-gravatar-text"> wiggin15 </span> </a> </span> </div> <div class="sidebar-section unverified"> <h3 class="sidebar-section__title">Unverified details</h3> <small><i>These details have <b>not</b> been verified by PyPI</i></small> <h6>Project links</h6> <ul class="vertical-tabs__list"> <li> <a class="vertical-tabs__tab vertical-tabs__tab--with-icon vertical-tabs__tab--condensed" href="https://github.com/tartley/colorama" rel="nofollow"> <i class="fas fa-home" aria-hidden="true"></i>Homepage </a> </li> </ul> <div class="sidebar-section unverified"> <h6>Meta</h6> <ul> <li> <span> <strong>License:</strong> BSD License </span> </li> <li> <span> <strong>Author:</strong> <a href="mailto:tartley@tartley.com">Jonathan Hartley</a> </span> </li> <li class="tags"> <span> <i class="fa fa-tags" aria-hidden="true"></i> <span class="sr-only">Tags</span> <span class="package-keyword"> ansi, </span> <span class="package-keyword"> color, </span> <span class="package-keyword"> colour, </span> <span class="package-keyword"> crossplatform, </span> <span class="package-keyword"> terminal, </span> <span class="package-keyword"> text, </span> <span class="package-keyword"> windows, </span> <span class="package-keyword"> xplatform </span> </span> </li> <li> <span> <strong>Requires:</strong> Python !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*, &gt;=2.7 </span> </li> </ul> </div> <div class="sidebar-section unverified"> <h6 class="sidebar-section__title">Classifiers</h6> <ul class="sidebar-section__classifiers"> <li> <strong>Development Status</strong> <ul> <li> <a href="/search/?c=Development+Status+%3A%3A+5+-+Production%2FStable"> 5 - Production/Stable </a> </li> </ul> </li> <li> <strong>Environment</strong> <ul> <li> <a href="/search/?c=Environment+%3A%3A+Console"> Console </a> </li> </ul> </li> <li> <strong>Intended Audience</strong> <ul> <li> <a href="/search/?c=Intended+Audience+%3A%3A+Developers"> Developers </a> </li> </ul> </li> <li> <strong>License</strong> <ul> <li> <a href="/search/?c=License+%3A%3A+OSI+Approved+%3A%3A+BSD+License"> OSI Approved :: BSD License </a> </li> </ul> </li> <li> <strong>Operating System</strong> <ul> <li> <a href="/search/?c=Operating+System+%3A%3A+OS+Independent"> OS Independent </a> </li> </ul> </li> <li> <strong>Programming Language</strong> <ul> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python"> Python </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+2"> Python :: 2 </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+2.7"> Python :: 2.7 </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+3"> Python :: 3 </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+3.7"> Python :: 3.7 </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+3.8"> Python :: 3.8 </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+3.9"> Python :: 3.9 </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+3.10"> Python :: 3.10 </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+Implementation+%3A%3A+CPython"> Python :: Implementation :: CPython </a> </li> <li> <a href="/search/?c=Programming+Language+%3A%3A+Python+%3A%3A+Implementation+%3A%3A+PyPy"> Python :: Implementation :: PyPy </a> </li> </ul> </li> <li> <strong>Topic</strong> <ul> <li> <a href="/search/?c=Topic+%3A%3A+Terminals"> Terminals </a> </li> </ul> </li> </ul> </div> </div> <br> </div> <div id="history" data-project-tabs-target="content" class="vertical-tabs__content" role="tabpanel" aria-labelledby="history-tab mobile-history-tab" tabindex="-1"> <h2 class="page-title split-layout"> <span>Release history</span> <span class="reset-text margin-top"> <a href="/help/#project-release-notifications">Release notifications</a> | <a href="/rss/project/colorama/releases.xml">RSS feed <i class="fa fa-rss" aria-hidden="true"></i></a> </span> </h2> <div class="release-timeline"> <div class="release release--latest release--current"> <div class="release__meta"> <span class="badge">This version</span> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/blue-cube.572a5bfb.svg"> </div> <a class="card release__card" href="/project/colorama/0.4.6/"> <p class="release__version"> 0.4.6 </p> <p class="release__version-date"> <time datetime="2022-10-25T02:36:20+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Oct 25, 2022 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.4.6rc1/"> <p class="release__version"> 0.4.6rc1 <span class="badge badge--warning"> pre-release </span> </p> <p class="release__version-date"> <time datetime="2022-10-19T18:44:46+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Oct 19, 2022 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.4.5/"> <p class="release__version"> 0.4.5 </p> <p class="release__version-date"> <time datetime="2022-06-16T12:34:45+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Jun 16, 2022 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.4.5rc1/"> <p class="release__version"> 0.4.5rc1 <span class="badge badge--warning"> pre-release </span> </p> <p class="release__version-date"> <time datetime="2022-06-15T16:16:35+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Jun 15, 2022 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.4.4/"> <p class="release__version"> 0.4.4 </p> <p class="release__version-date"> <time datetime="2020-10-13T02:42:26+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Oct 13, 2020 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.4.3/"> <p class="release__version"> 0.4.3 </p> <p class="release__version-date"> <time datetime="2019-12-06T20:46:31+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Dec 6, 2019 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.4.2/"> <p class="release__version"> 0.4.2 <span class="badge badge--danger"> yanked </span> </p> <p class="release__version-date"> <time datetime="2019-12-06T20:14:37+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Dec 6, 2019 </time> </p> <div class="callout-block callout-block--danger release__yanked-reason"> <p>Reason this release was yanked:</p> <p>Bad build, missing files, will not install</p> </div> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.4.1/"> <p class="release__version"> 0.4.1 </p> <p class="release__version-date"> <time datetime="2018-11-25T12:14:09+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Nov 25, 2018 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.4.0/"> <p class="release__version"> 0.4.0 </p> <p class="release__version-date"> <time datetime="2018-10-10T14:47:13+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Oct 10, 2018 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.3.9/"> <p class="release__version"> 0.3.9 </p> <p class="release__version-date"> <time datetime="2017-04-27T07:12:10+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Apr 27, 2017 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.3.8/"> <p class="release__version"> 0.3.8 </p> <p class="release__version-date"> <time datetime="2017-04-23T09:29:18+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Apr 23, 2017 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.3.7/"> <p class="release__version"> 0.3.7 </p> <p class="release__version-date"> <time datetime="2016-03-08T09:16:03+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Mar 8, 2016 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.3.6/"> <p class="release__version"> 0.3.6 </p> <p class="release__version-date"> <time datetime="2016-01-09T19:05:11+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Jan 9, 2016 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.3.5/"> <p class="release__version"> 0.3.5 </p> <p class="release__version-date"> <time datetime="2015-12-12T21:41:46+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Dec 12, 2015 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.3.4/"> <p class="release__version"> 0.3.4 </p> <p class="release__version-date"> <time datetime="2015-12-12T21:27:22+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Dec 12, 2015 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.3.3/"> <p class="release__version"> 0.3.3 </p> <p class="release__version-date"> <time datetime="2015-01-06T10:43:26+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Jan 6, 2015 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.3.2/"> <p class="release__version"> 0.3.2 </p> <p class="release__version-date"> <time datetime="2014-09-03T22:12:10+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Sep 3, 2014 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.3.1/"> <p class="release__version"> 0.3.1 </p> <p class="release__version-date"> <time datetime="2014-04-19T23:08:14+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Apr 19, 2014 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.3.0/"> <p class="release__version"> 0.3.0 </p> <p class="release__version-date"> <time datetime="2014-04-17T22:21:51+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Apr 17, 2014 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.2.7/"> <p class="release__version"> 0.2.7 </p> <p class="release__version-date"> <time datetime="2013-09-26T10:05:12+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Sep 26, 2013 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.2.6/"> <p class="release__version"> 0.2.6 </p> <p class="release__version-date"> <time datetime="2013-09-21T10:12:59+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Sep 21, 2013 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.2.5/"> <p class="release__version"> 0.2.5 </p> <p class="release__version-date"> <time datetime="2013-06-15T11:14:55+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Jun 15, 2013 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.2.4/"> <p class="release__version"> 0.2.4 </p> <p class="release__version-date"> <time datetime="2011-06-25T10:18:19+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Jun 25, 2011 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.2.3/"> <p class="release__version"> 0.2.3 </p> <p class="release__version-date"> <time datetime="2011-06-20T11:49:14+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Jun 20, 2011 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.2.2/"> <p class="release__version"> 0.2.2 </p> <p class="release__version-date"> <time datetime="2011-06-20T11:33:32+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Jun 20, 2011 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.2.1/"> <p class="release__version"> 0.2.1 </p> <p class="release__version-date"> <time datetime="2011-06-19T20:19:57+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Jun 19, 2011 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.2.0/"> <p class="release__version"> 0.2.0 </p> <p class="release__version-date"> <time datetime="2011-06-19T18:43:12+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Jun 19, 2011 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.18/"> <p class="release__version"> 0.1.18 </p> <p class="release__version-date"> <time datetime="2010-07-16T10:46:38+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Jul 16, 2010 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.17/"> <p class="release__version"> 0.1.17 </p> <p class="release__version-date"> <time datetime="2010-07-06T20:18:10+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Jul 6, 2010 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.16/"> <p class="release__version"> 0.1.16 </p> <p class="release__version-date"> <time datetime="2010-06-23T21:14:40+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Jun 23, 2010 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.15/"> <p class="release__version"> 0.1.15 </p> <p class="release__version-date"> <time datetime="2010-06-23T18:36:04+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Jun 23, 2010 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.14/"> <p class="release__version"> 0.1.14 </p> <p class="release__version-date"> <time datetime="2010-05-18T12:46:58+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> May 18, 2010 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.13/"> <p class="release__version"> 0.1.13 </p> <p class="release__version-date"> <time datetime="2010-05-18T12:27:17+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> May 18, 2010 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.12/"> <p class="release__version"> 0.1.12 </p> <p class="release__version-date"> <time datetime="2010-05-17T22:59:58+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> May 17, 2010 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.11/"> <p class="release__version"> 0.1.11 </p> <p class="release__version-date"> <time datetime="2010-05-17T22:20:29+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> May 17, 2010 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.10/"> <p class="release__version"> 0.1.10 </p> <p class="release__version-date"> <time datetime="2010-05-17T10:33:52+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> May 17, 2010 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.9/"> <p class="release__version"> 0.1.9 </p> <p class="release__version-date"> <time datetime="2010-05-16T23:19:02+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> May 16, 2010 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.8/"> <p class="release__version"> 0.1.8 </p> <p class="release__version-date"> <time datetime="2010-05-03T21:17:34+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> May 3, 2010 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.7/"> <p class="release__version"> 0.1.7 </p> <p class="release__version-date"> <time datetime="2010-04-29T00:14:43+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Apr 29, 2010 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.6/"> <p class="release__version"> 0.1.6 </p> <p class="release__version-date"> <time datetime="2010-04-27T11:06:21+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Apr 27, 2010 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.5/"> <p class="release__version"> 0.1.5 </p> <p class="release__version-date"> <time datetime="2010-04-20T19:13:47+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Apr 20, 2010 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.4/"> <p class="release__version"> 0.1.4 </p> <p class="release__version-date"> <time datetime="2010-04-20T16:12:00+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Apr 20, 2010 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.3/"> <p class="release__version"> 0.1.3 </p> <p class="release__version-date"> <time datetime="2010-04-20T13:46:21+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Apr 20, 2010 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.2/"> <p class="release__version"> 0.1.2 </p> <p class="release__version-date"> <time datetime="2010-04-20T09:16:33+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Apr 20, 2010 </time> </p> </a> </div> <div class="release"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1.1/"> <p class="release__version"> 0.1.1 </p> <p class="release__version-date"> <time datetime="2010-04-20T00:20:35+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Apr 20, 2010 </time> </p> </a> </div> <div class="release release--oldest"> <div class="release__meta"> </div> <div class="release__graphic"> <div class="release__line"></div> <img class="release__node" alt="" src="https://pypi.org/static/images/white-cube.2351a86c.svg"> </div> <a class="card release__card" href="/project/colorama/0.1/"> <p class="release__version"> 0.1 </p> <p class="release__version-date"> <time datetime="2010-04-20T00:02:16+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Apr 20, 2010 </time> </p> </a> </div> </div> </div> <div id="files" data-project-tabs-target="content" class="vertical-tabs__content" role="tabpanel" aria-labelledby="files-tab mobile-files-tab" tabindex="-1"> <h2 class="page-title">Download files</h2> <p>Download the file for your platform. If you're not sure which to choose, learn more about <a href="https://packaging.python.org/tutorials/installing-packages/" title="External link" target="_blank" rel="noopener">installing packages</a>.</p> <h3> Source Distribution </h3> <div class="file"> <div class="file__graphic"> <i class="far fa-file" aria-hidden="true"></i> </div> <div class="card file__card"> <a href="https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz"> colorama-0.4.6.tar.gz </a> (27.7 kB <a href="#colorama-0.4.6.tar.gz" data-project-tabs-target="tab" data-action="project-tabs#onTabClick">view details</a>) <p class="file__meta"> Uploaded <time datetime="2022-10-25T02:36:22+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Oct 25, 2022 </time> <code>Source</code> </p> </div> </div> <h3> Built Distribution </h3> <div class="file"> <div class="file__graphic"> <i class="far fa-file" aria-hidden="true"></i> </div> <div class="card file__card"> <a href="https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl"> colorama-0.4.6-py2.py3-none-any.whl </a> (25.3 kB <a href="#colorama-0.4.6-py2.py3-none-any.whl" data-project-tabs-target="tab" data-action="project-tabs#onTabClick">view details</a>) <p class="file__meta"> Uploaded <time datetime="2022-10-25T02:36:20+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Oct 25, 2022 </time> <code>Python 2</code> <code>Python 3</code> </p> </div> </div> </div> <div id="colorama-0.4.6.tar.gz" data-project-tabs-target="content" class="vertical-tabs__content" role="tabpanel" aria-labelledby="file-tab mobile-file-tab" tabindex="-1"> <h2 class="page-title">File details</h2> <p>Details for the file <code>colorama-0.4.6.tar.gz</code>.</p> <h3>File metadata</h3> <div> <ul> <li> Download URL: <a href="https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz"> colorama-0.4.6.tar.gz </a> </li> <li>Upload date: <time datetime="2022-10-25T02:36:22+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Oct 25, 2022 </time></li> <li>Size: 27.7 kB</li> <li>Tags: Source</li> <li> Uploaded using Trusted Publishing? No </li> <li>Uploaded via: twine/4.0.1 CPython/3.10.6</li> </ul> </div> <h3>File hashes</h3> <div> <table class="table table--hashes"> <caption class="sr-only">Hashes for colorama-0.4.6.tar.gz</caption> <thead> <tr> <th scope="col">Algorithm</th> <th scope="col">Hash digest</th> <th></th> </tr> </thead> <tbody> <tr data-controller="clipboard"> <th scope="row">SHA256</th> <td><code data-clipboard-target="source">08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44</code></td> <td class="table__align-right"> <button type="button" class="button button--small copy-tooltip copy-tooltip-w" data-action="clipboard#copy" data-clipboard-target="tooltip" data-clipboard-tooltip-value="Copy to clipboard"> Copy </button> </td> </tr> <tr data-controller="clipboard"> <th scope="row">MD5</th> <td><code data-clipboard-target="source">11fe1cbf8299798551ac88f824ea11c4</code></td> <td class="table__align-right"> <button type="button" class="button button--small copy-tooltip copy-tooltip-w" data-action="clipboard#copy" data-clipboard-target="tooltip" data-clipboard-tooltip-value="Copy to clipboard"> Copy </button> </td> </tr> <tr data-controller="clipboard"> <th scope="row">BLAKE2b-256</th> <td><code data-clipboard-target="source">d8536f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4</code></td> <td class="table__align-right"> <button type="button" class="button button--small copy-tooltip copy-tooltip-w" data-action="clipboard#copy" data-clipboard-target="tooltip" data-clipboard-tooltip-value="Copy to clipboard"> Copy </button> </td> </tr> </tbody> </table> <p> <a href="https://pip.pypa.io/en/stable/topics/secure-installs/#hash-checking-mode" title="External link" target="_blank" rel="noopener">See more details on using hashes here.</a> </p> </div> </div> <div id="colorama-0.4.6-py2.py3-none-any.whl" data-project-tabs-target="content" class="vertical-tabs__content" role="tabpanel" aria-labelledby="file-tab mobile-file-tab" tabindex="-1"> <h2 class="page-title">File details</h2> <p>Details for the file <code>colorama-0.4.6-py2.py3-none-any.whl</code>.</p> <h3>File metadata</h3> <div> <ul> <li> Download URL: <a href="https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl"> colorama-0.4.6-py2.py3-none-any.whl </a> </li> <li>Upload date: <time datetime="2022-10-25T02:36:20+0000" data-controller="localized-time" data-localized-time-relative="true" data-localized-time-show-time="false"> Oct 25, 2022 </time></li> <li>Size: 25.3 kB</li> <li>Tags: Python 2, Python 3</li> <li> Uploaded using Trusted Publishing? No </li> <li>Uploaded via: twine/4.0.1 CPython/3.10.6</li> </ul> </div> <h3>File hashes</h3> <div> <table class="table table--hashes"> <caption class="sr-only">Hashes for colorama-0.4.6-py2.py3-none-any.whl</caption> <thead> <tr> <th scope="col">Algorithm</th> <th scope="col">Hash digest</th> <th></th> </tr> </thead> <tbody> <tr data-controller="clipboard"> <th scope="row">SHA256</th> <td><code data-clipboard-target="source">4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6</code></td> <td class="table__align-right"> <button type="button" class="button button--small copy-tooltip copy-tooltip-w" data-action="clipboard#copy" data-clipboard-target="tooltip" data-clipboard-tooltip-value="Copy to clipboard"> Copy </button> </td> </tr> <tr data-controller="clipboard"> <th scope="row">MD5</th> <td><code data-clipboard-target="source">3fc7a89530d68d7ea231ebe779c0db9c</code></td> <td class="table__align-right"> <button type="button" class="button button--small copy-tooltip copy-tooltip-w" data-action="clipboard#copy" data-clipboard-target="tooltip" data-clipboard-tooltip-value="Copy to clipboard"> Copy </button> </td> </tr> <tr data-controller="clipboard"> <th scope="row">BLAKE2b-256</th> <td><code data-clipboard-target="source">d1d63965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221</code></td> <td class="table__align-right"> <button type="button" class="button button--small copy-tooltip copy-tooltip-w" data-action="clipboard#copy" data-clipboard-target="tooltip" data-clipboard-tooltip-value="Copy to clipboard"> Copy </button> </td> </tr> </tbody> </table> <p> <a href="https://pip.pypa.io/en/stable/topics/secure-installs/#hash-checking-mode" title="External link" target="_blank" rel="noopener">See more details on using hashes here.</a> </p> </div> </div> </div> </div> </div> </div> </main> <footer class="footer"> <div class="footer__logo"> <img src="/static/images/white-cube.2351a86c.svg" alt="" class="-js-white-cube"> </div> <div class="footer__menus"> <div class="footer__menu"> <h2>Help</h2> <nav aria-label="Help navigation"> <ul> <li><a href="https://packaging.python.org/tutorials/installing-packages/" title="External link" target="_blank" rel="noopener">Installing packages</a></li> <li><a href="https://packaging.python.org/tutorials/packaging-projects/" title="External link" target="_blank" rel="noopener">Uploading packages</a></li> <li><a href="https://packaging.python.org/" title="External link" target="_blank" rel="noopener">User guide</a></li> <li><a href="https://www.python.org/dev/peps/pep-0541/" title="External link" target="_blank" rel="noopener">Project name retention</a></li> <li><a href="/help/">FAQs</a></li> </ul> </nav> </div> <div class="footer__menu"> <h2>About PyPI</h2> <nav aria-label="About PyPI navigation"> <ul> <li><a href="https://blog.pypi.org" title="External link" target="_blank" rel="noopener">PyPI Blog</a></li> <li><a href="https://dtdg.co/pypi" title="External link" target="_blank" rel="noopener">Infrastructure dashboard</a></li> <li><a href="/stats/">Statistics</a></li> <li><a href="/trademarks/">Logos & trademarks</a></li> <li><a href="/sponsors/">Our sponsors</a></li> </ul> </nav> </div> <div class="footer__menu"> <h2>Contributing to PyPI</h2> <nav aria-label="How to contribute navigation"> <ul> <li><a href="/help/#feedback">Bugs and feedback</a></li> <li><a href="https://github.com/pypi/warehouse" title="External link" target="_blank" rel="noopener">Contribute on GitHub</a></li> <li><a href="https://hosted.weblate.org/projects/pypa/warehouse/" title="External link" target="_blank" rel="noopener">Translate PyPI</a></li> <li><a href="/sponsors/">Sponsor PyPI</a></li> <li><a href="https://github.com/pypi/warehouse/graphs/contributors" title="External link" target="_blank" rel="noopener">Development credits</a></li> </ul> </nav> </div> <div class="footer__menu"> <h2>Using PyPI</h2> <nav aria-label="Using PyPI navigation"> <ul> <li><a href="https://policies.python.org/pypi.org/Terms-of-Service/" title="External link" target="_blank" rel="noopener">Terms of Service</a></li> <li><a href="/security/">Report security issue</a></li> <li><a href="https://policies.python.org/python.org/code-of-conduct/" title="External link" target="_blank" rel="noopener">Code of conduct</a></li> <li><a href="https://policies.python.org/pypi.org/Privacy-Notice/" title="External link" target="_blank" rel="noopener">Privacy Notice</a></li> <li><a href="https://policies.python.org/pypi.org/Acceptable-Use-Policy/" title="External link" target="_blank" rel="noopener">Acceptable Use Policy</a></li> </ul> </nav> </div> </div> <hr class="footer__divider"> <div class="footer__text"> <p>Status:<a href="https://status.python.org/" title="External link" target="_blank" rel="noopener"> <span data-statuspage-domain="https://2p66nmmycsj3.statuspage.io">all systems operational</span></a> </p> <p> Developed and maintained by the Python community, for the Python community. <br> <a href="https://donate.pypi.org">Donate today!</a> </p> <p> "PyPI", "Python Package Index", and the blocks logos are registered <a href="/trademarks/">trademarks</a> of the <a href="https://www.python.org/psf-landing" target="_blank" rel="noopener">Python Software Foundation</a>.<br> </p> <p> © 2025 <a href="https://www.python.org/psf-landing/" title="External link" target="_blank" rel="noopener">Python Software Foundation</a><br> <a href="/sitemap/">Site map</a> </p> </div> <div class="centered hide-on-desktop"> <button type="button" class="button button--switch-to-desktop hidden" data-viewport-toggle-target="switchToDesktop" data-action="viewport-toggle#switchToDesktop"> Switch to desktop version </button> </div> </footer> <div class="language-switcher"> <form action="/locale/"> <ul> <li> <button class="language-switcher__selected" name="locale_id" value="en" type="submit" > English </button> </li> <li> <button name="locale_id" value="es" type="submit" > español </button> </li> <li> <button name="locale_id" value="fr" type="submit" > français </button> </li> <li> <button name="locale_id" value="ja" type="submit" > 日本語 </button> </li> <li> <button name="locale_id" value="pt_BR" type="submit" > português (Brasil) </button> </li> <li> <button name="locale_id" value="uk" type="submit" > українська </button> </li> <li> <button name="locale_id" value="el" type="submit" > Ελληνικά </button> </li> <li> <button name="locale_id" value="de" type="submit" > Deutsch </button> </li> <li> <button name="locale_id" value="zh_Hans" type="submit" > 中文 (简体) </button> </li> <li> <button name="locale_id" value="zh_Hant" type="submit" > 中文 (繁體) </button> </li> <li> <button name="locale_id" value="ru" type="submit" > русский </button> </li> <li> <button name="locale_id" value="he" type="submit" > עברית </button> </li> <li> <button name="locale_id" value="eo" type="submit" > Esperanto </button> </li> <li> <button name="locale_id" value="ko" type="submit" > 한국어 </button> </li> </ul> </form> </div> <div class="sponsors"> <p class="sponsors__title">Supported by</p> <div class="sponsors__divider"></div> <a class="sponsors__sponsor" target="_blank" rel="noopener" href="https://aws.amazon.com/"> <img class=sponsors__image src="https://pypi-camo.freetls.fastly.net/ed7074cadad1a06f56bc520ad9bd3e00d0704c5b/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f707970692d6173736574732f73706f6e736f726c6f676f732f6177732d77686974652d6c6f676f2d7443615473387a432e706e67" alt=AWS loading=lazy> <span class="sponsors__name">AWS</span> <span class="sponsors__service"> Cloud computing and Security Sponsor </span> </a> <a class="sponsors__sponsor" target="_blank" rel="noopener" href="https://www.datadoghq.com/"> <img class=sponsors__image src="https://pypi-camo.freetls.fastly.net/8855f7c063a3bdb5b0ce8d91bfc50cf851cc5c51/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f707970692d6173736574732f73706f6e736f726c6f676f732f64617461646f672d77686974652d6c6f676f2d6668644c4e666c6f2e706e67" alt=Datadog loading=lazy> <span class="sponsors__name">Datadog</span> <span class="sponsors__service"> Monitoring </span> </a> <a class="sponsors__sponsor" target="_blank" rel="noopener" href="https://www.fastly.com/"> <img class=sponsors__image src="https://pypi-camo.freetls.fastly.net/df6fe8829cbff2d7f668d98571df1fd011f36192/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f707970692d6173736574732f73706f6e736f726c6f676f732f666173746c792d77686974652d6c6f676f2d65684d3077735f6f2e706e67" alt=Fastly loading=lazy> <span class="sponsors__name">Fastly</span> <span class="sponsors__service"> CDN </span> </a> <a class="sponsors__sponsor" target="_blank" rel="noopener" href="https://careers.google.com/"> <img class=sponsors__image src="https://pypi-camo.freetls.fastly.net/420cc8cf360bac879e24c923b2f50ba7d1314fb0/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f707970692d6173736574732f73706f6e736f726c6f676f732f676f6f676c652d77686974652d6c6f676f2d616734424e3774332e706e67" alt=Google loading=lazy> <span class="sponsors__name">Google</span> <span class="sponsors__service"> Download Analytics </span> </a> <a class="sponsors__sponsor" target="_blank" rel="noopener" href="https://www.pingdom.com/"> <img class=sponsors__image src="https://pypi-camo.freetls.fastly.net/d01053c02f3a626b73ffcb06b96367fdbbf9e230/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f707970692d6173736574732f73706f6e736f726c6f676f732f70696e67646f6d2d77686974652d6c6f676f2d67355831547546362e706e67" alt=Pingdom loading=lazy> <span class="sponsors__name">Pingdom</span> <span class="sponsors__service"> Monitoring </span> </a> <a class="sponsors__sponsor" target="_blank" rel="noopener" href="https://getsentry.com/for/python"> <img class=sponsors__image src="https://pypi-camo.freetls.fastly.net/67af7117035e2345bacb5a82e9aa8b5b3e70701d/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f707970692d6173736574732f73706f6e736f726c6f676f732f73656e7472792d77686974652d6c6f676f2d4a2d6b64742d706e2e706e67" alt=Sentry loading=lazy> <span class="sponsors__name">Sentry</span> <span class="sponsors__service"> Error logging </span> </a> <a class="sponsors__sponsor" target="_blank" rel="noopener" href="https://statuspage.io"> <img class=sponsors__image src="https://pypi-camo.freetls.fastly.net/b611884ff90435a0575dbab7d9b0d3e60f136466/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f707970692d6173736574732f73706f6e736f726c6f676f732f737461747573706167652d77686974652d6c6f676f2d5467476c6a4a2d502e706e67" alt=StatusPage loading=lazy> <span class="sponsors__name">StatusPage</span> <span class="sponsors__service"> Status page </span> </a> </div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10