Giter Club home page Giter Club logo

jump's People

Contributors

alexraileanu avatar cmccandless avatar larsvanduijkeren avatar

Watchers

 avatar  avatar

jump's Issues

add type hinting

add types wherever possible and reformat code to fit those types.

check for a better install solution

right now the install.sh script clones the repo, creates a virtualenv and installs requirements but i feel like there must be a better way of doing this. especially since for the jumpgate to work, there needs to be a .env file with some values populated in it.

add option to have .env file in custom location

in order to make it easier to publish the package to pypi, i think adding a cli argument to the script where a path to an .env file can be specified would help.

what i mean by this:

  • if no argument is specified, look in the home directory of the user in .jump for an .env file
  • if argument is specified, try to load the file from there

add documentation

add some documentation both in the python file and in the readme. add some installation instructions, screenshots, stuff like that

error in dialog when creating a menu

there's an exception when running the jumpgate:

Traceback (most recent call last):
  File "~/jump/venv/bin/jump", line 11, in <module>
    load_entry_point('jump', 'console_scripts', 'jump')()
  File "~/jump/jump/menu.py", line 103, in main
    Jump()
  File "~/jump/jump/menu.py", line 22, in __init__
    self.run()
  File "~/jump/jump/menu.py", line 68, in run
    code, app = self.create_menu('Choose an application', self.formatted_menu_items, 'Exit')
  File "~/jump/jump/menu.py", line 45, in create_menu
    cancel_label=cancel_label,
  File "~/jump/venv/lib/python3.7/site-packages/dialog.py", line 2911, in menu
    cmd, kwargs, strip_xdialog_newline=True)
  File "~/jump/venv/lib/python3.7/site-packages/dialog.py", line 1703, in _widget_with_string_output
    code, output = self._perform(args, **kwargs)
  File "~/jump/venv/lib/python3.7/site-packages/dialog.py", line 1504, in _perform
    args_file)
  File "~/jump/venv/lib/python3.7/site-packages/dialog.py", line 1469, in _handle_program_exit
    child_output_rfd)
  File "~/jump/venv/lib/python3.7/site-packages/dialog.py", line 1421, in _wait_for_program_termination
    child_output.strip()))
dialog.DialogError: dialog-like terminated due to an error: the dialog-like program exited with status 3 (which was passed to it as the DIALOG_ERROR environment variable). Sometimes, the reason is simply that dialog was given a height or width parameter that is too big for the terminal in use. Its output, with leading and trailing whitespace stripped, was:

Error: Expected at least 5 tokens for --menu, have 4.
Use --help to list options.

could be because of the new python version? or it was somehow introduced after #7.

add install script

write some sort of script that can automagically install the jumpgate somewhere. maybe uploading it to pypi for easy installation using pip?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.