Skip to main content

Mycroft Skills Manager

Project description

Mycroft Skills Manager

Mycroft Skills Manager is a command line tool and a python module for interacting with the mycroft-skills repository. It allows querying the repository for information (skill listings, skill meta data, etc) and of course installing and removing skills from the system.

Install

pip install msm

Usage

from msm import MycroftSkillsManager, SkillRepo, MultipleSkillMatches

msm = MycroftSkillsManager(repo=SkillRepo(branch='master'))

# msm = MycroftSkillsManager(platform='picroft', skills_dir='/some/path', repo=SkillRepo(branch='master', url='https://github.com/me/my-repo.git'))

print(msm.find_skill('bitcoin price'))
msm.install('bitcoin', 'dmp1ce')
print(msm.list())
print(msm.find_skill("https://github.com/JarbasAl/skill-stephen-hawking"))
msm.update()
msm.install_defaults()

try:
    msm.install('google')
except MultipleSkillMatches as e:
    e.skills[0].install()
msm -b master install bitcoin
msm -b master -p kde default
# ...

TODO

  • Parse readme.md from skills

New Features

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

Credits

JarbasAI/py_msm and Mycroft AI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

msm-0.9.0.tar.gz (21.9 kB view hashes)

Uploaded Source

Built Distribution

msm-0.9.0-py3-none-any.whl (27.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page