bordado 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.
- bordado-0.0.1/AUTHORS.md +6 -0
- bordado-0.0.1/CITATION.rst +8 -0
- bordado-0.0.1/LICENSE.txt +25 -0
- bordado-0.0.1/MANIFEST.in +13 -0
- bordado-0.0.1/PKG-INFO +120 -0
- bordado-0.0.1/README.md +86 -0
- bordado-0.0.1/pyproject.toml +125 -0
- bordado-0.0.1/setup.cfg +4 -0
- bordado-0.0.1/src/bordado/__init__.py +14 -0
- bordado-0.0.1/src/bordado/_dummy.py +14 -0
- bordado-0.0.1/src/bordado/_version.py +21 -0
- bordado-0.0.1/src/bordado.egg-info/PKG-INFO +120 -0
- bordado-0.0.1/src/bordado.egg-info/SOURCES.txt +14 -0
- bordado-0.0.1/src/bordado.egg-info/dependency_links.txt +1 -0
- bordado-0.0.1/src/bordado.egg-info/requires.txt +2 -0
- bordado-0.0.1/src/bordado.egg-info/top_level.txt +1 -0
bordado-0.0.1/AUTHORS.md
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# Project Authors
|
|
2
|
+
|
|
3
|
+
The following people have made contributions to the project (in alphabetical
|
|
4
|
+
order by last name) and are considered "The Bordado Developers":
|
|
5
|
+
|
|
6
|
+
* [Leonardo Uieda](https://github.com/leouieda) - Universidade de São Paulo, Brazil (ORCID: [0000-0001-6123-9515](https://www.orcid.org/0000-0001-6123-9515))
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Citing Bordado
|
|
2
|
+
==============
|
|
3
|
+
|
|
4
|
+
This is research software **made by scientists**. Citations help us justify the
|
|
5
|
+
effort that goes into building and maintaining this project.
|
|
6
|
+
|
|
7
|
+
If you used it in your research, please consider citing the latest Zenodo
|
|
8
|
+
archive: https://doi.org/TO_BE_DETERMINED
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Copyright (c) 2025 The Bordado Developers
|
|
2
|
+
All rights reserved.
|
|
3
|
+
|
|
4
|
+
Redistribution and use in source and binary forms, with or without modification,
|
|
5
|
+
are permitted provided that the following conditions are met:
|
|
6
|
+
|
|
7
|
+
* Redistributions of source code must retain the above copyright notice,
|
|
8
|
+
this list of conditions and the following disclaimer.
|
|
9
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
10
|
+
this list of conditions and the following disclaimer in the documentation
|
|
11
|
+
and/or other materials provided with the distribution.
|
|
12
|
+
* Neither the name of the copyright holder nor the names of its contributors
|
|
13
|
+
may be used to endorse or promote products derived from this software without
|
|
14
|
+
specific prior written permission.
|
|
15
|
+
|
|
16
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
17
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
18
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
19
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
|
20
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
21
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
22
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
23
|
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
24
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
25
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Exclude these files from source distributions.
|
|
2
|
+
# setuptools_scm includes everything else by default.
|
|
3
|
+
prune .github
|
|
4
|
+
prune env
|
|
5
|
+
prune doc
|
|
6
|
+
prune test
|
|
7
|
+
exclude .*.yml
|
|
8
|
+
exclude .*rc
|
|
9
|
+
exclude .gitignore
|
|
10
|
+
exclude CONTRIBUTING.md
|
|
11
|
+
exclude CODE_OF_CONDUCT.md
|
|
12
|
+
exclude environment.yml
|
|
13
|
+
exclude Makefile
|
bordado-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: bordado
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Create, manipulate, and split geographic coordinates
|
|
5
|
+
Author-email: The Bordado Developers <fatiandoaterra@protonmail.com>
|
|
6
|
+
Maintainer-email: Leonardo Uieda <leo@uieda.com>
|
|
7
|
+
License: BSD-3-Clause
|
|
8
|
+
Project-URL: Documentation, https://www.fatiando.org/bordado
|
|
9
|
+
Project-URL: Changelog, https://www.fatiando.org/bordado/latest/changes.html
|
|
10
|
+
Project-URL: Bug Tracker, https://github.com/fatiando/bordado/issues
|
|
11
|
+
Project-URL: Source Code, https://github.com/fatiando/bordado
|
|
12
|
+
Keywords: geoscience,geophysics
|
|
13
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
14
|
+
Classifier: Intended Audience :: Science/Research
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Intended Audience :: Education
|
|
17
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
18
|
+
Classifier: Natural Language :: English
|
|
19
|
+
Classifier: Operating System :: OS Independent
|
|
20
|
+
Classifier: Programming Language :: Python :: 3
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
26
|
+
Classifier: Topic :: Scientific/Engineering
|
|
27
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
28
|
+
Requires-Python: >=3.9
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
License-File: LICENSE.txt
|
|
31
|
+
License-File: AUTHORS.md
|
|
32
|
+
Requires-Dist: numpy>=1.23
|
|
33
|
+
Requires-Dist: scipy>=1.8
|
|
34
|
+
|
|
35
|
+
<h1 align="center">Bordado</h1>
|
|
36
|
+
|
|
37
|
+
<p align="center"><strong>Create, manipulate, and split geographic coordinates</strong></p>
|
|
38
|
+
|
|
39
|
+
<p align="center">
|
|
40
|
+
<a href="https://www.fatiando.org/bordado"><strong>Documentation</strong> (latest)</a> •
|
|
41
|
+
<a href="https://www.fatiando.org/bordado/dev"><strong>Documentation</strong> (main branch)</a> •
|
|
42
|
+
<a href="https://github.com/fatiando/bordado/blob/main/CONTRIBUTING.md"><strong>Contributing</strong></a> •
|
|
43
|
+
<a href="https://www.fatiando.org/contact/"><strong>Contact</strong></a> •
|
|
44
|
+
<a href="https://github.com/orgs/fatiando/discussions"><strong>Ask a question</strong></a>
|
|
45
|
+
</p>
|
|
46
|
+
|
|
47
|
+
<p align="center">
|
|
48
|
+
Part of the
|
|
49
|
+
<a href="https://www.fatiando.org"><strong>Fatiando a Terra</strong></a>
|
|
50
|
+
project.
|
|
51
|
+
</p>
|
|
52
|
+
|
|
53
|
+
<p align="center">
|
|
54
|
+
<a href="https://pypi.python.org/pypi/bordado"><img src="http://img.shields.io/pypi/v/bordado.svg?style=flat-square" alt="Latest version on PyPI"></a>
|
|
55
|
+
<a href="https://github.com/conda-forge/bordado-feedstock"><img src="https://img.shields.io/conda/vn/conda-forge/bordado.svg?style=flat-square" alt="Latest version on conda-forge"></a>
|
|
56
|
+
<a href="https://pypi.python.org/pypi/bordado"><img src="https://img.shields.io/pypi/pyversions/bordado.svg?style=flat-square" alt="Compatible Python versions."></a>
|
|
57
|
+
<a href="https://doi.org/10.5281/zenodo.15051756"><img src="https://img.shields.io/badge/doi-10.5281%2Fzenodo.15051756-blue?style=flat-square" alt="DOI used to cite bordado"></a>
|
|
58
|
+
</p>
|
|
59
|
+
|
|
60
|
+
## About
|
|
61
|
+
|
|
62
|
+
**Bordado** (Portuguese for "embroidery") is a Python package for creating,
|
|
63
|
+
manipulating, and splitting geographic and Cartesian coordinates.
|
|
64
|
+
It can generate coordinates at regular intervals by specifying the number of
|
|
65
|
+
points or the spacing between points. Bordado takes care of adjusting the
|
|
66
|
+
spacing to make sure it matches the specified domain/region. It also contains
|
|
67
|
+
functions for splitting coordinates into spatial blocks and more.
|
|
68
|
+
|
|
69
|
+
> Many of these functions used to be in
|
|
70
|
+
> [Verde](https://www.fatiando.org/verde/) but were moved to Bordado to make
|
|
71
|
+
> them more accessible without all of the extra dependencies that Verde
|
|
72
|
+
> requires.
|
|
73
|
+
|
|
74
|
+
## Project goals
|
|
75
|
+
|
|
76
|
+
* Generate regular point distributions in grids, profiles, lines, etc.
|
|
77
|
+
* Provide functions for fast spatial blocking and coordinates manipulation.
|
|
78
|
+
* Have minimal dependencies to make it easy to install and light to pick up for
|
|
79
|
+
other projects.
|
|
80
|
+
|
|
81
|
+
## Project status
|
|
82
|
+
|
|
83
|
+
**Bordado is in very early stages of development.**
|
|
84
|
+
|
|
85
|
+
**We welcome feedback and ideas!** This is a great time to bring new ideas on
|
|
86
|
+
how we can improve the project.
|
|
87
|
+
[Join the conversation](https://www.fatiando.org/contact) or submit
|
|
88
|
+
[issues on GitHub](https://github.com/fatiando/bordado/issues).
|
|
89
|
+
|
|
90
|
+
## Getting involved
|
|
91
|
+
|
|
92
|
+
🗨️ **Contact us:**
|
|
93
|
+
Find out more about how to reach us at
|
|
94
|
+
[fatiando.org/contact](https://www.fatiando.org/contact/).
|
|
95
|
+
|
|
96
|
+
👩🏾💻 **Contributing to project development:**
|
|
97
|
+
Please read our
|
|
98
|
+
[Contributing Guide](https://github.com/fatiando/bordado/blob/main/CONTRIBUTING.md)
|
|
99
|
+
to see how you can help and give feedback.
|
|
100
|
+
|
|
101
|
+
🧑🏾🤝🧑🏼 **Code of conduct:**
|
|
102
|
+
This project is released with a
|
|
103
|
+
[Code of Conduct](https://github.com/fatiando/community/blob/main/CODE_OF_CONDUCT.md).
|
|
104
|
+
By participating in this project you agree to abide by its terms.
|
|
105
|
+
|
|
106
|
+
> **Imposter syndrome disclaimer:**
|
|
107
|
+
> We want your help. **No, really.** There may be a little voice inside your
|
|
108
|
+
> head that is telling you that you're not ready, that you aren't skilled
|
|
109
|
+
> enough to contribute. We assure you that the little voice in your head is
|
|
110
|
+
> wrong. Most importantly, **there are many valuable ways to contribute besides
|
|
111
|
+
> writing code**.
|
|
112
|
+
>
|
|
113
|
+
> *This disclaimer was adapted from the*
|
|
114
|
+
> [MetPy project](https://github.com/Unidata/MetPy).
|
|
115
|
+
|
|
116
|
+
## License
|
|
117
|
+
|
|
118
|
+
This is free software: you can redistribute it and/or modify it under the terms
|
|
119
|
+
of the **BSD 3-clause License**. A copy of this license is provided in
|
|
120
|
+
[`LICENSE.txt`](https://github.com/fatiando/bordado/blob/main/LICENSE.txt).
|
bordado-0.0.1/README.md
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<h1 align="center">Bordado</h1>
|
|
2
|
+
|
|
3
|
+
<p align="center"><strong>Create, manipulate, and split geographic coordinates</strong></p>
|
|
4
|
+
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="https://www.fatiando.org/bordado"><strong>Documentation</strong> (latest)</a> •
|
|
7
|
+
<a href="https://www.fatiando.org/bordado/dev"><strong>Documentation</strong> (main branch)</a> •
|
|
8
|
+
<a href="https://github.com/fatiando/bordado/blob/main/CONTRIBUTING.md"><strong>Contributing</strong></a> •
|
|
9
|
+
<a href="https://www.fatiando.org/contact/"><strong>Contact</strong></a> •
|
|
10
|
+
<a href="https://github.com/orgs/fatiando/discussions"><strong>Ask a question</strong></a>
|
|
11
|
+
</p>
|
|
12
|
+
|
|
13
|
+
<p align="center">
|
|
14
|
+
Part of the
|
|
15
|
+
<a href="https://www.fatiando.org"><strong>Fatiando a Terra</strong></a>
|
|
16
|
+
project.
|
|
17
|
+
</p>
|
|
18
|
+
|
|
19
|
+
<p align="center">
|
|
20
|
+
<a href="https://pypi.python.org/pypi/bordado"><img src="http://img.shields.io/pypi/v/bordado.svg?style=flat-square" alt="Latest version on PyPI"></a>
|
|
21
|
+
<a href="https://github.com/conda-forge/bordado-feedstock"><img src="https://img.shields.io/conda/vn/conda-forge/bordado.svg?style=flat-square" alt="Latest version on conda-forge"></a>
|
|
22
|
+
<a href="https://pypi.python.org/pypi/bordado"><img src="https://img.shields.io/pypi/pyversions/bordado.svg?style=flat-square" alt="Compatible Python versions."></a>
|
|
23
|
+
<a href="https://doi.org/10.5281/zenodo.15051756"><img src="https://img.shields.io/badge/doi-10.5281%2Fzenodo.15051756-blue?style=flat-square" alt="DOI used to cite bordado"></a>
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
## About
|
|
27
|
+
|
|
28
|
+
**Bordado** (Portuguese for "embroidery") is a Python package for creating,
|
|
29
|
+
manipulating, and splitting geographic and Cartesian coordinates.
|
|
30
|
+
It can generate coordinates at regular intervals by specifying the number of
|
|
31
|
+
points or the spacing between points. Bordado takes care of adjusting the
|
|
32
|
+
spacing to make sure it matches the specified domain/region. It also contains
|
|
33
|
+
functions for splitting coordinates into spatial blocks and more.
|
|
34
|
+
|
|
35
|
+
> Many of these functions used to be in
|
|
36
|
+
> [Verde](https://www.fatiando.org/verde/) but were moved to Bordado to make
|
|
37
|
+
> them more accessible without all of the extra dependencies that Verde
|
|
38
|
+
> requires.
|
|
39
|
+
|
|
40
|
+
## Project goals
|
|
41
|
+
|
|
42
|
+
* Generate regular point distributions in grids, profiles, lines, etc.
|
|
43
|
+
* Provide functions for fast spatial blocking and coordinates manipulation.
|
|
44
|
+
* Have minimal dependencies to make it easy to install and light to pick up for
|
|
45
|
+
other projects.
|
|
46
|
+
|
|
47
|
+
## Project status
|
|
48
|
+
|
|
49
|
+
**Bordado is in very early stages of development.**
|
|
50
|
+
|
|
51
|
+
**We welcome feedback and ideas!** This is a great time to bring new ideas on
|
|
52
|
+
how we can improve the project.
|
|
53
|
+
[Join the conversation](https://www.fatiando.org/contact) or submit
|
|
54
|
+
[issues on GitHub](https://github.com/fatiando/bordado/issues).
|
|
55
|
+
|
|
56
|
+
## Getting involved
|
|
57
|
+
|
|
58
|
+
🗨️ **Contact us:**
|
|
59
|
+
Find out more about how to reach us at
|
|
60
|
+
[fatiando.org/contact](https://www.fatiando.org/contact/).
|
|
61
|
+
|
|
62
|
+
👩🏾💻 **Contributing to project development:**
|
|
63
|
+
Please read our
|
|
64
|
+
[Contributing Guide](https://github.com/fatiando/bordado/blob/main/CONTRIBUTING.md)
|
|
65
|
+
to see how you can help and give feedback.
|
|
66
|
+
|
|
67
|
+
🧑🏾🤝🧑🏼 **Code of conduct:**
|
|
68
|
+
This project is released with a
|
|
69
|
+
[Code of Conduct](https://github.com/fatiando/community/blob/main/CODE_OF_CONDUCT.md).
|
|
70
|
+
By participating in this project you agree to abide by its terms.
|
|
71
|
+
|
|
72
|
+
> **Imposter syndrome disclaimer:**
|
|
73
|
+
> We want your help. **No, really.** There may be a little voice inside your
|
|
74
|
+
> head that is telling you that you're not ready, that you aren't skilled
|
|
75
|
+
> enough to contribute. We assure you that the little voice in your head is
|
|
76
|
+
> wrong. Most importantly, **there are many valuable ways to contribute besides
|
|
77
|
+
> writing code**.
|
|
78
|
+
>
|
|
79
|
+
> *This disclaimer was adapted from the*
|
|
80
|
+
> [MetPy project](https://github.com/Unidata/MetPy).
|
|
81
|
+
|
|
82
|
+
## License
|
|
83
|
+
|
|
84
|
+
This is free software: you can redistribute it and/or modify it under the terms
|
|
85
|
+
of the **BSD 3-clause License**. A copy of this license is provided in
|
|
86
|
+
[`LICENSE.txt`](https://github.com/fatiando/bordado/blob/main/LICENSE.txt).
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "bordado"
|
|
3
|
+
description = "Create, manipulate, and split geographic coordinates"
|
|
4
|
+
dynamic = ["version"]
|
|
5
|
+
authors = [
|
|
6
|
+
{name="The Bordado Developers", email="fatiandoaterra@protonmail.com"},
|
|
7
|
+
]
|
|
8
|
+
maintainers = [
|
|
9
|
+
{name = "Leonardo Uieda", email = "leo@uieda.com"}
|
|
10
|
+
]
|
|
11
|
+
readme = "README.md"
|
|
12
|
+
license = {text = "BSD-3-Clause"}
|
|
13
|
+
keywords = ["geoscience", "geophysics"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
16
|
+
"Intended Audience :: Science/Research",
|
|
17
|
+
"Intended Audience :: Developers",
|
|
18
|
+
"Intended Audience :: Education",
|
|
19
|
+
"License :: OSI Approved :: BSD License",
|
|
20
|
+
"Natural Language :: English",
|
|
21
|
+
"Operating System :: OS Independent",
|
|
22
|
+
"Programming Language :: Python :: 3",
|
|
23
|
+
"Programming Language :: Python :: 3.9",
|
|
24
|
+
"Programming Language :: Python :: 3.10",
|
|
25
|
+
"Programming Language :: Python :: 3.11",
|
|
26
|
+
"Programming Language :: Python :: 3.12",
|
|
27
|
+
"Programming Language :: Python :: 3.13",
|
|
28
|
+
"Topic :: Scientific/Engineering",
|
|
29
|
+
"Topic :: Software Development :: Libraries",
|
|
30
|
+
]
|
|
31
|
+
requires-python = ">=3.9"
|
|
32
|
+
dependencies = [
|
|
33
|
+
"numpy>=1.23",
|
|
34
|
+
"scipy>=1.8",
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
[project.urls]
|
|
38
|
+
"Documentation" = "https://www.fatiando.org/bordado"
|
|
39
|
+
"Changelog" = "https://www.fatiando.org/bordado/latest/changes.html"
|
|
40
|
+
"Bug Tracker" = "https://github.com/fatiando/bordado/issues"
|
|
41
|
+
"Source Code" = "https://github.com/fatiando/bordado"
|
|
42
|
+
|
|
43
|
+
[build-system]
|
|
44
|
+
requires = ["setuptools>=61", "wheel", "setuptools_scm[toml]>=8.0.3"]
|
|
45
|
+
build-backend = "setuptools.build_meta"
|
|
46
|
+
|
|
47
|
+
[tool.setuptools_scm]
|
|
48
|
+
version_scheme = "post-release"
|
|
49
|
+
local_scheme = "no-local-version"
|
|
50
|
+
write_to = "src/bordado/_version.py"
|
|
51
|
+
|
|
52
|
+
[tool.burocrata]
|
|
53
|
+
notice = '''
|
|
54
|
+
# Copyright (c) 2025 The Bordado Developers.
|
|
55
|
+
# Distributed under the terms of the BSD 3-Clause License.
|
|
56
|
+
# SPDX-License-Identifier: BSD-3-Clause
|
|
57
|
+
#
|
|
58
|
+
# This code is part of the Fatiando a Terra project (https://www.fatiando.org)
|
|
59
|
+
#'''
|
|
60
|
+
|
|
61
|
+
[tool.ruff]
|
|
62
|
+
line-length = 88
|
|
63
|
+
exclude = [
|
|
64
|
+
"doc/_build",
|
|
65
|
+
"src/bordado/_version.py",
|
|
66
|
+
]
|
|
67
|
+
|
|
68
|
+
[tool.ruff.lint]
|
|
69
|
+
extend-select = [
|
|
70
|
+
"ARG", # flake8-unused-arguments
|
|
71
|
+
"B", # flake8-bugbear
|
|
72
|
+
"C4", # flake8-comprehensions
|
|
73
|
+
"D", # pydocstyle
|
|
74
|
+
"EM", # flake8-errmsg
|
|
75
|
+
"EXE", # flake8-executable
|
|
76
|
+
"FURB", # refurb
|
|
77
|
+
"G", # flake8-logging-format
|
|
78
|
+
"I", # isort
|
|
79
|
+
"ICN", # flake8-import-conventions
|
|
80
|
+
"NPY", # NumPy specific rules
|
|
81
|
+
"PD", # pandas-vet
|
|
82
|
+
"PGH", # pygrep-hooks
|
|
83
|
+
"PIE", # flake8-pie
|
|
84
|
+
"PL", # pylint
|
|
85
|
+
"PT", # flake8-pytest-style
|
|
86
|
+
"PTH", # flake8-use-pathlib
|
|
87
|
+
"PYI", # flake8-pyi
|
|
88
|
+
"RET", # flake8-return
|
|
89
|
+
"RUF", # Ruff-specific
|
|
90
|
+
"SIM", # flake8-simplify
|
|
91
|
+
"T20", # flake8-print
|
|
92
|
+
"UP", # pyupgrade
|
|
93
|
+
"YTT", # flake8-2020
|
|
94
|
+
]
|
|
95
|
+
ignore = [
|
|
96
|
+
"ISC001", # Conflicts with formatter
|
|
97
|
+
"PLR09", # Too many <...>
|
|
98
|
+
"PLR2004", # Magic value used in comparison
|
|
99
|
+
"RET504", # Allow variable assignment only for return
|
|
100
|
+
"PT001", # Conventions for parenthesis on pytest.fixture
|
|
101
|
+
"D200", # Allow single line docstrings in their own line
|
|
102
|
+
]
|
|
103
|
+
|
|
104
|
+
[tool.ruff.lint.per-file-ignores]
|
|
105
|
+
"__init__.py" = ["F401"] # disable unused-imports errors on __init__.py
|
|
106
|
+
"test/**" = [
|
|
107
|
+
"T20", # allow print statements in tests
|
|
108
|
+
"D", # ignore pydocstyle warnings in tests
|
|
109
|
+
]
|
|
110
|
+
"doc/conf.py" = ["D"] # ignore pydocstyle warnings in Sphinx config
|
|
111
|
+
|
|
112
|
+
[tool.ruff.lint.pydocstyle]
|
|
113
|
+
convention = "numpy"
|
|
114
|
+
|
|
115
|
+
[tool.coverage.run]
|
|
116
|
+
branch = true
|
|
117
|
+
omit = [
|
|
118
|
+
"**/_version.py",
|
|
119
|
+
"**/__init__.py",
|
|
120
|
+
]
|
|
121
|
+
# Needed to combine coverage data from multiple OSs on CI
|
|
122
|
+
relative_files = true
|
|
123
|
+
|
|
124
|
+
[tool.coverage.report]
|
|
125
|
+
show_missing = true
|
bordado-0.0.1/setup.cfg
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Copyright (c) 2025 The Bordado Developers.
|
|
2
|
+
# Distributed under the terms of the BSD 3-Clause License.
|
|
3
|
+
# SPDX-License-Identifier: BSD-3-Clause
|
|
4
|
+
#
|
|
5
|
+
# This code is part of the Fatiando a Terra project (https://www.fatiando.org)
|
|
6
|
+
#
|
|
7
|
+
"""
|
|
8
|
+
These are the functions and classes that make up the Bordado API.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from ._version import __version__
|
|
12
|
+
|
|
13
|
+
# Append a leading "v" to the generated version by setuptools_scm
|
|
14
|
+
__version__ = f"v{__version__}"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Copyright (c) 2025 The Bordado Developers.
|
|
2
|
+
# Distributed under the terms of the BSD 3-Clause License.
|
|
3
|
+
# SPDX-License-Identifier: BSD-3-Clause
|
|
4
|
+
#
|
|
5
|
+
# This code is part of the Fatiando a Terra project (https://www.fatiando.org)
|
|
6
|
+
#
|
|
7
|
+
"""
|
|
8
|
+
Dummy module so tests don't fail.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def dummy():
|
|
13
|
+
"""Calculate nothing."""
|
|
14
|
+
return "bla"
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# file generated by setuptools-scm
|
|
2
|
+
# don't change, don't track in version control
|
|
3
|
+
|
|
4
|
+
__all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
|
|
5
|
+
|
|
6
|
+
TYPE_CHECKING = False
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from typing import Tuple
|
|
9
|
+
from typing import Union
|
|
10
|
+
|
|
11
|
+
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
12
|
+
else:
|
|
13
|
+
VERSION_TUPLE = object
|
|
14
|
+
|
|
15
|
+
version: str
|
|
16
|
+
__version__: str
|
|
17
|
+
__version_tuple__: VERSION_TUPLE
|
|
18
|
+
version_tuple: VERSION_TUPLE
|
|
19
|
+
|
|
20
|
+
__version__ = version = '0.0.1'
|
|
21
|
+
__version_tuple__ = version_tuple = (0, 0, 1)
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: bordado
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Create, manipulate, and split geographic coordinates
|
|
5
|
+
Author-email: The Bordado Developers <fatiandoaterra@protonmail.com>
|
|
6
|
+
Maintainer-email: Leonardo Uieda <leo@uieda.com>
|
|
7
|
+
License: BSD-3-Clause
|
|
8
|
+
Project-URL: Documentation, https://www.fatiando.org/bordado
|
|
9
|
+
Project-URL: Changelog, https://www.fatiando.org/bordado/latest/changes.html
|
|
10
|
+
Project-URL: Bug Tracker, https://github.com/fatiando/bordado/issues
|
|
11
|
+
Project-URL: Source Code, https://github.com/fatiando/bordado
|
|
12
|
+
Keywords: geoscience,geophysics
|
|
13
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
14
|
+
Classifier: Intended Audience :: Science/Research
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Intended Audience :: Education
|
|
17
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
18
|
+
Classifier: Natural Language :: English
|
|
19
|
+
Classifier: Operating System :: OS Independent
|
|
20
|
+
Classifier: Programming Language :: Python :: 3
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
26
|
+
Classifier: Topic :: Scientific/Engineering
|
|
27
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
28
|
+
Requires-Python: >=3.9
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
License-File: LICENSE.txt
|
|
31
|
+
License-File: AUTHORS.md
|
|
32
|
+
Requires-Dist: numpy>=1.23
|
|
33
|
+
Requires-Dist: scipy>=1.8
|
|
34
|
+
|
|
35
|
+
<h1 align="center">Bordado</h1>
|
|
36
|
+
|
|
37
|
+
<p align="center"><strong>Create, manipulate, and split geographic coordinates</strong></p>
|
|
38
|
+
|
|
39
|
+
<p align="center">
|
|
40
|
+
<a href="https://www.fatiando.org/bordado"><strong>Documentation</strong> (latest)</a> •
|
|
41
|
+
<a href="https://www.fatiando.org/bordado/dev"><strong>Documentation</strong> (main branch)</a> •
|
|
42
|
+
<a href="https://github.com/fatiando/bordado/blob/main/CONTRIBUTING.md"><strong>Contributing</strong></a> •
|
|
43
|
+
<a href="https://www.fatiando.org/contact/"><strong>Contact</strong></a> •
|
|
44
|
+
<a href="https://github.com/orgs/fatiando/discussions"><strong>Ask a question</strong></a>
|
|
45
|
+
</p>
|
|
46
|
+
|
|
47
|
+
<p align="center">
|
|
48
|
+
Part of the
|
|
49
|
+
<a href="https://www.fatiando.org"><strong>Fatiando a Terra</strong></a>
|
|
50
|
+
project.
|
|
51
|
+
</p>
|
|
52
|
+
|
|
53
|
+
<p align="center">
|
|
54
|
+
<a href="https://pypi.python.org/pypi/bordado"><img src="http://img.shields.io/pypi/v/bordado.svg?style=flat-square" alt="Latest version on PyPI"></a>
|
|
55
|
+
<a href="https://github.com/conda-forge/bordado-feedstock"><img src="https://img.shields.io/conda/vn/conda-forge/bordado.svg?style=flat-square" alt="Latest version on conda-forge"></a>
|
|
56
|
+
<a href="https://pypi.python.org/pypi/bordado"><img src="https://img.shields.io/pypi/pyversions/bordado.svg?style=flat-square" alt="Compatible Python versions."></a>
|
|
57
|
+
<a href="https://doi.org/10.5281/zenodo.15051756"><img src="https://img.shields.io/badge/doi-10.5281%2Fzenodo.15051756-blue?style=flat-square" alt="DOI used to cite bordado"></a>
|
|
58
|
+
</p>
|
|
59
|
+
|
|
60
|
+
## About
|
|
61
|
+
|
|
62
|
+
**Bordado** (Portuguese for "embroidery") is a Python package for creating,
|
|
63
|
+
manipulating, and splitting geographic and Cartesian coordinates.
|
|
64
|
+
It can generate coordinates at regular intervals by specifying the number of
|
|
65
|
+
points or the spacing between points. Bordado takes care of adjusting the
|
|
66
|
+
spacing to make sure it matches the specified domain/region. It also contains
|
|
67
|
+
functions for splitting coordinates into spatial blocks and more.
|
|
68
|
+
|
|
69
|
+
> Many of these functions used to be in
|
|
70
|
+
> [Verde](https://www.fatiando.org/verde/) but were moved to Bordado to make
|
|
71
|
+
> them more accessible without all of the extra dependencies that Verde
|
|
72
|
+
> requires.
|
|
73
|
+
|
|
74
|
+
## Project goals
|
|
75
|
+
|
|
76
|
+
* Generate regular point distributions in grids, profiles, lines, etc.
|
|
77
|
+
* Provide functions for fast spatial blocking and coordinates manipulation.
|
|
78
|
+
* Have minimal dependencies to make it easy to install and light to pick up for
|
|
79
|
+
other projects.
|
|
80
|
+
|
|
81
|
+
## Project status
|
|
82
|
+
|
|
83
|
+
**Bordado is in very early stages of development.**
|
|
84
|
+
|
|
85
|
+
**We welcome feedback and ideas!** This is a great time to bring new ideas on
|
|
86
|
+
how we can improve the project.
|
|
87
|
+
[Join the conversation](https://www.fatiando.org/contact) or submit
|
|
88
|
+
[issues on GitHub](https://github.com/fatiando/bordado/issues).
|
|
89
|
+
|
|
90
|
+
## Getting involved
|
|
91
|
+
|
|
92
|
+
🗨️ **Contact us:**
|
|
93
|
+
Find out more about how to reach us at
|
|
94
|
+
[fatiando.org/contact](https://www.fatiando.org/contact/).
|
|
95
|
+
|
|
96
|
+
👩🏾💻 **Contributing to project development:**
|
|
97
|
+
Please read our
|
|
98
|
+
[Contributing Guide](https://github.com/fatiando/bordado/blob/main/CONTRIBUTING.md)
|
|
99
|
+
to see how you can help and give feedback.
|
|
100
|
+
|
|
101
|
+
🧑🏾🤝🧑🏼 **Code of conduct:**
|
|
102
|
+
This project is released with a
|
|
103
|
+
[Code of Conduct](https://github.com/fatiando/community/blob/main/CODE_OF_CONDUCT.md).
|
|
104
|
+
By participating in this project you agree to abide by its terms.
|
|
105
|
+
|
|
106
|
+
> **Imposter syndrome disclaimer:**
|
|
107
|
+
> We want your help. **No, really.** There may be a little voice inside your
|
|
108
|
+
> head that is telling you that you're not ready, that you aren't skilled
|
|
109
|
+
> enough to contribute. We assure you that the little voice in your head is
|
|
110
|
+
> wrong. Most importantly, **there are many valuable ways to contribute besides
|
|
111
|
+
> writing code**.
|
|
112
|
+
>
|
|
113
|
+
> *This disclaimer was adapted from the*
|
|
114
|
+
> [MetPy project](https://github.com/Unidata/MetPy).
|
|
115
|
+
|
|
116
|
+
## License
|
|
117
|
+
|
|
118
|
+
This is free software: you can redistribute it and/or modify it under the terms
|
|
119
|
+
of the **BSD 3-clause License**. A copy of this license is provided in
|
|
120
|
+
[`LICENSE.txt`](https://github.com/fatiando/bordado/blob/main/LICENSE.txt).
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
AUTHORS.md
|
|
2
|
+
CITATION.rst
|
|
3
|
+
LICENSE.txt
|
|
4
|
+
MANIFEST.in
|
|
5
|
+
README.md
|
|
6
|
+
pyproject.toml
|
|
7
|
+
src/bordado/__init__.py
|
|
8
|
+
src/bordado/_dummy.py
|
|
9
|
+
src/bordado/_version.py
|
|
10
|
+
src/bordado.egg-info/PKG-INFO
|
|
11
|
+
src/bordado.egg-info/SOURCES.txt
|
|
12
|
+
src/bordado.egg-info/dependency_links.txt
|
|
13
|
+
src/bordado.egg-info/requires.txt
|
|
14
|
+
src/bordado.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
bordado
|