Family Link
A non-official Python package to interact with Google Family Link, to manage your kids' screen time.
Installation
pip install familylink
Usage as a CLI
Create a config.csv file with the following format:
App,Max Duration,Days,Time Ranges
Calculator,,, # always allowed
Youtube,0:10,Mon-Fri, # 10 minutes per day during weekdays
Youtube,0:30,Sat-Sun, # 30 minutes per day on weekends
Fortnite,1:00,Wed,13:00-18:00 # 1 hour on Wednesday, between 13:00 and 18:00
Fortnite,1:00,Sat-Sun,09:30-18:00 # 1 hour on weekends, between 09:30 and 18:00
Google Photos,0:10,, # 10 minutes everyday
The apps that are not in the list will be blocked.
python -m familylink.cli config.csv --dry-run # Remove --dry-run to apply changes
# or with uv
uvx familylink config.csv --dry-run
Usage as a library
Create a client
from familylink import FamilyLink
client = FamilyLink()
Set an app limit
client.set_app_limit("Spotify", 30) # in minutes
Block an app
client.block_app("Youtube")
Always allow an app
client.always_allow_app("Calculator")
Remove an app limit
client.remove_app_limit("Youtube")
List apps and usage
client.print_usage()
# ------------------------------
# Limited apps
# ------------------------------
# Spotify: Music and Podcasts: 30 minutes
#
# ------------------------------
# Blocked apps
# ------------------------------
# YouTube
#
# ------------------------------
# Always allowed apps
# ------------------------------
# Calculator
#
# ------------------------------
# Usage per app (today)
# ------------------------------
# Spotify: Music and Podcasts: 00:30:09
Metadata
Release files for familylink 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| familylink-0.1.8.tar.gz | 29.9 kB | Without provenance | Details for familylink-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| familylink-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for familylink-0.1.8-py3-none-any.whl |
Total release size: 39.8 kB
Release files / familylink-0.1.8.tar.gz
| Download URL | familylink-0.1.8.tar.gz |
|---|---|
| Size | 29.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35c3d493e88917f0fec499396683e401fe01dd0ab07a56c6c3fce53524d5342a
|
|
BLAKE2b-256 checksum How to use checksums |
f19ea2e745e7f9d3f20bd30ff2f801f37514c54bc35f57ffffcb416bdab6dc36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.5.11
|
Release files / familylink-0.1.8-py3-none-any.whl
| Download URL | familylink-0.1.8-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
835f358c0efbcc4b41ff5731c04117478fd4b49d78707372a939c3c92921d029
|
|
BLAKE2b-256 checksum How to use checksums |
def25627f11a0a98302b7e85b6fb69031b7fcf60e82e43fa66b3447d5977d313
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.5.11
|
Security for familylink 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.