Stream Notes for November 15, 2020 #LiveCoding
youtube: https://www.youtube.com/watch?v=IOtS6LFGtUo
Notes
GOAL: Figure out how to use “entry points” and pipx to install a python script as a command line too.
Got it to work… Mostly. I’ve got the file installing and working when I don’t call any external files. As soon as I do that, it errors out.
I’m still surprised that I haven’t hit on direct documentation for this stuff yet. Makes me think that folks must not do it very much. But, I wonder if part of that is because it’s not well documented. A self-re-enforcing circle.
Links From The Stream
- jhooks
- #958816 - “pipx makes unsupported use of pip internals” - Debian Bug report logs
- (1) how create folder in root of project? : vscode
- 11 Useful split command examples for Linux/UNIX systems
- 8 Best Desktop Environments For Linux in 2020
- Amazon Lightsail
- architecture - What is the preferred way to store application configurations?…
- Ask Different: What do I type to produce the command symbol (⌘) in Mac OS X?
- Associate File Types in VS Code. I love a good editor. All of the great… | by…
- black/setup.py at master · psf/black
- Building a Second Brain
- Building and Distributing Packages with Setuptools — setuptools 50.3.2 documentation
- Building Beautiful Command Line Interfaces with Python | by Oyetoke Tobi…
- Codespaces
- Command Line Scripts — Python Packaging Tutorial
- cowsay is the Most Important Unix-like Command Ever | by Jason Rigden | Medium
- cowsay-python/main.py at master · VaasuDevanS/cowsay-python
- CSS Font-Size Test
- DBeaver Documentation – DBeaver
- docopt—language for description of command-line interfaces
- Docs - pipx
- Donovan Brown | How to change the language mode of an unsaved file in VS Code
- Entry points specification — Python Packaging User Guide
- Entry Points — setuptools 50.3.2 documentation
- Foam | A personal knowledge management and sharing system for VSCode
- Foam | A personal knowledge management and sharing system for VSCode
- Get a list of filenames using argparse (updated to use default formatter)
- Get Started Tutorial for Python in Visual Studio Code
- Getting Started • Zettelkasten Method
- GitHub: black - The uncompromising Python code formatter (from psf)
- GitHub: cookiecutter - A command-line utility that creates projects from…
- GitHub: foam-template - Foam workpace template (from foambubble)
- GitHub: mdx - JSX in Markdown for ambitious projects (from mdx-js)
- GitHub: pipx - Install and Run Python Applications in Isolated Environments…
- GitHub: python-project-template - A template for Python Projects. INSERT…
- GitHub: SectorTool - A CLI application for generating sct2 data from FAA NASR…
- GitHub: shell-functools - Functional programming tools for the shell (from sharkdp)
- GitHub: specification - MDX language and AST definitions (from mdx-js)
- Glossary — Python Packaging User Guide
- Good Integration Practices — pytest documentation
- Google Search: 7 point font
- Google Search: amazon web services website lightsail
- Google Search: apple type splat command symbol
- Google Search: argpare optional
- Google Search: argsparse
- Google Search: argsparse glob python
- Google Search: arrsparse nargs
- Google Search: assembly languate
- Google Search: bash join
- Google Search: bash split command
- Google Search: bash split string
- Google Search: best practice for installing a python command line tool
- Google Search: best way to handle config files in projects
- Google Search: code the hidden lanague of coputers
- Google Search: cowsay python
- Google Search: cowsay python
- Google Search: dbeaver config file
- Google Search: edit vscode theme
- Google Search: elemenry os
- Google Search: filenames to test for an app
- Google Search: foam template
- Google Search: freenas
- Google Search: github codespace
- Google Search: goolge score speed
- Google Search: install command line module in python local
- Google Search: install python command line tool
- Google Search: join bash string array
- Google Search: jsx
- Google Search: keyboard maestro array
- Google Search: keyboard maestro error log
- Google Search: keyboard maestro modulo
- Google Search: keyboard maestro window count specific app
- Google Search: let vs code know a file is python
- Google Search: mac sec exteded regex not working
- Google Search: mac sed regex
- Google Search: machine language
- Google Search: make a command line tool
- Google Search: man bash read
- Google Search: mdx js
- Google Search: mod programming
- Google Search: ModuleNotFoundError:
- Google Search: mrna
- Google Search: mysql
- Google Search: nvultra
- Google Search: org-roam
- Google Search: package no module
- Google Search: pass glob pattern to argsparse python
- Google Search: php framework
- Google Search: pip install local module
- Google Search: pipx
- Google Search: pipx example
- Google Search: pipx ModuleNotFoundError
- Google Search: pycowsay
- Google Search: pyhton argparse
- Google Search: python argparse
- Google Search: python black
- Google Search: python cli
- Google Search: python cli entry point
- Google Search: python command line tool
- Google Search: python cookiecutter
- Google Search: python define files in package
- Google Search: python docopt
- Google Search: python entry point
- Google Search: python entry point class
- Google Search: python entry point command line
- Google Search: python entry points
- Google Search: python module layout
- Google Search: python module package
- Google Search: python setup.py develop
- Google Search: python setup.py file
- Google Search: regex all non words execpt dot
- Google Search: sectortools github
- Google Search: sed \s space
- Google Search: sed end of line
- Google Search: sed mac not working
- Google Search: sed match group
- Google Search: sed match non word character
- Google Search: sed match non word character but not a dot
- Google Search: sed word characters
- Google Search: setup.py entry point
- Google Search: shell-functools python
- Google Search: spotify listening
- Google Search: swift language
- Google Search: vs code association for a file no extension
- Google Search: vs code change language mode
- Google Search: vs code make file in root dir of project
- Google Search: vs code treat file as python without extension
- Google Search: Zettelkasten
- Guides | Chris Warrick
- How to Build Command Line Interfaces in Python With argparse – Real Python
- How to capture patterns in glob style with Python 2.7 argparse
- How to match whitespace in sed? - Super User
- How to set up a perfect Python project
- Installation - pipx
- Installing Packages — Python Packaging User Guide
- Installing stand alone command line tools — Python Packaging User Guide
- Introducing JSX – React
- Keyboard Maestro 6 Documentation
- Keyboard Maestro Discourse: How to “see” complete error message in…
- Keyboard Maestro Discourse: How to check for the presence of a hidden window?
- Keyboard Maestro Discourse: How to do modulus calculation in maestro 7
- Keyboard Maestro Wiki: action:Activate a Specific Application
- Keyboard Maestro Wiki: manual:Calculations
- Keyboard Maestro Wiki: manual:Variables
- Keyboard Maestro Wiki: Tokens
- Language Support in Visual Studio Code
- Learn to Build on AWS - Websites
- Let’s Build a CLI | Command Line Interface Tutorial by thoughtbot
- Linux and Unix join command tutorial with examples | George Ornbo
- ModuleNotFoundError: No module named ‘pip._vendor.six’ when running “pipx…
- MySQL
- No module named pip · Issue #278 · pipxproject/pipx
- nvUltra - Searchable, portable, MultiMarkdown notes
- Org-roam
- Org-roam User Manual
- OS X sed does not recognize \t as TAB character
- Packaging Python Projects — Python Packaging User Guide
- PageSpeed Insights
- PostgreSQL: The world’s most advanced open source database
- Programs to Try - pipx
- pycowsay/setup.py at master · cs01/pycowsay
- PyPI: endpoints
- PyPI: pycowsay
- Python 3.9.0 Documentation: 1. An Introduction to Distutils
- Python 3.9.0 Documentation: Argparse Tutorial
- Python 3.9.0 Documentation: argparse — Parser for command-line options,…
- Python 3.9.0 Documentation: argparse — Parser for command-line options,…
- Python 3.9.0 Documentation: argparse — Parser for command-line options,…
- Python 3.9.0 Documentation: Installing Python Modules
- Python Application Layouts: A Reference – Real Python
- Python Apps the Right Way: entry points and scripts | Chris Warrick
- Python Entry Points Explained
- Quickstart — Click Documentation (7.x)
- Quickstart — Click Documentation (7.x)
- read man page
- regexp extensions (sed, a stream editor)
- regular expression - How to detect end of line with sed - Unix & Linux Stack Exchange
- Sample Font Sizes
- Sector, the future of MDX, and Digital Gardens from @chrisbiscardi on @eggheadio
- sed - BSD/macOS Sed vs. GNU Sed vs. the POSIX Sed specification | sed Tutorial
- shell-functools/setup.py at master · sharkdp/shell-functools
- Spotify Premium users can now host a listening party with up to five friends - The Verge
- Stack Overflow: ^[:blank:] does not match dot in sed
- Stack Overflow: Argparse optional positional arguments?
- Stack Overflow: Assign file with no extension to a language on VS Code as default
- Stack Overflow: Can’t Create Python Project Tests via Hitchhiker’s Guide To Python Method
- Stack Overflow: Explain Python entry points?
- Stack Overflow: How can I join elements of an array in Bash?
- Stack Overflow: How do I split a string on a delimiter in Bash?
- Stack Overflow: How to make VS Code treat files without extension as a certain language?
- Stack Overflow: How to pass files to script with glob AND specific path, with…
- Stack Overflow: ImportError: No module named package
- Stack Overflow: Importing modules into test via Hitchhiker method
- Stack Overflow: python pip - install from local dir
- Stack Overflow: Python setup.py develop vs install
- Stack Overflow: Python: ‘ModuleNotFoundError’ when trying to import module…
- Stack Overflow: Regex replace non-word except dash
- Stack Overflow: Relative imports in Python 3
- Stack Overflow: Sed regex problem on Mac, works fine on Linux
- Stack Overflow: sed replacement command not working on Mac
- Stack Overflow: sed: print only matching group
- Stack Overflow: Show/hide Finder, and create new window if none exist via AppleScript
- Stack Overflow: vscode settings - How to make VS Code to treat other file…
- Stack Overflow: What’s the easiest way to deal with project configuration files?
- Structuring Your Project — The Hitchhiker’s Guide to Python
- Swift - Apple Developer
- The “s” Command (sed, a stream editor)
- The fast, open, and privacy-respecting replacement for Windows and macOS ⋅ elementary OS
- The three laws of config dynamics | by Francesco Negri | buildo blog
- Theme Color | Visual Studio Code Extension API
- Traps for the Unwary in Python’s Import System — Nick Coghlan’s Python Notes…
- Twitter: :party-corgi: - What does the docker/k8s/etc of monorepo tooling…
- Twitter: @4lpine (John Otander)
- Twitter: @kurtkemple (theworstdev)
- Twitter: @sectortools (sector)
- Visual Studio Code - How to associate file extension to a known programming…
- Visual Studio Code language identifiers
- Visual Studio Code Themes
- Welcome to Click — Click Documentation (7.x)
- Welcome to TwitchIO’s documentation! — TwitchIO 0.0.4a documentation
- Why is my regex not working using sed in bash script on Mac OSX? - Unix &…
- Wikipedia: Code: The Hidden Language of Computer Hardware and Software
- Wikipedia: Command key
- Wikipedia: Input Field Separators
- Wikipedia: Machine code
- Wikipedia: Messenger RNA
- Wikipedia: Modulo operation
- Wikipedia: Motorola 6800 Assembly Language - Assembly language
- Wikipedia: Zettelkasten
- YouTube: 16. The Social Permeability of Reader and Text
2020
Random Related Links
Stream Notes for November 14, 2020 #LiveCoding
{{ youtube: https://www.youtube.com/watch?v=kaDQ5FA3mU4 }} Notes Using Keyboard Maestro to split Sublime Text windows for review Messing…
- Live Coding
Fixing YouTube's Autoplay To Play Consistently With Mute If Necessary - #LiveCoding
Timestamps Start: 00:00:00 - Get YouTube Autoplay Working (Hugo Shortcodes specifically). You can read about the fix here: Updating…
- Live Coding
Working On A snake_case_renamber in Bash ~ Stream Notes for November 13, 2020 #LiveCoding
youtube: https://www.youtube.com/watch?v=Z4nFsFDfG0U Notes Working on a snake_case_renamer to batch rename files in bash. Links From The…
- Live Coding
Switching To Mac's Keychain App for Storing Credentials - #LiveCoding
youtube: https://www.youtube.com/watch?v=LNQv3BivTnU Today I Learned Type -i before / in man pages to do a case insensitive search…
- Live Coding
Updating My Keyboard Maestro Stream Setup Macro And Finding A Bug - #LiveCoding Stream Notes for October 26, 2020
youtube: https://www.youtube.com/watch?v=UsELjrRoDyY Timestamps Figured out how to use Menu Conditions to close windows in BBEdit, Sublime…
- Live Coding
Playing with Selenium for Scraping and Screenshots
youtube: https://www.youtube.com/watch?v=orD-U9_qoRs Slimer.js (Nope, Selenium) - Time: 00:00:00 I ran into Slimer.js in one of my feeds…
- Live Coding
Setting Up A Twitch ChatBot - #LiveCoding
youtube: https://www.youtube.com/watch?v=GT4BltFM_g4 Timestamps Start: 00:00:00 - Messing with my window resizer Time: 00:41:00 - Setting…
- Live Coding
Buliding A Fast Turn-Around Election Tracker - Stream Notes for November 6, 2020 #LiveCoding
youtube: https://www.youtube.com/watch?v=PZwpk5HrTQw Notes Seeing if I can build my own election tracker before the election is over. Made…
- Live Coding
Creating a JavaScript Alphabetize Form #LiveCoding
Part 1 - before an internet outage youtube: https://www.youtube.com/watch?v=NR6FOgDLAH4 Part 2 - after the outage: youtube: https://www…
- Live Coding
Moving RegEx Patterns Into Unittests - #LiveCoding
youtube: https://www.youtube.com/watch?v=-ngfaO4Esk8 Timestamps Start: 00:00:00 Setup testing for the regex patterns in my page archiver…
- Live Coding
Creating An Amazon AWS WorkSpace And Not Quite Getting It To Connect To RedShift On A Different VPC
- Live Coding
Building a local version of Giphy - Part 1 #LiveCoding
NOTE: Currently commented out to get working with MDX - TODO: Get working with MDX Goal A web page on my local MAMP server that displays my…
- Live Coding
Trying To Deploy My Automatic NASA Music Video Maker to EC2 - Stream Notes for November 9, 2020 #LiveCoding
youtube: https://www.youtube.com/watch?v=PjFvWw2_2pg Notes GOAL: Deploying My Automatic NASA Music Video Maker to EC2. Took a LOT of work…
- Live Coding
Install Django and Pulling URLs and Titles from Safari Tabs - Parts 1 and 2
youtube: https://www.youtube.com/watch?v=WoAD9nUEQJA youtube: https://www.youtube.com/watch?v=pDlonZSL6q4 Time: 00:00:00 TextExpander ISO…
- Live Coding
Stream Notes for November 18, 2020 #LiveCoding
youtube: https://www.youtube.com/watch?v=85WrV_oMcR8 Notes Finishing a snake_case_renamer Python Command Line Tool Links From The Stream…
- Live Coding
Adding Time Zones To Make ISO 8601 DateTimes ~ Stream Notes for November 12, 2020 #LiveCoding
youtube: https://www.youtube.com/watch?v=hOJsdjDcTes Notes I've got a service that sends date/time stamps that are basically ISO 8601, but…
- Live Coding
Refactoring Video Assembler To Help With Testing - Stream Notes for November 4, 2020 #LiveCoding
youtube: https://www.youtube.com/watch?v=HQz3hpD48WE Notes Spent more time working on the Automatic Video Assembler. Refactored out a Video…
- Live Coding
Adding Tag Links to My Hugo Site Posts
NOTE: TODO: This page needs updates to work with MDX youtube: https://www.youtube.com/watch?v=t10aFJRpggU Goal: Get tags working on this…
- Live Coding
Building (and Finishing) a Safari URL and Title Puller - Part 3
youtube: https://www.youtube.com/watch?v=PRAT4RzP2Tg START - 00:00:00 Finishing Up The Safari Tab URL Puller Continuing work from the prior…
- Live Coding
Audio Stream Volume Tests
youtube: https://www.youtube.com/watch?v=4MVZ-6FdDcA Just some audio test to get a better feel of where to put the dials.
- Live Coding
Syntax Highlighting and Responsive Images
youtube: https://www.youtube.com/watch?v=G0Oo_2nPfcw 00:00 Styling Single Line Code Blocks I setup an external CSS stylesheet to do syntax…
- Live Coding
Stream Notes for October 27, 2020 #LiveCoding
youtube: https://www.youtube.com/watch?v=syD3nPoKLEk Progress Made Making the Browser URL Restore Script Looking at NASA's APIs Working to…
- Live Coding
Stream Notes for October 23, 2020 #LiveCoding
youtube: https://www.youtube.com/watch?v=_-J4gQsp-2I Timestamps Links From The Stream 5 Ways to Check Who Is Tracking You Online | MakeUseOf…
- Live Coding