-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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
similar project #11
Comments
python-tmux doesn't appear to do anything at all. tenper I seemed to have missed when I was searching for python stuff before, or perhaps at the time it was a small pointless project. tenper could be modified to include pytmux's primary feature (unnamed windows, it handles them terribly right now). Not super keen on all of tenper's venv handling stuff. Would rather have users list out the commands they want run so you don't have to deal with venv changing over time. pytmux currently supports python 2.7 and 3.3. I had intended to make it a bit more generalized but haven't gotten around to that (obviously by the history). It has a couple bugs and some features needed. I haven't spent much time hacking on it because it gets the job done for me and then I moved on to the other projects I wrote it so I could easily do. Of these projects, only python-tmux seems to aim to be a python library for interacting with tmux, rather than a tmuxinator, etc clone. Since @mqsoh is the only one besides me to get anywhere, I'd be ok with collaborating on a library that powers both of our projects under the hood. @davidressman has shown intent but no implementation, so that is less interesting to me. |
@wraithan, do you mean that tenper handles unnamed windows terribly? If you create a new window in a session, the window name updates per tmux's automatic-rename configuration. I never tested an unnamed, configured window -- I prefer those to have logical names and have been using names like 'logs' and prefer that to an auto-named 'tail'. What do you mean by listing commands/venv changing over time? Anyway -- you seem to have different goals for pytmux. |
@mqsoh https://github.com/mqsoh/tenper/blob/master/tenper/command.py#L212 is what I mean. Instead of falling back to auto rename it decides that it needs to do its own thing and name it 'No Name'. I have plenty of stuff that knows how to set the window name correctly, as well as using that autoname to let me know if something has crashed or a command finished running By list out the commands I mean a feature that even mine is lacking at current and you have to && commands together. Rather than be python or ruby or any language specific, I'd rather the user just listed out the commands 'workon x' 'cd x' 'python server.py' than to specify the virtualenv and hope that how tenper is compatible with my version of virtualenv and/or virtualenvwrapper (since lots use that and use the pre/post hooks that it provides). Anyway, I'm not proposing we merge our projects. But an underlying wrapper around tmux that we share could make sense. Then the community can decide which is the better actual commandline script. It could do things like grabbing config values, current windows, panes, session, as well as making them all. |
https://github.com/mqsoh/tenper
https://github.com/davidressman/python-tmux
@mqsoh @wraithan @davidressman
Gentlemen,
I'm really interested in us having a go-to pythonic wrapper for tmux - it'd be nice to see what we could do to build momentum and assure efforts aren't duplicated at this stage.
What is the status / roadmaps of pytmux, tenper and python-tmux. Any interest in collaborating
The text was updated successfully, but these errors were encountered: