This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

The rmate program enables editing files on a remote computer with TextMate 2 via an SSH connection. This is a port of the official Ruby version and was made for system that cannot (or just preferably do not) have Ruby installed. This version (very intentionally) has no dependencies beyond the Python standard library and has been tested with Python versions 2.4 - 3.5.

This port is probably compatible with Sublime Text, Atom, or other editors that use the rmate protocol, but it is not officially tested.

Install

Standalone

rmate is a single file script, so you can simply download it to a location in your PATH. For example, assuming /usr/local/bin is in the PATH

wget https://raw.githubusercontent.com/sclukey/rmate-python/master/bin/rmate
chmod +x ./rmate
mv ./rmate /usr/local/bin/rmate

PyPI

You can also install rmate with pip

pip install rmate

SSH Connection Settings

For rmate to be able to connect back to TextMate, a port must be tunneled through the ssh connection. By default, rmate uses port 52698, and the port can be tunneled for an individual connection on the command line

ssh -R 52698:localhost:52698 user@example.com

or for all connections by adding a rule to your ~/.ssh/config

Host *
RemoteForward 52698 localhost:52698

Usage

You can use rmate --help to see the usage

usage: rmate [OPTION]... FILE...

      --host HOST  Connect to HOST. Use 'auto' to detect the host from
                   SSH. Defaults to localhost
  -p, --port PORT  Port number to use for connection. Defaults to 52698
  -w, --[no-]wait  Wait for file to be closed by TextMate
  -l, --line LINE  Place carat on line LINE after loading the file.
                   TextMate selection strings can be used
  -m, --name NAME  The display name shown in TextMate
  -t, --type TYPE  Treat file as having TYPE
  -f, --force      Open even if the file is not writable
  -v, --verbose    Verbose logging messages
  -h, --help       Show this help and exit
      --version    Show version and exit

When FILE is -, read standard input.

More information can be found in this blog post

Release History

Release History

1.0.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
rmate-1.0.3.tar.gz (6.1 kB) Copy SHA256 Checksum SHA256 Source Nov 3, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting