Metadata-Version: 2.1
Name: sliceri18n
Version: 1.0.1
Summary: Python package that contains tools for internationalization of applications that use Python and Qt
Home-page: https://github.com/Slicer/sliceri18n.git
Author: Allen Institute for Artificial Intelligence
Author-email: contact@allenai.org
License: Apache
Platform: UNKNOWN
Classifier: Intended Audience :: Science/Research
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: flake8 ; extra == 'dev'
Requires-Dist: mypy (==0.942) ; extra == 'dev'
Requires-Dist: black (==22.3.0) ; extra == 'dev'
Requires-Dist: isort (==5.10.1) ; extra == 'dev'
Requires-Dist: pytest ; extra == 'dev'
Requires-Dist: pytest-sphinx ; extra == 'dev'
Requires-Dist: pytest-cov ; extra == 'dev'
Requires-Dist: twine (>=1.11.0) ; extra == 'dev'
Requires-Dist: setuptools ; extra == 'dev'
Requires-Dist: wheel ; extra == 'dev'
Requires-Dist: Sphinx (<4.6.0,>=4.3.0) ; extra == 'dev'
Requires-Dist: furo (==2022.3.4) ; extra == 'dev'
Requires-Dist: myst-parser (<0.18.0,>=0.15.2) ; extra == 'dev'
Requires-Dist: sphinx-copybutton (==0.5.0) ; extra == 'dev'
Requires-Dist: sphinx-autobuild (==2021.3.14) ; extra == 'dev'
Requires-Dist: sphinx-autodoc-typehints ; extra == 'dev'
Requires-Dist: packaging ; extra == 'dev'

# sliceri18n
To use this tool, it is necessary to import the Extractor module as follows:

- from sliceri18n import Extractor

To make the extraction you have to call the extract function of the Extractor module by giving it in parameter either the .py file containing marked strings or a directory containing .py files

- Extractor.extract("DataProbe.py") #file
- Extractor.extract("Scripted") #folder

Then a .ts file will be generated


