HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelfā™§ 0
← Back to top all-time
tmux-python
tmuxp
Python2014–2024
tmux-python / tmuxp

tmuxp

šŸ–„ļø Session manager for tmux, built on libtmux.

8Distinct people
21Mentions
0Explicit recommenders
4.6KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

šŸ–„ļø Session manager for tmux, built on libtmux.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC Ā· Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 6:01:08 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year21 dated mentions

Observed mentions: 2014-05-16 22:07:05 UTC to 2024-02-05 13:44:38 UTC.

02462014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20142015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 7 mentions; 3 submissions, 4 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC101
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC000
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC734
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC404
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC303
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC101
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC202
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC202

What Hacker News says

7 sources
tonyĀ·Nov 23, 2016Submission

Show HN: I’m writing an ebook version of the Tao of tmux

A couple of years ago, I written an intro to tmux (https://tmux.github.io/) inside tmuxp's (https://github.com/tony/tmuxp) documentation called The Tao of tmux (https://tmuxp.readthedocs.io/en/latest/about_tmux.html). I'm in the process of turning it into a feature book. I am aiming for a December 23rd, 2016 release and am plugging away full time. I make it available to read on the web for free at https://leanpub.com/the-tao-of-tmux/read. The GitHub is at https://github.com/git-pull/tao-of-tmux. For pre-ordering: - The Leanpub page (updated on a regular basis) is https://leanpub.com/the-tao-of-tmux. - Amazon Kindle: https://www.amazon.com/gp/product/B01MG342KU - iTunes: https://geo.itunes.apple.com/us/book/the-tao-of-tmux/id1168912720 Also I have a coupon for pre-orders @ $7.99 https://leanpub.com/the-tao-of-tmux/c/oBsI4y3o4quu. So there
Read the rest
are 2 other books available in the now. I prefer my style of writing about tmux and teaching, since I maintain a few open source libraries for tmux I bring my own perspective along. Also I'd rather stay away from publishers, again, I prefer a book that's available for free to read on the web, DRM-free if you pay, and not have to worry about printing :). It's my first book ever so I feel a lot of pressure to get it done right. I'm definitely open to feedback and requests to add things. I feel a duty to make a really good book for the community. Any help to spread the word is much appreciated!
67 points Ā· Open discussion
git-pullĀ·Nov 20, 2016Submission

Show HN: I'm writing an ebook version of The Tao of tmux

A couple of years ago, I written an intro to tmux (https://tmux.github.io/) inside tmuxp's (https://github.com/tony/tmuxp) documentation called The Tao of tmux (https://tmuxp.readthedocs.io/en/latest/about_tmux.html). I'm in the process of turning it into a feature book. I am aiming for a December 23rd, 2016 release and am plugging away full time. I make it available to read on the web for free at https://leanpub.com/the-tao-of-tmux/read. The GitHub is at https://github.com/git-pull/tao-of-tmux. For pre-ordering: - The Leanpub page (updated on a regular basis) is https://leanpub.com/the-tao-of-tmux. - Amazon Kindle: https://www.amazon.com/gp/product/B01MG342KU - iTunes: https://geo.itunes.apple.com/us/book/the-tao-of-tmux/id1168912720 Also I have a coupon for pre-orders @ $7.99 https://leanpub.com/the-tao-of-tmux/c/oBsI4y3o4quu. I've star
Read the rest
ted an indiegogo @ https://www.indiegogo.com/projects/the-tao-of-tmux-the-ebook So there are 2 other books available in the now. I prefer my style of writing about tmux and teaching, since I maintain a few open source libraries for tmux I bring my own perspective along. Also I'd rather stay away from publishers, again, I prefer a book that's available for free to read on the web, DRM-free if you pay, and not have to worry about printing :). It's my first book ever so I feel a lot of pressure to get it done right. I'm definitely open to feedback and requests to add things. I feel a duty to make a really good book for the community. Any help to spread the word is much appreciated!
6 points Ā· Open discussion
I'll bite, but I actually authored two tools I use to manage personal / open source projects. So while I can't fit your question exactly, I'll share what's worked well for me over the past years. Break your project out into open source components. This gives the community a library, which makes it possible (but not guaranteed) to share responsibility to it. It also keeps things fresh, you can keep the core of your personal project closed, so there is less moving parts to track, and hopefully less dead code on it. I’ve many ā€œpersonal projectsā€ end up getting mothballed amounting to time wasted due to me just chucking all my code in one repo and not breaking out components / pulling in the right libs when I could. I've participated on a lot of open source projects over the years, so I’ve developed a workflow to organize the minutiae. Ther
Read the rest
e are times where I won’t re-open a project for a few months, so I need to be able to ā€œsnap back intoā€ a familiar environment. - tmuxp [1], a session manager for tmux. It allows using a .tmuxp.yaml file [2] to load a project workspace in combination with a bootstrap file [3] to automatically launch a tmux environment with tests, documentation, etc. I mimic this workflow in all my other projects. It has worked for me across OS X, Linux, FreeBSD. On local and ssh machines. No IDE required. Passively, another thing I do is document very well. If its python, I keep docstrings, autodoc for API generation and sphinx everywhere. Even personal projects I do at work have sphinx docs for other developers to peruse. I’m consciously doing everything possible to be helpful to other programmers on the project. Give them API docs, examples, as much as you can. - vcspull [4] is a tool I use to declaratively manage projects in a yaml file [5]. When I want to update I just type ā€˜vcspull project1 project2 project3’. What’s nice is being able to pattern match projects I have, ā€˜vcspull django-\*’ to grab django extensions. On projects I patch, I add my fork as a remote to keep it in sync. So the above are my taste. YMMV. Here are some other things: For C/C++ projects / libs, stuff like CMake [6] for build systems is great. Gets me a build that finds libs on OS X, FreeBSD and Linux. I’ve ported windows only projects in SDL2 to work across all 3 easily thanks to it. There are other mindset things, try to strike a balance between being opinionated in your own flow (as I am), because you’re going to have another person who swears to Eclipse, then another one to Atom, you can’t make everyone happy. Invest in things universally helpful (api documentation, tests, linting), they end up helping you in the end no matter where your project ends up: Even if you wrote stuff, if you don’t document, you’ll be at a loss when you wrote stuff a year ago ā€œDid I really write thatā€? With other developers, they can't read your mind, they keep into the grind faster when you explained what your project does and what your code quality / expectations are. [1] https://github.com/tony/tmuxp [2] https://github.com/tony/tmuxp/blob/master/.tmuxp.yaml [3] https://github.com/tony/tmuxp/blob/master/bootstrap_env.py [4] https://github.com/tony/vcspull [5] https://github.com/tony/.dot-config/blob/master/.vcspull.yam...
In Ask HN: How do you manage your personal software projects?
Hi, thanks for your question. I'm going to cross-post this from a reddit comment that asked the same thing. tmux[1] is oriented toward commandline users on posix-like systems. libtmux is a python library to help you script and automate tmux. it abstracts the concept of the server, its sessions, their windows and panes [2] into a herarchy you can easily navigate, even with a live tmux session. I don't know if you use cli, tmux, or a tmux session manager (tmuxinator, teamocil, tmuxp) already, so its hard to tailor this answer specifically. command line a good deal of programmers, sysadmins, etc. use the terminal routinely throughout their day. some even go so far as to swear off a graphical IDE all together, and use screen or tmux with a combination of an editor like vim, emacs and others. if you primarily use windows and don't use linux/b
Read the rest
sd/os x terminal often, if you ever do, i highly recommend giving screen[3] or tmux a shot. tmux the benefit to using the terminal means tmux lets you do a couple things: - split your terminal into multiple PTY's (panes) and windows, copy and paste between them. No GUI required - "detach" the tmux sesssion, sending it (and any shells/applications running in the panes) to the background, and come back later to reattach - it is also seamless to SSH into a server and work from there, since there's no GUI involved, you can use the same workflow on OS X, Linux or BSD machines. I write in detail about tmux here: http://tmuxp.readthedocs.io/en/latest/about_tmux.html tmux configuration a good amount of developers use screen or tmux on a regular basis. over time, a variety of plugins have popped up. tmuxinator[4], teamocil[5] and tmuxp[6] (my own, written in python) being ways to load pre-configured sessions from a YAML file. scripting / automating tmux with libtmux so here is where libtmux comes in, it can be used to control tmux via python objects, which can be very handy in situations where you want to interface with tmux at a low level expressively. it is possible to script things via shell, but there's no way to know the state or easily traverse through the tree of Server -> Sessions -> Windows -> Panes. tmuxp uses libtmux under the hood a way to build sessions[7]. other developers have used tmuxp[8]* for scripting tmux to the workflow of their projects. * note: I link to `import tmuxp` because the API would formerly be in that project for the past few years. libtmux decouples the core into its own library. [1] https://tmux.github.io/ [2] http://libtmux.readthedocs.io/api.html [3] https://www.gnu.org/software/screen/ [4] https://github.com/tmuxinator/tmuxinator [5] https://github.com/remiprev/teamocil [6] https://github.com/tony/tmuxp [7] https://github.com/tony/tmuxp/blob/master/tmuxp/workspacebui... [8] https://github.com/search?utf8=%E2%9C%93&q=%22import+tmuxp%2...
In Libtmux – pilot your tmux session via python
Author of tmuxp [1], a session manager also in Python. I like the project. I consider it more in the "different" category as opposed to "better". > Other tmux session managers require pages of documentation for basic use, http://tmuxp.readthedocs.org/en/latest/quickstart.html > and define windows using a complicated nesting of pane splits. http://tmuxp.readthedocs.org/en/latest/examples.html The syntax for tmuxp was heavily inspired by tmuxinator and teamocil. Normally, window layouts in tmux don't get too fancy. > tmuxomatic is so easy that anyone could use it after just one example. I think the idea has potential - already being used to using teamocil/tmuxinator configs, it feel its a tad unorthodox at first. I don't see what benefit it gives over constructing the tmux via your client and saving the layout. The `tmuxp freeze` command ex
Read the rest
ists for this. > Yet tmuxomatic is more flexible and more powerful than other tmux session managers. http://tmuxp.readthedocs.org/en/latest/quickstart_python.htm... + http://tmuxp.readthedocs.org/en/latest/api.html You can't get more powerful and flexible than having an API that basically runs at a parity to tmux's data model and commands. That said, anything that spreads the word about tmux and makes it easier for people to use is a good thing. I think the real pain point in CLI is even with modern (neo)vim/emacs, we don't have anything close to an Atom or Intellij suite for "just works" completion. If you've had better luck with completion - I'm happy for you. [1] https://github.com/tony/tmuxp
In Tmuxomatic: completely different tmux session manager
Author of tmuxp here, a python API and config manager on top of tmux(1). You can see the quickstart at https://tmuxp.readthedocs.org/en/latest/quickstart_python.ht... and the API documentation at https://tmuxp.readthedocs.org/en/latest/api.html. You can see the testcases we cover use real tmux sessions and monitor the state of the session / window / panes to assert the API functions correctly. https://github.com/tony/tmuxp/tree/master/tmuxp/testsuite As for pymux, Jonathan Slenders' work on ptpython [1] and prompt_toolkit have been quite nice when working with shell_plus in django or debugging python projects. He's good in this area. Agreed that it's a nice thing to have pymux there. And agreed that adding native language extensions (python, ruby, etc.) to tmux would be complicated code-wise and perhaps not in the spirit of what it aspire
Read the rest
s to be. That said, on the tmuxp side of things, a lot could be improved. For example, switching tmuxp to use control mode (-C) and filing smaller patches to expand control mode's events in tmux(1). [1] https://github.com/jonathanslenders/ptpython
In Pymux: a tmux clone in pure Python

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.