File tree Expand file tree Collapse file tree 3 files changed +22
-20
lines changed
Expand file tree Collapse file tree 3 files changed +22
-20
lines changed Original file line number Diff line number Diff line change 3131 - name : Publish distribution 📦 to Test PyPI
3232 uses : pypa/gh-action-pypi-publish@master
3333 with :
34- password : ${{ secrets.PYPI_API_TOKEN }}
34+ password : ${{ secrets.test_pypi_password }}
3535 repository_url : https://test.pypi.org/legacy/
3636 - name : Publish distribution 📦 to PyPI
3737 if : startsWith(github.ref, 'refs/tags')
Original file line number Diff line number Diff line change 11## Annotation Json Schemas
22* [ General info] ( #general-info )
3- * [ Technologies] ( #technologies )
43* [ Setup] ( #setup )
54
65## General info
76This project is SuperAnnotate annotations JSON schema generator.
87
9- ## Technologies
10- Project is created with:
11- * Python 3.6 +
12- * Pydantic: 1.8 +
13-
14-
158## Setup
16- To run this projectnpm:
9+ ```
10+ $ pip install superannotate_schemas
11+ $ superannotate_schemas generate_schemas {path}
12+ ```
1713
14+ ## Example
15+ ```
16+ $ superannotate_schema validate <annotation_path>
17+ $ superannotate_schema validate <annotation_path>, <annotation_path>
1818```
19- $ cd ../JsonSchemas
20- $ pip install -r requirements.txt
21- $ python main.py generate_schemas {path}
22- ```
19+ - To print validation report set --verbose True
20+ - To store reports in the file set --report-path
Original file line number Diff line number Diff line change 11from setuptools import setup
2- from setuptools import find_packages
2+ from pathlib import Path
3+
4+ this_directory = Path (__file__ ).parent
5+ long_description = (this_directory / "README.md" ).read_text ()
6+
37
48setup (
59 name = 'superannotate_schemas' ,
6- version = '0.0.1' ,
7- packages = find_packages ('src' ),
10+ long_description = long_description ,
11+ long_description_content_type = 'text/markdown' ,
12+ version = '1.0' ,
813 package_dir = {"" : "src" },
914 description = 'SuperAnnotate JSON Schemas' ,
1015 author = 'Vaghinak Basentsyan' ,
1318 license = 'MIT' ,
1419 description_file = "README.md" ,
1520 entry_points = {
16- 'console_scripts' : ['superannotate_schemas = superannotate_schemas.bin.app:main' ]
17- },
18- python_requires = '>=3.6'
19- )
21+ 'console_scripts' : ['superannotate_schemas = bin.app:main' ]
22+ },
23+ )
You can’t perform that action at this time.
0 commit comments