autopage
A library to provide automatic paging for console output
0.6.0
1.5M downloads/mo
#3885 most downloaded on PyPI
zaneb/autopage
What this package is like to depend on
Last release 6 months ago
30 Jan 2026
Ships unpredictably
gaps range from 2 weeks to 2.3 years
This project publishes no release notes
the list below is its commits, not an announcement
Nothing withdrawn
no release was ever pulled
5 years old
11 releases · first in 2021
1 release in the last 12 months
see the full history below
Release timeline
11 releases · Apr 2021 to Jan 2026Releases
latest 11-
0.6.030 Jan 2026Commits, not release notes
This project publishes no release notes. Between
v0.5.2andv0.6.0there were 17 commits, 16 of them substantive:- README: Update copyright date
- README: Mention EPEL 9 packaging
- tox.ini: Add posargs to commands
- Test with Python 3.13
- Test with Python 3.14
- Handle PEP 540 UTF-8 Mode
- Test with Python 3.15
- Fix test dependencies for Python 3.8 and 3.9
- README: Update copyright date
- tox: Allow later versions of mypy in tests
- Fix argparse with Python 3.15a2
- argparse: Respect 'color' setting of ArgumentParser in Python 3.14
- argparse: Disable color output when appropriate
- argparse: Pass original output stream to _get_formatter()
- argparse: Disable our own colorization from Python 3.14
- Allow consumer to provide a different default error code
-
0.5.216 Oct 2023Commits, not release notes
This project publishes no release notes. Between
v0.5.1andv0.5.2there were 18 commits, 17 of them substantive:- Test on Python 3.11
- Depend on fixtures[streams] for tox tests
- README: fix module paths
- tox: pin python version for mypy
- Handle non-integer SystemExit codes
- Fix signal handler type in unit tests
- Use more recent mypy
- tox: Fix dependencies for py36 environment
- integration tests: Prevent hang when tests fail
- integration tests: Ignore sys.stdout when getting tty
- integration tests: Use constant for child pid
- integration tests: Make timeouts more robust
- Test with Python 3.12
- integration tests: Print output for easier debugging
- Fix integration tests with less >= v613
- Revert "integration tests: Reduce sleep()s"
- Fix tty line buffering detection on Illumos
-
0.5.127 May 2022Commits, not release notes
This project publishes no release notes. Between
v0.5.0andv0.5.1there were 2 commits, 1 of them substantive:- integration tests: Increase timeout for subprocess to exit
-
0.5.021 Jan 2022Commits, not release notes
This project publishes no release notes. Between
v0.4.0andv0.5.0there were 36 commits, 35 of them substantive:- Test on Python 3.10
- Add more flexible command API
- Add pager_command option
- Remove _pager_cmd() method
- unit tests: Replace EnvironmentTest with ConfigTest
- Don't pass environment explicitly if it is unchanged
- Add a "more" PagerCommand
- Add PlatformPager tests for all platforms
- Default to 'more' on AIX
- Default to 'more.com' on Windows
- Add UserSpecifiedPager pager command option
- Don't read env by default if run with suid bit
- Don't invoke pager if it is set to 'cat'
- README: fix error in function name in example
- Add some simple end-to-end tests
- integration tests: Fix typo in _exit_code_from_status()
- integration tests: Add additional end-to-end tests
- integration tests: Fix flakiness on pypy
- integration tests: Check for stderr output
- integration tests: Don't use LESS_IS_MORE
…and 15 more.
-
0.4.013 Jul 2021Commits, not release notes
This project publishes no release notes. Between
v0.3.1andv0.4.0there were 6 commits, 5 of them substantive:- README: Add Ubuntu installation instructions
- argparse: Use constant for color attribute name
- argparse: Add public API to set color mode on parser
- argparse: Rename color attribute
- Use @wraps in decorator
-
0.3.125 Jun 2021Commits, not release notes
This project publishes no release notes. Between
v0.3.0andv0.3.1there were 6 commits, 5 of them substantive:- Set lower constraint for mypy
- Remove unnecessary #!
- Include tox.ini in tarball
- Document installation via RPMs from Copr
- Remove upper caps on test requirements
-
0.3.006 Jun 2021Commits, not release notes
This project publishes no release notes. Between
v0.2.0andv0.3.0there were 15 commits, 14 of them substantive:- Fall back if invoking pager fails
- Set $LV environment variable
- Add argparse module to page help output
- Improve type specificity
- argparse: Style help output
- argparse: Correctly exit pager if < 1 screen of data
- Refactor enter and exit code
- Only disable --quit-if-one-screen when line buffering explicitly enabled
- argparse: Add help_pager() convenience function
- Don't probe closed stream during init
- Stop using magic number for signals
- Set SIGPIPE exit code if flush fails
- Improve comment about why we close a broken pipe
- Protect all of pager cleanup from SIGINT
-
0.2.024 Apr 2021Commits, not release notes
This project publishes no release notes. Between
v0.1.2andv0.2.0there were 22 commits, 21 of them substantive:- Always flush output and handle broken pipe
- Handle errors creating replacement stdout better
- README: Fix typo in example
- Add unit test environment
- unit tests: Test to_terminal()
- unit tests: Use fixtures
- unit tests: Test exit_code()
- unit tests: Test LESS envvar
- unit tests: Test line_buffer_for_input()
- unit tests: Test default stdout for to_terminal()
- unit tests: Test pager command
- unit tests: Test stream cleanup when no pager invoked
- Test on PyPy
- unit tests: Test reconfiguring output stream with no pager
- Fix setting error strategy for output stream
- Allow strings to be passed for error strategy
- unit tests: Test spawning mock pager subprocess
- unit tests: Test context manager enter
- unit tests: Test clean up after invoking pager
- Allow user to pass arguments in $PAGER envvar
…and 1 more.
-
0.1.206 Apr 2021Commits, not release notes
This project publishes no release notes. Between
v0.1.1andv0.1.2there were 2 commits, 1 of them substantive:- Fix additional typing issues with error strategy
-
0.1.105 Apr 2021Nothing published for this version
-
0.1.002 Apr 2021Nothing published for this version