Skip to main content

gropen

PyPI Maintainability

gropen (Git Remote Open) is a simple command line application for opening local files and directories on remote git repositories.

gropen_example

Supported repos

  • Bitbucket
  • GitHub
  • GitLab

Supported editors

Supported systems

  • Linux
  • macOS
  • Windows

Installation

pip install gropen

NOTE: gropen requires Python 3.6 or greater installed on your local environment.

Usage

Here are some example of what gropen can open on your project's remote repo.

Open current directory:

gropen .

Open another directory:

gropen gropen/

Open a file:

gropen gropen/gropen.py

Open a file pointing out the lines of code to be highlighted:

gropen gropen/gropen.py:42
gropen gropen/gropen.py:16,32

Open file from an outter directory:

cd ~/Dev
gropen python/gropen/gropen/gropen.py:20,30

Open file from an inner directory:

cd ~/Dev/python/gropen/gropen
gropen gropen.py:20,30

TODO

  • Add support for GitHub repositories;
  • Add support for Bitbucket repositories;
  • Add support for GitLab repositories;
  • Open current directory;
  • Open arbitrary directory and files;
  • Open in a line or range of lines in the file;
  • Open files in a specific commit;
  • Handle relative and absolute paths;
  • Support flag for only displaying the URL instead of opening it on the browser;
  • Create Vim plugin;
  • Create VS Code plugin;
  • Create Sublime plugin.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/tiagopog/gropen/. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

This package is available as open source under the terms of the MIT License.

Metadata

Release files for gropen 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gropen 0.3.0
File Size Uploaded
gropen-0.3.0.tar.gz 6.9 kB Details

Release files / gropen-0.3.0.tar.gz

Download URL gropen-0.3.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2d5f90d10329799e3fd4bca8d44692d8d1949c2e7d710ff36c888fdd54089e96
BLAKE2b-256 checksum
How to use checksums
1025e98238a3c94b872f19258e0493f87c717b28ec86ccc6be4b83ef7a5687d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file

0.2.0

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page