AlexxIT/PythonScriptsPro is tracked by TopGit as an open-source project, with 149 stars on GitHub, written primarily in Python. Advanced version of python scripts for Home Assistant without limits
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Method 2. Manually copy python_script folder from latest release to custom_components folder.
Configuration
Important: The component replaces the standard python_script component!
Add to configuration.yaml:
python_script: # no S at the end!
If you need to use additional python libraries, the component can install them:
python_script:
requirements:
- paramiko>=2.7.1
Use python_script.exec service
The component creates the python_script.exec service.
You can run an external python script located in any folder (use file param).
Or you can paste python source code directly into your YAML (use source param).
You can import and use any library in your python scripts. The standard python_script component does not allow this.
You can pass any variables to your script, just like in the standard python_script.
The component compile and caches the executable code for faster next launch. If you want change python file without reload HA, you can disable cache with the cache: false param.
Starting from Home Assistant 2023.7 the service will return all your script local vars with simple types as respond.
The following variables are available in the script:
hass - The Home Assistant API
data - The data passed to the Python Script service call
logger - A logger to allow you to log messages
Run script from python file
Show Home Assistant start time in Notification. Using my another component StartTime. Pass variable to script.
script:
test_file:
sequence:
- service: python_script.exec
data_template: # use `data_template` if you have Jinja2 templates in params
file: path_to/test_file.py # relative path from config folder
cache: false # disable cache if you want change python file without reload HA
title: Python from file test
time_val: "{{ states('sensor.start_time')|round }}"
test_file.py
logger.debug(data)
hass.services.call('persistent_notification', 'create', {
'title': data['title'],
'message': f"Home Assistant starts in { data['time_val'] } seconds"
})
out1 = 123 # some var for service respond
Run script from inline source
Show your IP address in Notification. Using requests library. It is installed by default with Home Assistant.
How active is development on AlexxIT/PythonScriptsPro?
The most recent commit recorded on AlexxIT/PythonScriptsPro was 4 months ago, based on the GitHub push timestamp. The repository has 17 forks — one of the better signals of community interest.
How many stars does AlexxIT/PythonScriptsPro have?
AlexxIT/PythonScriptsPro has 149 GitHub stars — refresh the page for the live number, or check github.com/AlexxIT/PythonScriptsPro. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is AlexxIT/PythonScriptsPro open source?
TopGit's metadata for AlexxIT/PythonScriptsPro does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
What is AlexxIT/PythonScriptsPro?
AlexxIT/PythonScriptsPro (AlexxIT/PythonScriptsPro) is a Python project on GitHub. From the project's own README: Advanced version of python scripts for Home Assistant without limits
What language is AlexxIT/PythonScriptsPro written in?
AlexxIT/PythonScriptsPro is written primarily in Python. GitHub's language field is based on the largest share of bytes in the default branch.
Where do I read more about AlexxIT/PythonScriptsPro?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/AlexxIT/PythonScriptsPro is the definitive source.
Read full README in the tab above.
Curious whether PythonScriptsPro is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about PythonScriptsPro.