question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: pyscript/ subdirectories

See original GitHub issue

In line with recent changes to master to allow for “apps” and YAML based configuration, allowing subdirectories inside of pyscript/ would make keeping separate applications under revision control much easier.

cd pyscript/
git clone http://github.com/dlashua/occupancy_manager.git

which would create files like:

pyscript/
  occupancy_manager/
    occupany_manager.py
    README.md
    configuration.sample.yaml

and allow commands like:

git pull
git commit
git push

This also lines pyscript applications up to be included in HACS (with HACS cooperation, of course) the same way that AppDaemon, NetDaemon, and python_script apps are included in the “Automations” section.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
craigbarrattcommented, Oct 4, 2020

Implemented with referenced commit.

0reactions
dlashuacommented, Oct 3, 2020

This sounds excellent!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature Request: Automatic reloading for existing scripts? #74
I've added reload upon any yaml file changes below pyscript . That will re-parse the main config and only reload apps whose config...
Read more >
Reference — hacs-pyscript 1.3.3 documentation
This package form is most convenient for sharing pyscript code, since all the files for one application are stored in their own directory....
Read more >
Pyscript! are you using it? - Configuration
isn't it possible to use subfolders in pyscript? ... Make a Feature Request PR with your use case though, if it's something you...
Read more >
A First Look at PyScript: Python in the Web Browser
In this tutorial, you'll learn about PyScript, a new framework ... Wouldn't it be better to always request a specific version of PyScript?...
Read more >
Python Web Apps, Running Locally with pyscript - YouTube
Can we build a pyscript (client-side Python) web app that loads super quick and doesn't lag during startup? Could we create one that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found