Git Product home page Git Product logo

zzz-py_msm's Introduction

Py MSM

Mycroft Skill Manager, in python!

Development of this repository moved, get the latest version at MycroftAI/mycroft-skills-manager

Archived for Historical reasons only

install

pip install py_msm

Usage

from py_msm import MycroftSkillsManager

msm = MycroftSkillsManager()

# msm = MycroftSkillsManager(skills_config={"directory":"some/test/path"})

print msm.platform
print msm.default_skills
print msm.installed_skills
print msm.list_skills()
print msm.url_info("https://github.com/JarbasAl/skill-stephen-hawking")
print msm.name_info("date time")
msm.update_skills()
msm.remove_by_name("stephen hawking")
msm.install_by_name("diagnostics")
msm.install_defaults()
msm.remove_from_priority_list("skill-pairing")
msm.add_to_blacklist("skill-pairing")
msm.reload_skill("skill-pairing")

can also be used with jarbas-skills-repo

TODO

  • allow passing mycroft root dir in constructor (ensure mycroft is always found for import)
  • permissions issues in mark1/picroft - prepare_msm.sh script
  • get hashes before git pulling to decide if pip and res.sh should be run
  • ensure skill master branch is checked out, else dont update
  • use standard msm error codes
  • handle pip sudo if not in venv
  • requirements.sh guide / template
  • standalone command line util
  • mycroft skill with stats about skills repo and installed skills
  • auto create readme.md for skills
  • parse readme.md from skills
  • skiller.sh functionality
  • submit skill to skills repo
  • documentation

Extras

  • checks for skill_requirements.txt, will install skills listed there

troubleshooting

got problem? most likely you forgot

workon mycroft

this needs mycroft core installed to run, which in a desktop implies virtual env installation

Credits

JarbasAI

zzz-py_msm's People

Contributors

forslund avatar jarbasal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.