python for it specialists tasks automation
play

Python for IT specialists tasks automation EuroPython 2015, Bilbao - PowerPoint PPT Presentation

Python for IT specialists tasks automation EuroPython 2015, Bilbao @2015, G.Nieri @ Talk contents Well show tools and scripts to automate different common tasks using Python scripts. This talk is just a starting point for your new life


  1. Python for IT specialists tasks automation EuroPython 2015, Bilbao

  2. @2015, G.Nieri @ Talk contents We’ll show tools and scripts to automate different common tasks using Python scripts. This talk is just a starting point for your new life as automation addicted

  3. @2015, G.Nieri @ Who is Gianluca Nieri? - Software developer; - Amazon AWS Architect and DevOps; - Technical writer; - Automation&Python addicted; Web: www.gianlucanieri.com Mail: gianluca@gianlucanieri.com Twitter: @gianx

  4. @2015, G.Nieri @ Introduction - Why automation? Save time No errors Less disctractions (found on Intermnet, I apologize with the author for not citating him)

  5. @2015, G.Nieri @ Introduction – When automate? Three factors: - Single execution time; - Run frequency; - Accuracy. (found on Intermnet, I apologize with the author for not citating him)

  6. @2015, G.Nieri @ Introduction – What can you automate? Almost everything: … string manipulation … … information retriving … … data manipulation … … image management … … document management … Whatever you want!

  7. @2015, G.Nieri @ Introduction - The tools - Python alone is not enough - Writing a UI for interaction is not handy; - You need third-party tools to manage interaction, activation, results handling, etc.

  8. @2015, G.Nieri @ Tools – What are these tools? - “Line command tools”: a useful tool to launch command, macros, action without leaving your workflow; - “Text expansion tools”: expand text snippets and automatically retrive informations - “File trigger tools”: do action based on filesystem objects, files, folder, etc.

  9. @2015, G.Nieri @ Tools - What software do we need? Tools OS X Linux Windows Command line ● Alfred ● Synapse ● Listary ● Keyboard ● Mutate ● Launcy Maestro ● Kupfer ● Gnome Do Text ● Text ● AutoKey ● Autotext expansion expander ● Phrase expander FS Triggers ● Hazel ● Maid ?????

  10. @2015, G.Nieri @ Alfred (http://www.alfredapp.com/) “Create immensely powerful workflows by connecting keywords, hotkeys and actions together to extend Alfred to do amazing things without writing a single line of code!”

  11. @2015, G.Nieri Keyboard maestro @ (http://www.keyboardmaestro.com/) “Keyboard Maestro can help improve almost every aspect of using your Mac [...] like typing your email address, or going to Gmail or Facebook, launching Pages, or duplicating a line, all take time and add frustration”

  12. @2015, G.Nieri Text expander @ (https://smilesoftware.com/TextExpander) “TextExpander saves your fingers and your keyboard, expanding custom keyboard shortcuts into frequently-used text and pictures”

  13. @2015, G.Nieri Hazel @ (http://www.noodlesoft.com/hazel.php) “Hazel watches whatever folders you tell it to, automatically organizing your files according to the rules you create.”

  14. @2015, G.Nieri @ Some ideas... Commands Text expansion Automated procedures Simple tasks ● URL shortening; ● Batch image ● Translate; ● Pretty printing; processing; ● Meteo; ● Minifying (simple); ● Batch upload&share; ● CSV display; ● List to sql; ● Currency; ● Encode/decode text ● Timezones; (url/html); ● Net infos; ● Links; File actions ● Image manipulation; ● Copy file names; ● Quick notes; Advanced ● Documenting; ● Text manager;

  15. @2015, G.Nieri Net info @

  16. @2015, G.Nieri @ … in depth... - Input is passed to a script via a {query} placeholder; - Script filter (simplified) <?xml version="1.0"?> <items> <item uid="1" arg="VALUE" valid="YES" autocomplete="option"> <title>Option1</title> <subtitle>First option</subtitle> <icon>icon.png</icon> </item> </items>

  17. @2015, G.Nieri Time zones @

  18. @2015, G.Nieri Translate @

  19. @2015, G.Nieri Quick notes @

  20. @2015, G.Nieri @ Currency converter

  21. @2015, G.Nieri Text manager @

  22. @2015, G.Nieri Pretty print @

  23. Documenting @2015, G.Nieri @

  24. @2015, G.Nieri @ Image manipulation

  25. @2015, G.Nieri Copy file names @

  26. @2015, G.Nieri Meteo @

  27. @2015, G.Nieri #6 - CSV Display @

  28. @2015, G.Nieri @ Links ,,curl ,,ctitle ,,clinkm ,,clinkh

  29. @2015, G.Nieri Url shortening @ ,,cshort

  30. @2015, G.Nieri List to SQL @ ,,listsql

  31. @2015, G.Nieri Encode/Decode text @ ,,urlencode ,,urldecode

  32. @2015, G.Nieri @ Batch image processing

  33. @2015, G.Nieri Batch upload and share @

  34. @2015, G.Nieri @ Conclusion Where to go from here? - Think which are the most repetitive/sensitive action you do on a daily basis and try to automate them, you literraly have no limits; - Learn about automation on mobile (Android: Tasker, iOS: Workflow, Pythonista, Drafts);

  35. @2015, G.Nieri @ Conclusion Thanks everybody! You can find all the scripts here: http://www.gianlucanieri.com/ep2015/ If you want you can contact me at: gianluca@gianlucanieri.com

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend