Commit Graph

339 Commits

Author SHA1 Message Date
Kentaro Wada 34ec848479 Support clint.textui.max_width as context manager 2015-09-11 04:28:12 +09:00
Jason Piper 2bd5aef5bc v0.5.1 v0.5.1 2015-08-26 00:11:27 +08:00
Jason Piper a47ed4f711 Merge pull request #147 from wkentaro/fix-max-width-for-colored-text
Fix wrong line width calculation in max_width for colored text
2015-08-26 00:06:55 +08:00
Kentaro Wada d0a5237afe Update AUTHORS 2015-08-26 00:58:06 +09:00
Kentaro Wada d6cb52f8b3 Fix wrong line width calculation in max_width for colored text 2015-08-26 00:58:01 +09:00
Jason Piper fa79d0d4ea v0.5.0 v0.5.0 2015-08-25 22:07:27 +08:00
kennethreitz 140d85898d Merge pull request #134 from dstrohl/master
Added option prompt
2015-01-09 13:40:32 -05:00
kennethreitz 93d10a8acb Merge pull request #132 from jonasstein/master
Update setup.py
2015-01-09 13:39:38 -05:00
kennethreitz 9392b77dcd Merge pull request #133 from bahattincinic/readme
Typo in readme example ref #115
2015-01-09 13:39:30 -05:00
kennethreitz 1162b46f0b Merge pull request #136 from hickford/patch-2
Clarify Python version support
2015-01-09 13:39:21 -05:00
Jason Piper 82753f5172 Merge pull request #135 from hickford/patch-1
Fix classifiers not appearing on PyPI
2015-01-07 21:13:17 +00:00
Matt Hickford 714d06ecfa Clarify Python version support
Tested Python 3.3 and 3.4 at https://travis-ci.org/hickford/clint/builds/46098963
2015-01-06 17:55:55 +00:00
Matt Hickford c391eae023 Fix classifiers not appearing on PyPI
The classifiers weren't appearing on PyPI. https://pypi.python.org/pypi/clint/

This usually fixes it.
2015-01-06 17:46:37 +00:00
dstrohl 1c1f1c93f9 Added option prompt 2015-01-02 21:32:42 -08:00
Bahattin Cinic f06e164fc6 Typo in readme example ref #115 2015-01-02 23:57:17 +02:00
Jonas Stein a226b3f2dc Update setup.py
clint = "Command Line Interface Tools" tells me the README
2014-12-27 18:54:20 +01:00
Jason Piper e3f283ed6e fix gitignore and docs 2014-10-19 20:30:39 +01:00
Jason Piper 6a417e5bdf v0.4.1 v0.4.1 2014-10-12 00:10:07 +01:00
Jason Piper 7431c17fe4 Decision to hide must be at runtime, not at import 2014-10-11 23:57:59 +01:00
Jason Piper 30da40376e v0.4.0 v0.4.0 2014-10-11 23:32:10 +01:00
Jason Piper 9153edaba1 Merge branch 'master' of https://github.com/kennethreitz/clint 2014-10-11 23:25:56 +01:00
Jason Piper c4cf340284 More python 3 fixes 2014-10-11 23:25:18 +01:00
Jason Piper 137ba12a10 Merge pull request #124 from alunduil/include-docs-in-sdist
Include docs in sdist
2014-10-11 23:06:23 +01:00
Alex Brandt 29c1ea82ff Add the documentation to the sdist tarball.
Currently the documentation is not included in the sdist provided by
PyPi due to this missing Manifest line.
2014-10-07 10:54:03 -05:00
Alex Brandt 2982cefb91 Add an ignore for the _build subdirectories.
The build subdirectories are only used to house generated documentation
and typically shouldn't be committed.
2014-10-07 10:53:30 -05:00
Alex Brandt f2bcc93760 remove buildable artifacts from documentation
The _build directory contains documentation artifacts that should be
generated by a sphinx build and typically should not be committed.
2014-10-07 10:51:50 -05:00
Jason Piper 52e7cb8a7d Merge pull request #123 from lyndsysimon/python3
Fix syntax error prevent installation in Python 3.x
2014-09-13 09:42:28 +01:00
Lyndsy Simon 8ef067958d Fix syntax error prevent installation in Python 3.x
An exception handled in textui.prompt was being handled using the old-style
`except Exception, e:` syntax. I've updated this, but specifically have not
addressed the potential issue of catching a bare exception.
2014-09-12 13:24:50 -04:00
Jason Piper 6dbc68df5b Merge pull request #118 from thenovices/master
Display elapsed time when the progress bar is complete
2014-08-09 10:56:30 +01:00
Jason Piper 6aadd5ad8b Merge pull request #114 from aeby/master
Add a simple query system
2014-08-09 10:54:14 +01:00
Jason Piper 0aa2ea4b18 Merge pull request #116 from jta/master
Always dedent when leaving indent context manager.
2014-08-09 10:52:48 +01:00
Brandon Liu e93a6a5ee4 Update AUTHORS 2014-08-08 23:46:31 -04:00
Brandon Liu 6e32222d3c Display elapsed time when the progress bar is complete 2014-08-08 23:33:30 -04:00
João Taveira Araújo 7ee2ebfa7d Always dedent when leaving indent context manager. 2014-07-04 18:45:19 +01:00
Reto Aebersold b99f79c98e Add a simple query system
- Extend clint.textui.prompt with a query function.
- Add clint.textui.validators to validate the user input.
- Add a prompt example showing different usages.
- Update the README to demo the query function.
2014-05-08 17:18:10 -06:00
Jason Piper df7b9594a4 Merge pull request #113 from mccartney/master
Fixed 404 link to AUTHORS
2014-04-28 07:38:11 +01:00
Grzegorz Olędzki a00621ed59 Fixed link to AUTHORS 2014-04-25 09:59:35 +02:00
Grzegorz Olędzki cf4b06cf4e Fixed link to AUTHORS 2014-04-25 09:58:14 +02:00
Jason Piper 57955b9156 Pushing 0.3.7 to pypi v0.3.7 2014-04-17 16:05:53 +01:00
Jason Piper f1ab574413 Merge pull request #106 from joemiller/features/force_color
if env var CLINT_FORCE_COLOR is set, always output color codes
2014-03-23 10:36:55 +00:00
Jason Piper 2aff70618c Merge pull request #111 from jezdez/fix-yn
Fixed the prompt.yn function to work on Python3.
2014-03-23 10:36:04 +00:00
Jason Piper 4b7688b220 Merge pull request #110 from infamy/master
Fixed bold issue
2014-03-23 10:35:03 +00:00
Jannis Leidel 03731d6ef2 Fixed the prompt.yn function to work on Python3. 2014-03-23 11:31:59 +01:00
infamy 8a2aed6c32 Fixed bold issue
Bold would get "stuck" on in powershell/cmd prompt.
2014-03-19 22:19:51 -07:00
joe miller 98cab56e97 if env var CLINT_FORCE_COLOR is set, always output color codes even if stdout is not a tty 2014-03-14 16:58:06 +00:00
Jason Piper 13df32316f 0.3.5 v0.3.5 2014-03-14 11:35:35 +00:00
Jason Piper 93c3f9a4e1 Merge pull request #105 from gazpachoking/colored_bytes
ColoredString doesn't attempt to decode explicitly given bytes in python 2
2014-03-14 11:27:31 +00:00
Jason Piper 9f14dbb6c5 Merge pull request #103 from jric/master
Ability to update progress bar in non-linear fashion.
2014-03-14 11:26:30 +00:00
Chase Sterling 0e0284f967 ColoredString doesn't attempt to decode explicitly given bytes in python 2 2014-02-27 23:47:59 -05:00
Joshua Richardson c5dbe0708e Extended .gitignore. 2014-02-21 11:26:11 -08:00