outscale / osc-tui Goto Github PK
View Code? Open in Web Editor NEWTUI client in ncurses for outscale's API.
License: BSD 3-Clause "New" or "Revised" License
TUI client in ncurses for outscale's API.
License: BSD 3-Clause "New" or "Revised" License
I tested this project by curiosity, but after having created a profile, the application crashed:
โ> python --version
Python 3.8.10
Traceback (most recent call last):
File "/home/leo/sources/osc-tui/osc_tui/main.py", line 94, in <module>
sys.exit(main())
File "/home/leo/sources/osc-tui/osc_tui/main.py", line 85, in main
APP.run()
File "/home/leo/sources/osc-tui/env/lib/python3.8/site-packages/npyscreen/apNPSApplication.py", line 30, in run
return npyssafewrapper.wrapper(self.__remove_argument_call_main)
File "/home/leo/sources/osc-tui/env/lib/python3.8/site-packages/npyscreen/npyssafewrapper.py", line 41, in wrapper
wrapper_no_fork(call_function)
File "/home/leo/sources/osc-tui/env/lib/python3.8/site-packages/npyscreen/npyssafewrapper.py", line 97, in wrapper_no_fork
return_code = call_function(_SCREEN)
File "/home/leo/sources/osc-tui/env/lib/python3.8/site-packages/npyscreen/apNPSApplication.py", line 25, in __remove_argument_call_main
return self.main()
File "/home/leo/sources/osc-tui/env/lib/python3.8/site-packages/npyscreen/apNPSApplicationManaged.py", line 172, in main
self._THISFORM.edit()
File "/home/leo/sources/osc-tui/env/lib/python3.8/site-packages/npyscreen/fm_form_edit_loop.py", line 47, in edit
self.edit_loop()
File "/home/leo/sources/osc-tui/env/lib/python3.8/site-packages/npyscreen/fm_form_edit_loop.py", line 38, in edit_loop
self._widgets__[self.editw].edit()
File "/home/leo/sources/osc-tui/env/lib/python3.8/site-packages/npyscreen/wgwidget.py", line 447, in edit
self._edit_loop()
File "/home/leo/sources/osc-tui/env/lib/python3.8/site-packages/npyscreen/wgwidget.py", line 463, in _edit_loop
self.get_and_use_key_press()
File "/home/leo/sources/osc-tui/env/lib/python3.8/site-packages/npyscreen/wgwidget.py", line 599, in get_and_use_key_press
self.handle_input(ch)
File "/home/leo/sources/osc-tui/env/lib/python3.8/site-packages/npyscreen/wgwidget.py", line 71, in handle_input
self.handlers[_input](_input)
File "/home/leo/sources/osc-tui/env/lib/python3.8/site-packages/npyscreen/wgbutton.py", line 99, in h_toggle
self.whenPressed()
File "/home/leo/sources/osc-tui/osc_tui/profileSelector.py", line 43, in __call__
main.GATEWAY.log.config(type=LOG_MEMORY, what=LOG_KEEP_ONLY_LAST_REQ)
AttributeError: 'compiled_function' object has no attribute 'config'
Is it something known?
Credentials set in the profile are working elsewhere.
Thanks!
It would be very useful to have letter shortcut to jump to some actions:
for examples C
could be use to Create (Instance/Volume...)
I
,N
,V
,M
, S
could be use to jump to Instance, Nets, Volumes, Image, Security grid.
It would be nice to have the letter use for the shortcut in Color in the menu too.
Note that the colour could be complex to implement, so this might be made in another PR, with a new issue.
The Volumes EDIT do nothing,
We need it to at last enable user to link a volume to a VM
This line have 3 problems:
If we used the api call ReadRegions we could simply get the region list, and use that instead.
It would be nice to support more than just OSC.
AWS, azure and GCP come top mind.
What I absolutely want to avoid is to have 1 dependency par API, like for a project like ScoutSuit which is very hard to install due to the number of dependency it have, so we need a lib that support multiple provider (like libecloud, or libcurl).
It would also enable osc-tui to support oss (Outscale storage) at some point.
Hi,
osc-tui does not seems to react to window size change. That is pretty annoying when working with tmux for instance.
This occurs on profile selection but maybe elsewhere
pretty self explanatory :)
It would be nice to fix the button, but we can also remove it if, it take too much time too fix it, as adding you ssh ip is already pretty easy the normal
way.
It's very easy to push Arch packages on AUR, we should do that :)
whave have something like:
instance
volumes
...
refresh
quit
-------
Create New
we should have soemthing like:
instance
....
volumes
----------
Create New
refresh
quit
phone screen have more vertical than horizontal space, so on some screen we should have the menu on top or button, but not on side.
variable name doesn't respect standard python case, and some are incoherent with the projects (like a variable called F
).
We need standardisation.
When we're on a resource menu,
it would be useful to have the resource name in windows name
When browsing resources, it would be great to do a search as we can do on the web cockpit using the slash or interrogation tag character, it would improve usability a lot (which is currently a bit limited for our usage)
Thanks a lot
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.