How to use the abjad.tools.systemtools function in abjad

To help you get started, we’ve selected a few abjad examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Abjad / abjad / abjad / tools / developerscripttools / SvnAddAllScript.py View on Github external
def process_args(self, args):
        command = 'svn st {}'.format(args.path)
        process = subprocess.Popen(command,
            shell=True,
            stdout=subprocess.PIPE,
            stderr=subprocess.PIPE
            )
        lines = process.stdout.readlines()
        for line in lines:
            if line.startswith('?'):
                command = 'svn add {}'.format(line.split()[-1])
                systemtools.IOManager.spawn_subprocess(command)
github josiah-wolf-oberholtzer / supriya / supriya / tools / webguitools / __init__.py View on Github external
"""
Tools for interacting with supriya via a web browser.
"""
from abjad.tools import systemtools


systemtools.ImportManager.import_structured_package(
    __path__[0],
    globals(),
    )
github Abjad / abjad / abjad / tools / rhythmmakertools / RestRhythmMaker.py View on Github external
def _attribute_manifest(self):
        from abjad.tools import rhythmmakertools
        from abjad.tools import systemtools
        return systemtools.AttributeManifest(
            systemtools.AttributeDetail(
                name='duration_spelling_specifier',
                command='dss',
                editor=rhythmmakertools.DurationSpellingSpecifier,
                ),
github Abjad / abjad / experimental / tools / scoremanagertools / wranglers / PackagesystemAssetWrangler / __init__.py View on Github external
# -*- encoding: utf-8 -*-
from abjad.tools import systemtools

systemtools.ImportManager.import_structured_package(
	__path__[0],
	globals(),
	)
github Abjad / abjad / trunk / abjad / tools / durationtools / __init__.py View on Github external
# -*- encoding: utf-8 -*-
from abjad.tools import systemtools

systemtools.ImportManager.import_structured_package(
	__path__[0],
	globals(),
	package_root_name='abjad')

_documentation_section = 'core'
github Abjad / abjad / abjad / tools / systemtools / AttributeManifest.py View on Github external
def __init__(self, *attribute_details):
        from abjad.tools import systemtools
        self._attribute_details = []
        for attribute_detail in attribute_details:
            if not isinstance(attribute_detail, systemtools.AttributeDetail):
                attribute_detail = systemtools.AttributeDetail(
                    *attribute_detail)
            self.attribute_details.append(attribute_detail)
github Abjad / abjad / experimental / tools / musicexpressiontools / SpecificationInterface.py View on Github external
def __format__(self, format_specification=''):
        r'''Formats specification interface.

        Set `format_specification` to `''` or `'format'`.
        Interprets `''` equal to `'storage'`.

        Returns string.
        '''
        from abjad.tools import systemtools
        if format_specification in ('', 'storage'):
            return systemtools.StorageFormatManager.get_storage_format(self)
        return str(self)
github Abjad / abjad / experimental / tools / interpolationtools / __init__.py View on Github external
from abjad.tools import systemtools


systemtools.ImportManager.import_structured_package(
    __path__[0],
    globals(),
    )

_documentation_section = 'unstable'
github Abjad / abjad / scoremanager / editors / MarkupInventoryEditor.py View on Github external
def _attribute_manifest(self):
        from abjad.tools import systemtools
        return systemtools.AttributeManifest(
            markuptools.MarkupInventory,
            )
github josiah-wolf-oberholtzer / consort / makers / DependentTimespanMaker.py View on Github external
def _attribute_manifest(self):
        from abjad.tools import systemtools
        from scoremanager import idetools
        return systemtools.AttributeManifest(
            systemtools.AttributeDetail(
                name='can_split',
                display_string='can split',
                command='cp',
                editor=idetools.getters.get_boolean,
                ),
            systemtools.AttributeDetail(
                name='minimum_duration',
                display_string='minimum duration',
                command='md',
                editor=idetools.getters.get_duration,
                ),
            systemtools.AttributeDetail(
                name='labels',
                display_string='labels',
                command='l',