Skip to content

Commit

Permalink
feat(xmllib): add helpers from excel2xml to xmllib (DEV-4316) (#1261
Browse files Browse the repository at this point in the history
)

Co-authored-by: Johannes Nussbaum <[email protected]>
  • Loading branch information
Nora-Olivia-Ammann and jnussbaum authored Nov 7, 2024
1 parent fb5f5a9 commit fb88558
Show file tree
Hide file tree
Showing 3 changed files with 535 additions and 22 deletions.
48 changes: 26 additions & 22 deletions src/dsp_tools/xmllib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
from .helpers import create_label_to_name_list_node_mapping as create_label_to_name_list_node_mapping
from .models.config_options import NewlineReplacement as NewlineReplacement
from .models.config_options import Permissions as Permissions
from .models.dsp_base_resources import AnnotationResource as AnnotationResource
from .models.dsp_base_resources import AudioSegmentResource as AudioSegmentResource
from .models.dsp_base_resources import LinkResource as LinkResource
from .models.dsp_base_resources import RegionResource as RegionResource
from .models.dsp_base_resources import VideoSegmentResource as VideoSegmentResource
from .models.resource import Resource as Resource
from .models.root import XMLRoot as XMLRoot
from .value_checkers import find_geometry_problem as find_geometry_problem
from .value_checkers import is_bool_like as is_bool_like
from .value_checkers import is_color as is_color
from .value_checkers import is_date as is_date
from .value_checkers import is_decimal as is_decimal
from .value_checkers import is_dsp_ark as is_dsp_ark
from .value_checkers import is_dsp_iri as is_dsp_iri
from .value_checkers import is_geoname as is_geoname
from .value_checkers import is_integer as is_integer
from .value_checkers import is_nonempty_value as is_nonempty_value
from .value_checkers import is_string_like as is_string_like
from .value_checkers import is_timestamp as is_timestamp
from .helpers import create_label_to_name_list_node_mapping
from .helpers import escape_reserved_xml_characters
from .helpers import find_date_in_string
from .helpers import make_xsd_compatible_id
from .helpers import make_xsd_compatible_id_with_uuid
from .models.config_options import NewlineReplacement
from .models.config_options import Permissions
from .models.dsp_base_resources import AnnotationResource
from .models.dsp_base_resources import AudioSegmentResource
from .models.dsp_base_resources import LinkResource
from .models.dsp_base_resources import RegionResource
from .models.dsp_base_resources import VideoSegmentResource
from .models.resource import Resource
from .models.root import XMLRoot
from .value_checkers import find_geometry_problem
from .value_checkers import is_bool_like
from .value_checkers import is_color
from .value_checkers import is_date
from .value_checkers import is_decimal
from .value_checkers import is_dsp_ark
from .value_checkers import is_dsp_iri
from .value_checkers import is_geoname
from .value_checkers import is_integer
from .value_checkers import is_nonempty_value
from .value_checkers import is_string_like
from .value_checkers import is_timestamp
from .value_converters import convert_to_bool_string
from .value_converters import replace_newlines_with_br_tags
from .value_converters import replace_newlines_with_paragraph_tags
Expand Down
Loading

0 comments on commit fb88558

Please sign in to comment.