Skip to content

Commit 0f35ead

Browse files
committed
First commit
0 parents  commit 0f35ead

File tree

220 files changed

+29310
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

220 files changed

+29310
-0
lines changed

.github/workflows/python.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# NOTE: This file is auto generated by OpenAPI Generator.
2+
# URL: https://openapi-generator.tech
3+
#
4+
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
5+
6+
name: mosquito_alert_api Python package
7+
8+
on: [push, pull_request]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install -r requirements.txt
28+
pip install -r test-requirements.txt
29+
- name: Test with pytest
30+
run: |
31+
pytest --cov={{packageName}}

.gitignore

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
27+
# PyInstaller
28+
# Usually these files are written by a python script from a template
29+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
30+
*.manifest
31+
*.spec
32+
33+
# Installer logs
34+
pip-log.txt
35+
pip-delete-this-directory.txt
36+
37+
# Unit test / coverage reports
38+
htmlcov/
39+
.tox/
40+
.coverage
41+
.coverage.*
42+
.cache
43+
nosetests.xml
44+
coverage.xml
45+
*,cover
46+
.hypothesis/
47+
venv/
48+
.venv/
49+
.python-version
50+
.pytest_cache
51+
52+
# Translations
53+
*.mo
54+
*.pot
55+
56+
# Django stuff:
57+
*.log
58+
59+
# Sphinx documentation
60+
docs/_build/
61+
62+
# PyBuilder
63+
target/
64+
65+
#Ipython Notebook
66+
.ipynb_checkpoints

.gitlab-ci.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# NOTE: This file is auto generated by OpenAPI Generator.
2+
# URL: https://openapi-generator.tech
3+
#
4+
# ref: https://docs.gitlab.com/ee/ci/README.html
5+
# ref: https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Python.gitlab-ci.yml
6+
7+
stages:
8+
- test
9+
10+
.pytest:
11+
stage: test
12+
script:
13+
- pip install -r requirements.txt
14+
- pip install -r test-requirements.txt
15+
- pytest --cov=mosquito_alert_api
16+
17+
pytest-3.8:
18+
extends: .pytest
19+
image: python:3.8-alpine
20+
pytest-3.9:
21+
extends: .pytest
22+
image: python:3.9-alpine
23+
pytest-3.10:
24+
extends: .pytest
25+
image: python:3.10-alpine
26+
pytest-3.11:
27+
extends: .pytest
28+
image: python:3.11-alpine
29+
pytest-3.12:
30+
extends: .pytest
31+
image: python:3.12-alpine

.openapi-generator-ignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# OpenAPI Generator Ignore
2+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md

.openapi-generator/FILES

+152
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
.github/workflows/python.yml
2+
.gitignore
3+
.gitlab-ci.yml
4+
.travis.yml
5+
README.md
6+
docs/AppUserTokenObtainPair.md
7+
docs/AppUserTokenObtainPairRequest.md
8+
docs/BaseNotificationCreate.md
9+
docs/Bite.md
10+
docs/BiteRequest.md
11+
docs/BitesApi.md
12+
docs/BoundingBox.md
13+
docs/BoundingBoxRequest.md
14+
docs/BreedingSite.md
15+
docs/BreedingSiteRequest.md
16+
docs/BreedingSitesApi.md
17+
docs/Campaign.md
18+
docs/CampaignsApi.md
19+
docs/CountriesApi.md
20+
docs/Country.md
21+
docs/CreateUser.md
22+
docs/CreateUserRequest.md
23+
docs/DetailNotification.md
24+
docs/DetailNotificationRequest.md
25+
docs/Device.md
26+
docs/DeviceRequest.md
27+
docs/Fix.md
28+
docs/FixLocation.md
29+
docs/FixLocationRequest.md
30+
docs/FixRequest.md
31+
docs/FixesApi.md
32+
docs/MetaNotificationRequest.md
33+
docs/NotificationsApi.md
34+
docs/Observation.md
35+
docs/ObservationPrediction.md
36+
docs/ObservationPredictionRequest.md
37+
docs/ObservationRequest.md
38+
docs/ObservationsApi.md
39+
docs/Package.md
40+
docs/PackageRequest.md
41+
docs/PaginatedBiteList.md
42+
docs/PaginatedBreedingSiteList.md
43+
docs/PaginatedCampaignList.md
44+
docs/PaginatedDetailNotificationList.md
45+
docs/PaginatedObservationList.md
46+
docs/PaginatedPartnerList.md
47+
docs/Partner.md
48+
docs/PartnerPoint.md
49+
docs/PartnersApi.md
50+
docs/PatchedDetailNotificationRequest.md
51+
docs/PatchedUserRequest.md
52+
docs/Photo.md
53+
docs/PhotoPrediction.md
54+
docs/PhotoPredictionRequest.md
55+
docs/PhotosApi.md
56+
docs/PredictionScore.md
57+
docs/PredictionScoreRequest.md
58+
docs/ReportLocation.md
59+
docs/ReportLocationPoint.md
60+
docs/ReportLocationRequest.md
61+
docs/ReportPhoto.md
62+
docs/ReportPhotoRequest.md
63+
docs/TokenApi.md
64+
docs/TokenRefresh.md
65+
docs/TokenRefreshRequest.md
66+
docs/TopicNotificationCreateRequest.md
67+
docs/User.md
68+
docs/UserNotificationCreateRequest.md
69+
docs/UserRequest.md
70+
docs/UsersApi.md
71+
git_push.sh
72+
mosquito_alert_api/__init__.py
73+
mosquito_alert_api/api/__init__.py
74+
mosquito_alert_api/api/bites_api.py
75+
mosquito_alert_api/api/breeding_sites_api.py
76+
mosquito_alert_api/api/campaigns_api.py
77+
mosquito_alert_api/api/countries_api.py
78+
mosquito_alert_api/api/fixes_api.py
79+
mosquito_alert_api/api/notifications_api.py
80+
mosquito_alert_api/api/observations_api.py
81+
mosquito_alert_api/api/partners_api.py
82+
mosquito_alert_api/api/photos_api.py
83+
mosquito_alert_api/api/token_api.py
84+
mosquito_alert_api/api/users_api.py
85+
mosquito_alert_api/api_client.py
86+
mosquito_alert_api/api_response.py
87+
mosquito_alert_api/configuration.py
88+
mosquito_alert_api/exceptions.py
89+
mosquito_alert_api/models/__init__.py
90+
mosquito_alert_api/models/app_user_token_obtain_pair.py
91+
mosquito_alert_api/models/app_user_token_obtain_pair_request.py
92+
mosquito_alert_api/models/base_notification_create.py
93+
mosquito_alert_api/models/bite.py
94+
mosquito_alert_api/models/bite_request.py
95+
mosquito_alert_api/models/bounding_box.py
96+
mosquito_alert_api/models/bounding_box_request.py
97+
mosquito_alert_api/models/breeding_site.py
98+
mosquito_alert_api/models/breeding_site_request.py
99+
mosquito_alert_api/models/campaign.py
100+
mosquito_alert_api/models/country.py
101+
mosquito_alert_api/models/create_user.py
102+
mosquito_alert_api/models/create_user_request.py
103+
mosquito_alert_api/models/detail_notification.py
104+
mosquito_alert_api/models/detail_notification_request.py
105+
mosquito_alert_api/models/device.py
106+
mosquito_alert_api/models/device_request.py
107+
mosquito_alert_api/models/fix.py
108+
mosquito_alert_api/models/fix_location.py
109+
mosquito_alert_api/models/fix_location_request.py
110+
mosquito_alert_api/models/fix_request.py
111+
mosquito_alert_api/models/meta_notification_request.py
112+
mosquito_alert_api/models/observation.py
113+
mosquito_alert_api/models/observation_prediction.py
114+
mosquito_alert_api/models/observation_prediction_request.py
115+
mosquito_alert_api/models/observation_request.py
116+
mosquito_alert_api/models/package.py
117+
mosquito_alert_api/models/package_request.py
118+
mosquito_alert_api/models/paginated_bite_list.py
119+
mosquito_alert_api/models/paginated_breeding_site_list.py
120+
mosquito_alert_api/models/paginated_campaign_list.py
121+
mosquito_alert_api/models/paginated_detail_notification_list.py
122+
mosquito_alert_api/models/paginated_observation_list.py
123+
mosquito_alert_api/models/paginated_partner_list.py
124+
mosquito_alert_api/models/partner.py
125+
mosquito_alert_api/models/partner_point.py
126+
mosquito_alert_api/models/patched_detail_notification_request.py
127+
mosquito_alert_api/models/patched_user_request.py
128+
mosquito_alert_api/models/photo.py
129+
mosquito_alert_api/models/photo_prediction.py
130+
mosquito_alert_api/models/photo_prediction_request.py
131+
mosquito_alert_api/models/prediction_score.py
132+
mosquito_alert_api/models/prediction_score_request.py
133+
mosquito_alert_api/models/report_location.py
134+
mosquito_alert_api/models/report_location_point.py
135+
mosquito_alert_api/models/report_location_request.py
136+
mosquito_alert_api/models/report_photo.py
137+
mosquito_alert_api/models/report_photo_request.py
138+
mosquito_alert_api/models/token_refresh.py
139+
mosquito_alert_api/models/token_refresh_request.py
140+
mosquito_alert_api/models/topic_notification_create_request.py
141+
mosquito_alert_api/models/user.py
142+
mosquito_alert_api/models/user_notification_create_request.py
143+
mosquito_alert_api/models/user_request.py
144+
mosquito_alert_api/py.typed
145+
mosquito_alert_api/rest.py
146+
pyproject.toml
147+
requirements.txt
148+
setup.cfg
149+
setup.py
150+
test-requirements.txt
151+
test/__init__.py
152+
tox.ini

.openapi-generator/VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.10.0-SNAPSHOT

.travis.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ref: https://docs.travis-ci.com/user/languages/python
2+
language: python
3+
python:
4+
- "3.8"
5+
- "3.9"
6+
- "3.10"
7+
- "3.11"
8+
- "3.12"
9+
# uncomment the following if needed
10+
#- "3.12-dev" # 3.12 development branch
11+
#- "nightly" # nightly build
12+
# command to install dependencies
13+
install:
14+
- "pip install -r requirements.txt"
15+
- "pip install -r test-requirements.txt"
16+
# command to run tests
17+
script: pytest --cov=mosquito_alert_api

0 commit comments

Comments
 (0)