-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
610 additions
and
615 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
** | ||
|
||
!/docs/requirements.txt | ||
!/requirements.txt |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Linux | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-24.04 | ||
strategy: | ||
matrix: | ||
python: | ||
- '3.9' | ||
- '3.10' | ||
- '3.11' | ||
- '3.12' | ||
- '3.13' | ||
- 'pypy3.10' | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{matrix.python}} | ||
cache: 'pip' | ||
cache-dependency-path: requirements.txt | ||
|
||
- name: Setup Dependencies | ||
run: | | ||
pip install --verbose --editable . | ||
- name: Test | ||
run: | | ||
coverage run -m pytest --junit-xml=report.xml | ||
- name: Generate Coverage | ||
run: | | ||
coverage report | ||
coverage xml | ||
- name: Upload Coverage to Codecov | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: coverage.xml | ||
fail_ci_if_error: true | ||
verbose: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Publish to PyPI | ||
|
||
on: | ||
schedule: | ||
- cron: '42 1 * * *' | ||
push: | ||
# release: | ||
# types: [published] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: PyPI | ||
url: https://pypi.org/p/conics | ||
permissions: | ||
id-token: write # IMPORTANT: mandatory for trusted publishing | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.13' | ||
|
||
- name: Setup Dependencies | ||
run: | | ||
pip install build | ||
- name: Build | ||
run: python -m build | ||
|
||
- name: Publish | ||
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
*.orig | ||
*.py[cod] | ||
/.coverage | ||
/.env/ | ||
/dist/ | ||
/docs/_build/ | ||
/docs/references.bib.blg | ||
__pycache__/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: 2 | ||
|
||
build: | ||
os: ubuntu-24.04 | ||
tools: | ||
python: "3.12" | ||
|
||
sphinx: | ||
configuration: docs/conf.py | ||
fail_on_warning: true | ||
|
||
python: | ||
install: | ||
- requirements: requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
cff-version: 1.2.0 | ||
message: If you use conics in your work, please reference it as below. | ||
title: conics | ||
abstract: Library for managing conic sections | ||
authors: | ||
- family-names: Deitsch | ||
given-names: Sergiu | ||
orcid: https://orcid.org/0000-0001-8865-8066 | ||
version: 0.1.0 | ||
date-released: 2019-05-21 | ||
license: Apache-2.0 | ||
repository-code: https://github.com/sergiud/conics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Conics | ||
|
||
[![codecov](https://codecov.io/gh/sergiud/conics/graph/badge.svg?token=89OIQDFWHV)](https://codecov.io/gh/sergiud/conics) | ||
[![Documentation Status](https://readthedocs.org/projects/conics/badge/?version=latest)](https://conics.readthedocs.io/en/latest/?badge=latest) | ||
|
||
|
||
.. image:: https://pyup.io/repos/github/sergiud/conics/shield.svg | ||
:target: https://pyup.io/repos/github/sergiud/conics/ | ||
:alt: Updates | ||
|
||
Conics is a library for managing conic sections (or simply *conics*). | ||
|
||
## Features | ||
|
||
* Creation of conics | ||
* Transformation | ||
* Computing intersections of conics | ||
* 5-D pose estimation of the supporting plane of an ellipse | ||
|
||
## License | ||
|
||
The library is provided under the [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0). |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# SPDX-FileCopyrightText: 2024-present Sergiu Deitsch <sergiu.deitsch@gmail.com> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
__version__ = "0.1.0a1.dev1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Further Reading | ||
=============== | ||
|
||
.. bibliography:: references.bib | ||
:style: alpha |
Oops, something went wrong.