pycocowriter 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,172 @@
1
+ # Data
2
+ /data/
3
+
4
+ # Mac OS-specific storage files
5
+ .DS_Store
6
+
7
+ # vim
8
+ *.swp
9
+ *.swo
10
+
11
+ ## https://github.com/github/gitignore/blob/4488915eec0b3a45b5c63ead28f286819c0917de/Python.gitignore
12
+
13
+ # Byte-compiled / optimized / DLL files
14
+ __pycache__/
15
+ *.py[cod]
16
+ *$py.class
17
+
18
+ # C extensions
19
+ *.so
20
+
21
+ # Distribution / packaging
22
+ .Python
23
+ build/
24
+ develop-eggs/
25
+ dist/
26
+ downloads/
27
+ eggs/
28
+ .eggs/
29
+ lib/
30
+ lib64/
31
+ parts/
32
+ sdist/
33
+ var/
34
+ wheels/
35
+ share/python-wheels/
36
+ *.egg-info/
37
+ .installed.cfg
38
+ *.egg
39
+ MANIFEST
40
+
41
+ # PyInstaller
42
+ # Usually these files are written by a python script from a template
43
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
44
+ *.manifest
45
+ *.spec
46
+
47
+ # Installer logs
48
+ pip-log.txt
49
+ pip-delete-this-directory.txt
50
+
51
+ # Unit test / coverage reports
52
+ htmlcov/
53
+ .tox/
54
+ .nox/
55
+ .coverage
56
+ .coverage.*
57
+ .cache
58
+ nosetests.xml
59
+ coverage.xml
60
+ *.cover
61
+ *.py,cover
62
+ .hypothesis/
63
+ .pytest_cache/
64
+ cover/
65
+
66
+ # Translations
67
+ *.mo
68
+ *.pot
69
+
70
+ # Django stuff:
71
+ *.log
72
+ local_settings.py
73
+ db.sqlite3
74
+ db.sqlite3-journal
75
+
76
+ # Flask stuff:
77
+ instance/
78
+ .webassets-cache
79
+
80
+ # Scrapy stuff:
81
+ .scrapy
82
+
83
+ # MkDocs documentation
84
+ docs/site/
85
+
86
+ # PyBuilder
87
+ .pybuilder/
88
+ target/
89
+
90
+ # Jupyter Notebook
91
+ .ipynb_checkpoints
92
+
93
+ # IPython
94
+ profile_default/
95
+ ipython_config.py
96
+
97
+ # pyenv
98
+ # For a library or package, you might want to ignore these files since the code is
99
+ # intended to run in multiple environments; otherwise, check them in:
100
+ # .python-version
101
+
102
+ # pipenv
103
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
104
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
105
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
106
+ # install all needed dependencies.
107
+ #Pipfile.lock
108
+
109
+ # poetry
110
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
111
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
112
+ # commonly ignored for libraries.
113
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
114
+ #poetry.lock
115
+
116
+ # pdm
117
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
118
+ #pdm.lock
119
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
120
+ # in version control.
121
+ # https://pdm.fming.dev/#use-with-ide
122
+ .pdm.toml
123
+
124
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
125
+ __pypackages__/
126
+
127
+ # Celery stuff
128
+ celerybeat-schedule
129
+ celerybeat.pid
130
+
131
+ # SageMath parsed files
132
+ *.sage.py
133
+
134
+ # Environments
135
+ .env
136
+ .venv
137
+ env/
138
+ venv/
139
+ ENV/
140
+ env.bak/
141
+ venv.bak/
142
+
143
+ # Spyder project settings
144
+ .spyderproject
145
+ .spyproject
146
+
147
+ # Rope project settings
148
+ .ropeproject
149
+
150
+ # mkdocs documentation
151
+ /site
152
+
153
+ # mypy
154
+ .mypy_cache/
155
+ .dmypy.json
156
+ dmypy.json
157
+
158
+ # Pyre type checker
159
+ .pyre/
160
+
161
+ # pytype static type analyzer
162
+ .pytype/
163
+
164
+ # Cython debug symbols
165
+ cython_debug/
166
+
167
+ # PyCharm
168
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
169
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
170
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
171
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
172
+ #.idea/
@@ -0,0 +1,132 @@
1
+ FOR ALL WORK SUBMITTED BY FEDERAL EMPLOYEES:
2
+
3
+ Software code created by U.S. Government employees is not subject to copyright in the United States
4
+ (17 U.S.C. §105). The United States/Department of Commerce reserve all rights to seek and obtain
5
+ copyright protection in countries other than the United States for Software authored in its entirety by the
6
+ Department of Commerce. To this end, the Department of Commerce hereby grants to Recipient a
7
+ royalty-free, nonexclusive license to use, copy, and create derivative works of the Software outside of the
8
+ United States.
9
+
10
+ FOR ALL WORK SUBMITTED BY NON-FEDERAL EMPLOYEES:
11
+
12
+ Creative Commons Legal Code
13
+
14
+ CC0 1.0 Universal
15
+
16
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
17
+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
18
+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
19
+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
20
+ REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
21
+ PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
22
+ THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
23
+ HEREUNDER.
24
+
25
+ Statement of Purpose
26
+
27
+ The laws of most jurisdictions throughout the world automatically confer
28
+ exclusive Copyright and Related Rights (defined below) upon the creator
29
+ and subsequent owner(s) (each and all, an "owner") of an original work of
30
+ authorship and/or a database (each, a "Work").
31
+
32
+ Certain owners wish to permanently relinquish those rights to a Work for
33
+ the purpose of contributing to a commons of creative, cultural and
34
+ scientific works ("Commons") that the public can reliably and without fear
35
+ of later claims of infringement build upon, modify, incorporate in other
36
+ works, reuse and redistribute as freely as possible in any form whatsoever
37
+ and for any purposes, including without limitation commercial purposes.
38
+ These owners may contribute to the Commons to promote the ideal of a free
39
+ culture and the further production of creative, cultural and scientific
40
+ works, or to gain reputation or greater distribution for their Work in
41
+ part through the use and efforts of others.
42
+
43
+ For these and/or other purposes and motivations, and without any
44
+ expectation of additional consideration or compensation, the person
45
+ associating CC0 with a Work (the "Affirmer"), to the extent that he or she
46
+ is an owner of Copyright and Related Rights in the Work, voluntarily
47
+ elects to apply CC0 to the Work and publicly distribute the Work under its
48
+ terms, with knowledge of his or her Copyright and Related Rights in the
49
+ Work and the meaning and intended legal effect of CC0 on those rights.
50
+
51
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
52
+ protected by copyright and related or neighboring rights ("Copyright and
53
+ Related Rights"). Copyright and Related Rights include, but are not
54
+ limited to, the following:
55
+
56
+ i. the right to reproduce, adapt, distribute, perform, display,
57
+ communicate, and translate a Work;
58
+ ii. moral rights retained by the original author(s) and/or performer(s);
59
+ iii. publicity and privacy rights pertaining to a person's image or
60
+ likeness depicted in a Work;
61
+ iv. rights protecting against unfair competition in regards to a Work,
62
+ subject to the limitations in paragraph 4(a), below;
63
+ v. rights protecting the extraction, dissemination, use and reuse of data
64
+ in a Work;
65
+ vi. database rights (such as those arising under Directive 96/9/EC of the
66
+ European Parliament and of the Council of 11 March 1996 on the legal
67
+ protection of databases, and under any national implementation
68
+ thereof, including any amended or successor version of such
69
+ directive); and
70
+ vii. other similar, equivalent or corresponding rights throughout the
71
+ world based on applicable law or treaty, and any national
72
+ implementations thereof.
73
+
74
+ 2. Waiver. To the greatest extent permitted by, but not in contravention
75
+ of, applicable law, Affirmer hereby overtly, fully, permanently,
76
+ irrevocably and unconditionally waives, abandons, and surrenders all of
77
+ Affirmer's Copyright and Related Rights and associated claims and causes
78
+ of action, whether now known or unknown (including existing as well as
79
+ future claims and causes of action), in the Work (i) in all territories
80
+ worldwide, (ii) for the maximum duration provided by applicable law or
81
+ treaty (including future time extensions), (iii) in any current or future
82
+ medium and for any number of copies, and (iv) for any purpose whatsoever,
83
+ including without limitation commercial, advertising or promotional
84
+ purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
85
+ member of the public at large and to the detriment of Affirmer's heirs and
86
+ successors, fully intending that such Waiver shall not be subject to
87
+ revocation, rescission, cancellation, termination, or any other legal or
88
+ equitable action to disrupt the quiet enjoyment of the Work by the public
89
+ as contemplated by Affirmer's express Statement of Purpose.
90
+
91
+ 3. Public License Fallback. Should any part of the Waiver for any reason
92
+ be judged legally invalid or ineffective under applicable law, then the
93
+ Waiver shall be preserved to the maximum extent permitted taking into
94
+ account Affirmer's express Statement of Purpose. In addition, to the
95
+ extent the Waiver is so judged Affirmer hereby grants to each affected
96
+ person a royalty-free, non transferable, non sublicensable, non exclusive,
97
+ irrevocable and unconditional license to exercise Affirmer's Copyright and
98
+ Related Rights in the Work (i) in all territories worldwide, (ii) for the
99
+ maximum duration provided by applicable law or treaty (including future
100
+ time extensions), (iii) in any current or future medium and for any number
101
+ of copies, and (iv) for any purpose whatsoever, including without
102
+ limitation commercial, advertising or promotional purposes (the
103
+ "License"). The License shall be deemed effective as of the date CC0 was
104
+ applied by Affirmer to the Work. Should any part of the License for any
105
+ reason be judged legally invalid or ineffective under applicable law, such
106
+ partial invalidity or ineffectiveness shall not invalidate the remainder
107
+ of the License, and in such case Affirmer hereby affirms that he or she
108
+ will not (i) exercise any of his or her remaining Copyright and Related
109
+ Rights in the Work or (ii) assert any associated claims and causes of
110
+ action with respect to the Work, in either case contrary to Affirmer's
111
+ express Statement of Purpose.
112
+
113
+ 4. Limitations and Disclaimers.
114
+
115
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
116
+ surrendered, licensed or otherwise affected by this document.
117
+ b. Affirmer offers the Work as-is and makes no representations or
118
+ warranties of any kind concerning the Work, express, implied,
119
+ statutory or otherwise, including without limitation warranties of
120
+ title, merchantability, fitness for a particular purpose, non
121
+ infringement, or the absence of latent or other defects, accuracy, or
122
+ the present or absence of errors, whether or not discoverable, all to
123
+ the greatest extent permissible under applicable law.
124
+ c. Affirmer disclaims responsibility for clearing rights of other persons
125
+ that may apply to the Work or any use thereof, including without
126
+ limitation any person's Copyright and Related Rights in the Work.
127
+ Further, Affirmer disclaims responsibility for obtaining any necessary
128
+ consents, permissions or other rights required for any use of the
129
+ Work.
130
+ d. Affirmer understands and acknowledges that Creative Commons is not a
131
+ party to this document and has no duty or obligation with respect to
132
+ this CC0 or use of the Work.
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.3
2
+ Name: pycocowriter
3
+ Version: 0.0.1
4
+ Summary: tools for writing coco files
5
+ Author: scott brown
6
+ Description-Content-Type: text/markdown
7
+ Classifier: Programming Language :: Python :: 3
8
+ Requires-Dist: numpy
9
+ Requires-Dist: jsonschema
10
+
11
+ # pycocowriter
12
+
13
+ This library contains tools to assist in writing COCO-format annotation files. Contains [typing and constructors](nodd-tools.github.io/pycocotools/api/coco) to assist in building a COCO-format file from scratch and then [dump it to json]()
14
+
15
+
16
+ # Disclaimer
17
+
18
+ This repository is a scientific product and is not official communication of the National Oceanic and
19
+ Atmospheric Administration, or the United States Department of Commerce. All NOAA GitHub project
20
+ code is provided on an ‘as is’ basis and the user assumes responsibility for its use. Any claims against the
21
+ Department of Commerce or Department of Commerce bureaus stemming from the use of this GitHub
22
+ project will be governed by all applicable Federal law. Any reference to specific commercial products,
23
+ processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or
24
+ imply their endorsement, recommendation or favoring by the Department of Commerce. The Department
25
+ of Commerce seal and logo, or the seal and logo of a DOC bureau, shall not be used in any manner to
26
+ imply endorsement of any commercial product or activity by DOC or the United States Government.
27
+
@@ -0,0 +1,16 @@
1
+ # pycocowriter
2
+
3
+ This library contains tools to assist in writing COCO-format annotation files. Contains [typing and constructors](nodd-tools.github.io/pycocotools/api/coco) to assist in building a COCO-format file from scratch and then [dump it to json]()
4
+
5
+
6
+ # Disclaimer
7
+
8
+ This repository is a scientific product and is not official communication of the National Oceanic and
9
+ Atmospheric Administration, or the United States Department of Commerce. All NOAA GitHub project
10
+ code is provided on an ‘as is’ basis and the user assumes responsibility for its use. Any claims against the
11
+ Department of Commerce or Department of Commerce bureaus stemming from the use of this GitHub
12
+ project will be governed by all applicable Federal law. Any reference to specific commercial products,
13
+ processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or
14
+ imply their endorsement, recommendation or favoring by the Department of Commerce. The Department
15
+ of Commerce seal and logo, or the seal and logo of a DOC bureau, shall not be used in any manner to
16
+ imply endorsement of any commercial product or activity by DOC or the United States Government.
File without changes
@@ -0,0 +1,3 @@
1
+ # COCO module
2
+
3
+ ::: pycocowriter.coco
@@ -0,0 +1,3 @@
1
+ # CSV2COCO module
2
+
3
+ ::: pycocowriter.csv2coco
File without changes
@@ -0,0 +1,3 @@
1
+ # utilities module
2
+
3
+ ::: pycocowriter.utils
@@ -0,0 +1 @@
1
+ # Home
@@ -0,0 +1,27 @@
1
+ site_name: pycocowriter
2
+
3
+ theme:
4
+ name: material
5
+ features:
6
+ - navigation.tabs
7
+ - content.code.annotate
8
+ markdown_extensions:
9
+ - markdown.extensions.admonition
10
+ - markdown.extensions.codehilite
11
+ - pymdownx.superfences
12
+
13
+ plugins:
14
+ - search
15
+ - mkdocstrings:
16
+ default_handler: python
17
+ handlers:
18
+ python:
19
+ options:
20
+ docstring_style: numpy
21
+
22
+ nav:
23
+ - Home: index.md
24
+ - Code Reference:
25
+ - COCO: api/coco.md
26
+ - CSV2COCO: api/csv2coco.md
27
+ - utilities: api/utils.md
File without changes
File without changes