catichenor + python   152

Zulko/moviepy
Video editing with Python. Contribute to Zulko/moviepy development by creating an account on GitHub.
python  coolproject  video  editor 
3 days ago by catichenor
microsoft/bistring
Bidirectionally transformed strings. Contribute to microsoft/bistring development by creating an account on GitHub.
python  strings  Software  text  unicode  programming  Scripting 
4 weeks ago by catichenor
Python consumes a lot of memory or how to reduce the size of objects?
A memory problem may arise when a large number of objects are active in RAM during the execution of a program, especially if there are restrictions on the total amount of available memory.
Below...
python  performance  optimization  memory  size  computer_science  programming  Scripting 
4 weeks ago by catichenor
How to Use Redis With Python – Real Python
In this step-by-step tutorial, you'll cover how to use both Redis and its Python client library. You'll learn a bite-sized slice of Redis itself and master the redis-py client library.
python  redis  tutorial  tutorials  howto  How_to  BigData 
6 weeks ago by catichenor
nicolashahn/diffimg
Differentiate images in python - get a ratio or percentage difference, and generate a diff image - nicolashahn/diffimg
diff  image  Python  library  libraries  Scripting  programming  imageprocessing 
6 weeks ago by catichenor
PySimpleGUI/PySimpleGUI
Launched in 2018 Actively developed and supported. Supports tkinter, Qt, WxPython, Remi (in browser). Create custom layout GUI's simply. Python 2.7 & 3 Support. 100+ Demo programs & Cookbook for rapid start. Extensive documentation. Examples using Machine Learning(GUI, OpenCV Integration, Chatterbot), Floating Desktop Widgets, Matplotlib + Pyplot integration, add GUI to command line scripts, PDF & Image Viewer. For both beginning and advanced programmers . - PySimpleGUI/PySimpleGUI
GUI  Scripting  programming  python 
7 weeks ago by catichenor
And voilà!
The goal of Project Jupyter is to improve the workflows of researchers, educators, scientists, and other practitioners of scientific computing, from the exploratory phase of their work to the…
jupyter  python  app  webapp  dashboard  notebook 
7 weeks ago by catichenor
cool-RR/PySnooper
Never use print for debugging again. Contribute to cool-RR/PySnooper development by creating an account on GitHub.
coding  python  debug  programming 
april 2019 by catichenor
Python 3 Quick Tip: The easy way to deal with file paths on Windows, Mac and Linux
from pathlib import Path

data_folder = Path("source_data/text_files/")

file_to_open = data_folder / "raw_data.txt"

f = open(file_to_open)

print(f.read())
dev  file  programming  python  path 
april 2019 by catichenor
GitHub - jaraco/keyring
Python:
>>> import keyring
>>> keyring.set_password("system", "username", "password")
>>> keyring.get_password("system", "username")
'password'

Bash:
$ keyring --help
$ keyring set system username
Password for 'username' in 'system':
$ keyring get system username
password
python  security  libraries  library  packages 
december 2018 by catichenor
Python and Qt simplified. Create a Python GUI in minutes.
fbs lets you release Python GUIs with Qt in minutes instead of months.
python  app  application  qt  GUI 
october 2018 by catichenor
ntlm - Python Requests: follow a link - Stack Overflow
import requests
from requests_ntlm import HttpNtlmAuth

username = 'myUser'
password = 'myPswd'
url = 'https://NTLMwebsite/base.com'
nextPage = 'https://NTLMwebsite/base/next.com'

s = requests.Session()

s.auth = HttpNtlmAuth(username, password)

r1 = s.get(url)
python  session  authentication  requests  programming  Scripting 
september 2018 by catichenor
Python requests deep dive – Anthony Shaw – Medium
import requests
import json

with requests.Session() as sess:
my_data = {
'server': '1234'
}
sess.headers['Authorization'] = 'Bearer dfg90823jrofiowfi4-0r'
response = sess.post('https://my-api.service.com/v1/servers', json=my_data)
data = sess.get('https://my-api.service.com/v1/servers/1234').json()
python  requests  json  session  Scripting  programming 
september 2018 by catichenor
HTML Parser: How to scrap HTML content | Python Central
from html.parser import HTMLParser
import urllib.request as urllib2

class MyHTMLParser(HTMLParser):

   #Initializing lists
lsStartTags = list()
   lsEndTags = list()
   lsStartEndTags = list()
   lsComments = list()

   #HTML Parser Methods
   def handle_starttag(self, startTag, attrs):
       self.lsStartTags.append(startTag)

   def handle_endtag(self, endTag):
       self.lsEndTags.append(endTag)

   def handle_startendtag(self,startendTag, attrs):
       self.lsStartEndTags.append(startendTag)

  def handle_comment(self,data):
       self.lsComments.append(data)

#creating an object of the overridden class
parser = MyHTMLParser()

#Opening NYTimes site using urllib2
html_page = html_page = urllib2.urlopen("https://www.nytimes.com/")

#Feeding the content
parser.feed(str(html_page.read()))

#printing the extracted values
print(“Start tags”, parser.lsStartTags)
#print(“End tags”, parser.lsEndTags)
#print(“Start End tags”, parser.lsStartEndTags)
#print(“Comments”, parser.lsComments)
scraping  python  html  url  how  howto  How_to 
august 2018 by catichenor
python - Loop through all nested dictionary values? - Stack Overflow
from collections import abc
def nested_dict_iter(nested):
for key, value in nested.items():
if isinstance(value, abc.Mapping):
yield from nested_dict_iter(value)
else:
yield key, value
python  Scripting  dictionary  recursion  key  value 
july 2018 by catichenor
ox-it/requests-negotiate: GSSAPI auth support for Python's requests library
import requests
import requests_negotiate

auth = requests_negotiate.HTTPNegotiateAuth()
response = requests.get('https://example.org/', auth=auth)
python  api  authentication  Scripting  testing  howto  how  How_to 
july 2018 by catichenor
Parallel tasks in Python: concurrent.futures
executor.submit() returns a Future object. A Future is basically an object that encapsulates an asynchronous execution of a function that will finish (or raise an exception) in the future.
python  concurrency  concurrent  futures  programming  multiprocessing  threading  library 
april 2018 by catichenor
An Introduction to Altair
Join me in exploring Altair - a great python package for data vis
python  altair  tutorials  visualization  vega  chart  charts  plotting  graphs 
march 2018 by catichenor
5. Waits — Selenium Python Bindings 2 documentation
Expected Conditions

There are some common conditions that are frequently of use when automating web browsers. Listed below are the names of each. Selenium Python binding provides some convenience methods so you don’t have to code an expected_condition class yourself or create your own utility package for them.

title_is
title_contains
presence_of_element_located
visibility_of_element_located
visibility_of
presence_of_all_elements_located
text_to_be_present_in_element
text_to_be_present_in_element_value
frame_to_be_available_and_switch_to_it
invisibility_of_element_located
element_to_be_clickable
staleness_of
element_to_be_selected
element_located_to_be_selected
element_selection_state_to_be
element_located_selection_state_to_be
alert_is_present
selenium  python  testing  how  howto  How_to  documentation 
december 2017 by catichenor
ujson 1.35 : Python Package Index
Ultra fast JSON encoder and decoder for Python
python  json  programming  Scripting 
september 2017 by catichenor
Luciano Ramalho
Luciano Ramalho was a Web developer before the Netscape IPO in 1995, and switched from Perl to Java to Python in 1998. Since then he worked on some of the largest news portals...
article  python 
august 2017 by catichenor
Quilt is a data package manager
Manage data like code: version, package, and serialize data.
Data  Python  datasets  datascience  dataset  BigData  Analytics  cli 
july 2017 by catichenor
Paperless and clueless
Python’s itertools library solves an accounting problem.
python  invoices  itertools  billing  script  Scripting  programming  math 
july 2017 by catichenor
SSH Programming with Paramiko | Completely Different — jesse noller
ssh.connect('127.0.0.1', username='jesse', password='lol') stdin, stdout, stderr = ssh.exec_command( "sudo dmesg") stdin.write('lol\n') stdin.flush() data = stdout.read.splitlines() for line in data: if line.split(':')[0] == 'AirPort': print line
python  shell  ssh  automation  Scripting  programming 
july 2017 by catichenor
SSH for Python - In search of API perfection
import paramiko client = paramiko.SSHClient() client.load_system_host_keys() client.set_missing_host_key_policy(paramiko.WarningPolicy()) client.connect("192.168.1.254", username="dave", password="p@ssword123") stdin, stdout, stderr = client.exec_command('display version') for line in stdout: print line.strip('\n') client.close()
ssh  programming  Scripting  python  automation 
july 2017 by catichenor
« earlier      
per page:    204080120160

related tags

ai  altair  analytics  api  app  application  arduino  article  asynchronous  authentication  automation  backend  bakery  baking  big-data  BigData  billing  blog  browser  build  chart  charts  cheatsheet  chrome  class  Classes  cli  client  Cloud  CMS  coding  Color  colors  commandline  commands  comprehension  comprehensions  computer_science  concurrency  concurrent  conference  console  conversion  coolproject  cross-platform  csv  dashboard  dask  data  database  datascience  dataset  datasets  date  datetime  db  debug  deeplearning  deployment  design  dev  development  dict  dictionary  diff  distribution  docs  docstrings  document  document-database  documentation  download  drivers  editor  electronics  email  environment  excel  file  flask  food  Food_&_Drink  forms  framework  functional  funny  Funny_Stuff  futures  gamedev  gamepad  gaming  generator  git  github  gmail  gnome  google  gpu  graphics  graphs  gui  guide  hacks  hadoop  hid  hosting  how  howto  How_to  html  http  humor  image  imageprocessing  images  imap  inheritance  input  interface  invoices  iOS  itertools  javascript  joystick  json  jupyter  JupyterNotebook  key  keyboard  language  ldap  learning  libraries  library  Links  linux  list  machine-learning  machinelearning  macosx  mail  management  markdown  math  matplot  matplotlib  media  meetups  memory  menu  minimalism  mock  model  modules  multimedia  multiprocessing  nosql  notebook  notification  objects  ocr  oop  opensource  optimization  orm  OS  osx  paas  packages  packaging  page_object  pandas  parallel  parallelism  parser  parsing  path  patterns  pdf  performance  Pictures  pipenv  plotting  png  pom  presentation  processing  productivity  profiling  programming  Programming_&_Scripting  project  pybay2016  pybay2017  pytest  python  python3  qt  raspberrypi  recursion  redis  reference  regex  Render  Rendering  requests  reservation  rest  robot  robotics  rpi  scikit  scipy  scraping  script  scripting  security  selenium  sensors  session  setup  shell  size  smtp  Social  software  spreadsheet  sql  sqlalchemy  sqlite  ssh  strings  style  sublime  SVG  task  template  tensorflow  terminal  testing  text  threading  time  tool  tools  training  troubleshooting  tutorial  tutorials  unicode  unix  url  usb  utilities  value  variables  vega  video  virtualenv  visualization  web  webapp  webdesign  windows  youtube 

Copy this bookmark:



description:


tags: