Skip to content

Instantly share code, notes, and snippets.

View jaumebonet's full-sized avatar

Jaume Bonet jaumebonet

  • Lausanne, Switzerland
View GitHub Profile
@jaumebonet
jaumebonet / sftp_pandas.py
Created April 27, 2021 16:42 — forked from Kautenja/sftp_pandas.py
Functions for working with remote files using pandas and paramiko (SFTP/SSH).
"""Functions for working with remote files using pandas and paramiko (SFTP/SSH)."""
import pandas as pd
import paramiko
def read_csv_sftp(hostname: str, username: str, remotepath: str, *args, **kwargs) -> pd.DataFrame:
"""
Read a file from a remote host using SFTP over SSH.
Args:
@jaumebonet
jaumebonet / gist:da18c7c8d8837cdd68d9379cb0c8d551
Created January 23, 2018 13:14 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@jaumebonet
jaumebonet / index.html
Last active August 29, 2015 14:10 — forked from EpokK/ngEnter.js
React to Press Enter, the AngularJS way
<div>
<input
type = "text"
placeholder = "Something to say"
ng-model = "target_variable"
ng-pattern = 'pattern_variable'
jb-on-enter = "executeCommand()"
>
</div>