Tools to convert Sublime Text snippets into Jetbrains live templates and vice versa
Project description
.. image:: https://img.shields.io/pypi/v/shortbus.svg
:target: https://pypi.python.org/pypi/shortbus
.. image:: https://img.shields.io/travis/brmc/shortbus.svg
:target: https://travis-ci.org/brmc/shortbus
.. image:: https://readthedocs.org/projects/shortbus/badge/?version=latest
:target: https://shortbus.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/brmc/shortbus/shield.svg
:target: https://pyup.io/repos/github/brmc/shortbus/
:alt: Updates
========
shortbus
========
Tools to convert Sublime Text snippets into Jetbrains live templates and vice versa
* Free software: MIT license
* Documentation: https://shortbus.readthedocs.io.
Requirements:
-------------
- python3.6+
- lxml
- pyyaml
Quick Start
-----------
Install library:
.. code-block:: console
$ pip install shortbus
Do stuff:
.. code-block:: python
transpilers.import_from_yml('./my.yml')
.import_from_sublimetext('~/path/to/sublimetext/snippetdir/)
.import_from_jetbrains('~/.PyCharm2016.3/config/liveTemplates/Djaneiro.xml')
.export_to_jetbrains('shortbus.xml')
.export_to_yml('shortbus.yml')
.. include:: ./docs/ymlsyntax.rst
=======
History
=======
0.1.0 (2017-02-12)
------------------
* First release on PyPI.
:target: https://pypi.python.org/pypi/shortbus
.. image:: https://img.shields.io/travis/brmc/shortbus.svg
:target: https://travis-ci.org/brmc/shortbus
.. image:: https://readthedocs.org/projects/shortbus/badge/?version=latest
:target: https://shortbus.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/brmc/shortbus/shield.svg
:target: https://pyup.io/repos/github/brmc/shortbus/
:alt: Updates
========
shortbus
========
Tools to convert Sublime Text snippets into Jetbrains live templates and vice versa
* Free software: MIT license
* Documentation: https://shortbus.readthedocs.io.
Requirements:
-------------
- python3.6+
- lxml
- pyyaml
Quick Start
-----------
Install library:
.. code-block:: console
$ pip install shortbus
Do stuff:
.. code-block:: python
transpilers.import_from_yml('./my.yml')
.import_from_sublimetext('~/path/to/sublimetext/snippetdir/)
.import_from_jetbrains('~/.PyCharm2016.3/config/liveTemplates/Djaneiro.xml')
.export_to_jetbrains('shortbus.xml')
.export_to_yml('shortbus.yml')
.. include:: ./docs/ymlsyntax.rst
=======
History
=======
0.1.0 (2017-02-12)
------------------
* First release on PyPI.
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
shortbus-0.1.0.tar.gz
(25.7 kB
view hashes)
Built Distribution
Close
Hashes for shortbus-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b033f3718677521f63edd007065db32c57a42809d1b9c1cc65b5723e6f04f190 |
|
MD5 | 5904342e195ee8a4fef432a160f4bb29 |
|
BLAKE2b-256 | d86b42714805330b03ad69d98a260f5c343511911a4230d68517ecb5b2b1d657 |