pybooklid
A simple library to get readings from MacBooks lid angle sensor
File Explorer
- monitor_app.py
- simple_usage.py
- __init__.py
- macbook_lid.py
- .gitignore
- LICENSE.md
- MANIFEST.in
- pyproject.toml
- README.md
- requirements.txt
- setup.py
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
brew install
View Details ▼
brew install
Install a Homebrew formula or cask.
brew install {{formula|cask}}
Install a formula/cask:
brew install {{[-s|--build-from-source]}} {{formula}}
Build and install a formula from source (dependencies will still be installed from bottles):
brew install {{[-n|--dry-run]}} {{formula|cask}}
Download the manifest, print what would be installed but don't actually install anything:
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
pass
View Details ▼
pass
Store and read passwords or other sensitive data.
All data is GPG-encrypted, and managed with a Git repository.
pass init {{gpg_id_1 gpg_id_2 ...}}
Initialize (or re-encrypt) the storage using one or more GPG IDs:
pass insert {{[-m|--multiline]}} {{path/to/data}}
Save a new password and additional information (press `<Ctrl d>` on a new line to complete):
pass edit {{path/to/data}}
Edit an entry:
pip install
View Details ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
pip show
View Details ▼
pip show
Show information about installed packages.
pip show {{package}}
Show information about a package:
pip show {{[-v|--verbose]}} {{package}}
Show all information about a package:
pip show {{[-f|--files]}} {{package}}
Show all installed files for a package:
