We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm stuck using Windows :(for work).
The ANSI escape character sequences are printed in Windows cmd.exe when outputting to stderr.
#test.py import daiquiri daiquiri.setup() logger = daiquiri.getLogger() logger.error("something went wrong")
I can workaround using colorama (the library that IPython uses).
#test_colour.py import colorama colorama.init() import daiquiri daiquiri.setup() logger = daiquiri.getLogger() logger.error("something went wrong")
Colours also work when script is run using ipython as colorama is being used automatically (i.e. ipython test.py).
ipython test.py
Is there a way to tell daiquiri not to output colour escape chars? Even better ; ), would you consider using colorama as an optional extra?
The text was updated successfully, but these errors were encountered:
Oh we should definitely switch to colorama. @blakev maybe you should take a look into that for https://github.com/jd/daiquiri/pull/9 ?
Sorry, something went wrong.
For sure, if you're not against adding the dependency.
No, all good for me. Worst thing we could make it optional, but well. It's a common use case.
Once colorama is used, you can document that Windows is supported in setup.cfg.
setup.cfg
No branches or pull requests
I'm stuck using Windows :(for work).
The ANSI escape character sequences are printed in Windows cmd.exe when outputting to stderr.
I can workaround using colorama (the library that IPython uses).
Colours also work when script is run using ipython as colorama is being used automatically (i.e.
ipython test.py
).Is there a way to tell daiquiri not to output colour escape chars?
Even better ; ), would you consider using colorama as an optional extra?
The text was updated successfully, but these errors were encountered: