An integrated shell for working with the Kubernetes

Kube-shell: An integrated shell for working with the Kubernetes CLI Under the hood kube-shell still calls kubectl. Kube-shell aims to provide ease-of-use of kubectl and increasing productivity. kube-shell features Auto Completion of Commands and Options with in-line documentation Fish-Style Auto Suggestions Command History You can use up-arrow and down-arrow to walk through the history of    

Read more

A command-line client for SQLite databases that has auto-completion

Docs A command-line client for SQLite databases that has auto-completion and syntax highlighting. Installation If you already know how to install python packages, then you can install it via pip: You might need sudo on linux. $ pip install -U litecli The package is also available on Arch Linux through AUR in two versions: litecli is based the latest release (git tag) and litecli-git is based on the master branch of the git repo. You can install them manually or […]

Read more

3D viewer and post processing of reservoir models

ResInsight is an open source, cross-platform 3D visualization and post processing tool for reservoir models and simulations. The system also constitutes a framework for further development and support for new data sources and visualization methods, e.g. additional solvers, seismic data, CSEM, geomechanics, and more. The user interface is tailored for efficient interpretation of reservoir simulation data with specialized visualizations of properties, faults and wells. It enables easy handling of a large number of realizations and calculation of statistics. To be […]

Read more

An asynchronous python API wrapper meant to replace discord.py

Discord API wrapper rebuild from scratch. Links Join the discord server: https://discord.gg/8WkYz3fNFm The pypi package: https://pypi.org/project/Pincer/ Our website: https://pincer.dev Installation Use The following command to install Pincer into your python environment: pip install pincerDidn’t work? Depending on your python installation, you might need to use one of the following. pip isn’t in the path but python ispython -m pip install pincer Unix system can use pip3/python3 commandpython3 -m pip install pincerpip3 install pincer python isn’t in the pathpath/to/python.exe -m pip […]

Read more

JSON Logging for Sanic in python

JSON Logging for Sanic The other day I was running some containers on Amazon’s ECS and logging to cloudwatch. I then learnt cloudwatch parses JSON logs so obviously I then wanted Sanic to log out JSON. Ideally this’ll be useful to people but if it isn’t, raise an issue and we’ll make it better 🙂 To install: pip install sanic-json-logging Look at examples/simple.py for a full working example, but this will essentially get you going import sanic from sanic_json_logging import […]

Read more

Web app for keeping track of buildings in danger of collapsing in the event of an earthquake

:romania: Un cutremur în BucureÈ™ti nu este o situaÈ›ie ipotetică.Este o certitudine că acest lucru se va întâmpla.ÃŽn acest context, la mai bine de 40 de ani de la cutremurul din 1977, memoria colectivă a ascuns în profunzime amintirile acelui dezastru în încercarea de a-È™i înăbuÈ™i teama.Dar realitatea este că, patru decenii mai târziu, BucureÈ™tiul, la fel ca restul oraÈ™elor cu risc seismic ridicat, nu ar face față unui asemenea eveniment, iar pierderile de vieÈ›i omeneÈ™ti ar fi uriaÈ™e.ExerciÈ›iul Seism […]

Read more

Tmux session manager built on libtmux

tmuxp, tmux session manager. built on libtmux. We need help! tmuxp is a trusted session manager for tmux. If you could lend your time to helping answer issues and QA pull requests, please do! See issue #290! New to tmux? The Tao of tmux is available on Leanpub and Amazon Kindle. Read and browse the book for free on the web. Installation $ pip install –user tmuxp Load a tmux session Load tmux sessions    

Read more

Dead simple CLI tool to try Python packages

try is an easy-to-use cli tool to try out Python packages. Features Install specific package version from PyPI Install package from GitHub Install in virtualenv using specific version of python Specify alternative python package import name Keep try environment after interactive session Launch interactive python console with already imported package Launch editor instead of interpreter Launch arbitrary python shell instead of default python shell Usage try requests try requests –ipython try requests –shell ptipython try requests -p 3.5 try requests […]

Read more

Using Python Optional Arguments When Defining Functions

In this section, you’ll learn how to define a function that takes an optional argument. Functions with optional arguments offer more flexibility in how you can use them. You can call the function with or without the argument, and if there is no argument in the function call, then a default value is used. Default Values Assigned to Input Parameters You can modify the function add_item() so that the parameter quantity has a default value: # optional_params.py shopping_list = {} […]

Read more

Visual Question Answering in Pytorch

/! New version of pytorch for VQA available here: https://github.com/Cadene/block.bootstrap.pytorch This repo was made by Remi Cadene (LIP6) and Hedi Ben-Younes (LIP6-Heuritech), two PhD Students working on VQA at UPMC-LIP6 and their professors Matthieu Cord (LIP6) and Nicolas Thome (LIP6-CNAM). We developed this code in the frame of a research paper called MUTAN: Multimodal Tucker Fusion for VQA which is (as far as we know) the current state-of-the-art on the VQA 1.0 dataset. The goal of this repo is two […]

Read more
1 535 536 537 538 539 984