Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
5514575
Transferred all files from Azure to GitHub
dayanabuzleEFSA Jan 13, 2025
2975d50
Added ORCID
dayanabuzleEFSA Jan 15, 2025
76e9d64
Create temp
dayanabuzleEFSA Jan 15, 2025
c7dcb75
pkgdown website
dayanabuzleEFSA Jan 15, 2025
d4727a8
Delete docs/temp
dayanabuzleEFSA Jan 15, 2025
69cea95
Create temp
dayanabuzleEFSA Jan 15, 2025
261a5a3
pkgdown website
dayanabuzleEFSA Jan 15, 2025
f086e56
Delete docs/articles/temp
dayanabuzleEFSA Jan 15, 2025
170f35c
Delete docs directory
dayanabuzleEFSA Jan 15, 2025
94cd97b
Update MANIFEST.in to exclude requirements.txt
dayanabuzleEFSA Jan 15, 2025
5503edd
fix
dayanabuzleEFSA Jan 16, 2025
7f4e27b
Added lifecycle badge
dayanabuzleEFSA Jan 16, 2025
3b09f93
Added codecov badge
dayanabuzleEFSA Jan 16, 2025
e885adc
Created python-ci.yml for codecov badge
dayanabuzleEFSA Jan 16, 2025
d4a4cb0
Fix python-ci.yml
dayanabuzleEFSA Jan 16, 2025
0938d92
Fix python-ci.yml
dayanabuzleEFSA Jan 16, 2025
fe218a3
Fix python-ci.yml
dayanabuzleEFSA Jan 16, 2025
3f8ab72
Fix PYTHONPATH for src/eppoPynder
dayanabuzleEFSA Jan 16, 2025
985c7ea
Fix: Set EPPO Token as environment variable
dayanabuzleEFSA Jan 16, 2025
fbec429
minor
dayanabuzleEFSA Jan 16, 2025
f306155
fix
dayanabuzleEFSA Jan 16, 2025
7dd8c78
minor
dayanabuzleEFSA Jan 16, 2025
8cca531
fix for codecov badge
dayanabuzleEFSA Jan 16, 2025
86395d4
fix for codecov badge
dayanabuzleEFSA Jan 16, 2025
af291e8
fix
dayanabuzleEFSA Jan 16, 2025
a6aadbf
fix
dayanabuzleEFSA Jan 16, 2025
131cfee
fix
dayanabuzleEFSA Jan 16, 2025
a65a051
fix
dayanabuzleEFSA Jan 16, 2025
a22793c
fix
dayanabuzleEFSA Jan 16, 2025
aee5828
Updated for submission to PyPi
dayanabuzleEFSA Jan 31, 2025
cbdb47d
Updated for submission to PyPi
dayanabuzleEFSA Jan 31, 2025
7dff3b8
Updated for submission to PyPi
dayanabuzleEFSA Jan 31, 2025
047904b
Create temp
dayanabuzleEFSA Jan 31, 2025
020c09e
Updated for submission to PyPi
dayanabuzleEFSA Jan 31, 2025
3863409
Delete dist/temp
dayanabuzleEFSA Jan 31, 2025
7de50f6
Migration to v2. (#1)
lorenzocopelliEFSA Apr 8, 2026
5f749dc
Fixed project name. (#2)
lorenzocopelliEFSA Apr 8, 2026
bc73765
Added temporary tests. (#3)
lorenzocopelliEFSA Apr 8, 2026
de14bbc
Fixed pyproject.toml. (#4)
lorenzocopelliEFSA Apr 8, 2026
87a8ff0
Fixed package name. (#5)
lorenzocopelliEFSA Apr 8, 2026
bccdb79
Minor fixes. (#6)
lorenzocopelliEFSA Apr 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[run]
omit =
tests/*
37 changes: 37 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Run tests and upload coverage report to Codecov

on:
push:
branches: [dev, main]

jobs:
coverage:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Install Python dependencies
run: |
pip install -r requirements.txt
pip install codecov
pip install -e .

- name: Run tests with coverage
env:
SKIP_ONLINE_TESTS: "true"
run: |
coverage run -m pytest
coverage xml

- name: Upload score to Codecov
uses: codecov/codecov-action@v4
with:
files: coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
39 changes: 39 additions & 0 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build and deploy mkdocs site to GitHub Pages

on:
push:
branches: [main]

jobs:
mkdocs:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Install docs dependencies
run: |
pip install mkdocs

- name: Generate index.md from README.md
run: |
cp README.md docs/index.md
sed -i 's|docs/guide.md|guide/|g' docs/index.md
mkdir docs/media
cp media/logo.png docs/media/logo.png

- name: Build mkdocs site
run: mkdocs build

- name: Deploy site to gh-pages branch
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.idea/
*.egg-info/
.env
__pycache__/
.coverage
dist/
coverage.xml
961 changes: 287 additions & 674 deletions LICENSE

Large diffs are not rendered by default.

60 changes: 60 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# eppoPynder <img src="media/logo.png" height="140" align="right">

[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable) [![codecov](https://codecov.io/gh/openefsa/eppoPynder/branch/main/graph/badge.svg?token=6U3TL9T27T)](https://codecov.io/gh/openefsa/eppoPynder)

## Overview

**eppoPynder** provides a Python interface to the public APIs of the **European
and Mediterranean Plant Protection Organization (EPPO)** database.
The package facilitates access to a wide range of pest-related information
collected and maintained by EPPO, allowing users to query, retrieve, and
process this data directly from Python.

The package is intended for researchers, analysts, and practitioners in plant
protection who require convenient programmatic access to EPPO data.

## Installation

### From PyPi

```
pip install eppopynder
```

### Development version

To install the latest development version:

```
pip install git+https://github.com/openefsa/eppoPynder.git
```

## Requirements

An active internet connection is required, as the package communicates with
EPPO's online services to fetch and process data.

## Usage

Once installed, load the package as usual:

```python
from eppopynder import *
```

Basic usage examples and full documentation are available in the package
[guide](docs/guide.md).

## Authors and maintainers

- **Lorenzo Copelli** (author, [ORCID](https://orcid.org/0009-0002-4305-065X)).
- **Dayana Stephanie Buzle** (author, [ORCID](https://orcid.org/0009-0003-2990-7431)).
- **Rafael Vieira** (author, [ORCID](https://orcid.org/0009-0009-0289-5438)).
- **Agata Kaczmarek** (author, [ORCID](https://orcid.org/0000-0002-7463-5821)).
- **Luca Belmonte** (author, maintainer, [ORCID](https://orcid.org/0000-0002-7977-9170)).

## Links

- **Homepage**: [GitHub](https://github.com/openefsa/eppoPynder).
- **Bug Tracker**: [Issues on GitHub](https://github.com/openefsa/eppoPynder/issues).
- **EPPO Database**: [https://gd.eppo.int](https://gd.eppo.int).
Loading
Loading