Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
24d0d29
Change urls to point papis
alejandrogallo Jun 9, 2019
a261ad8
Version 0.1.1
alejandrogallo Jun 9, 2019
e61c84f
Fix elsevier test
alejandrogallo Jun 9, 2019
32f0e5e
clean up and update docs.
alexfikl Dec 4, 2019
f4aa051
add typing information
alexfikl Dec 4, 2019
a8e00e0
update travis pipelines
alexfikl Dec 4, 2019
3cdb3fb
Add mypy to travis and as a dev dependency
alejandrogallo Dec 29, 2019
19e90c2
Simplify validate_doi
alejandrogallo Dec 29, 2019
0577dff
Add CHANGELOG
alejandrogallo Dec 29, 2019
23981ae
Add flake8 to travis and fix its errors
alejandrogallo Dec 29, 2019
2c5d55d
Update readthedocs to use pip
alejandrogallo Dec 29, 2019
a664884
Bump version
alejandrogallo Dec 29, 2019
5730a06
Create codeql.yml
alejandrogallo Nov 19, 2022
633bcc7
Create pyre.yml
alejandrogallo Nov 19, 2022
9e620b2
Update pyre.yml
alejandrogallo Nov 19, 2022
11f7e75
Update pyre.yml
alejandrogallo Nov 19, 2022
0518560
Add net markers in tests to run pytest -k "not net"
mcepl Feb 5, 2023
f27f38d
makefile: simplify targets
alexfikl Mar 16, 2024
3a03a4a
setup: switch to pyproject and hatchling
alexfikl Mar 16, 2024
758318b
ci: remove travis.yaml
alexfikl Mar 16, 2024
507acb0
ci: add tests to ci
alexfikl Mar 16, 2024
a64941e
style: fix flake8 issues
alexfikl Mar 16, 2024
844fdfd
tests: fix tests
alexfikl Mar 16, 2024
34ea67c
tests: Configure pytest to ignore docs
hseg Jun 23, 2025
2e4b622
Resolve redirects when testing URLs for equality
hseg Apr 15, 2025
ca6dcf0
Use cloudscraper to solve cloudflare challenges
hseg Jun 29, 2025
8e5f3c9
Parametrize tests
hseg Jun 29, 2025
ab9d72a
Make test_redirect cases prettier
hseg Jun 29, 2025
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
42 changes: 42 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "CodeQL"

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
# 17:00 on Friday (UTC)
- cron: "00 17 * * 5"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'python' ]

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

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"
43 changes: 43 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CI

on:
push:
branches: [ "master", "ci-*" ]
pull_request:
branches: [ "master" ]
schedule:
# 17:00 on Friday (UTC)
- cron: "00 17 * * 5"

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
fail-fast: false

steps:
- uses: actions/checkout@v4
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --editable '.[develop,docs]'
shell: bash

- name: Check linting and type annotations
run: |
python -m flake8 src tests
python -m mypy src tests
shell: bash

- name: Run tests
if: success() || failure()
run: |
python -m pytest -v -s src tests
shell: bash
8 changes: 4 additions & 4 deletions readthedocs.yml → .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
formats:
- none
build:
image: latest
python:
version: 3.6
# Note that pip_install is buggy, but setup_py_install will not take into
# account any dependencies from setup.py. *All* dependencies must be
# declared in docs/rtd_environment.yml
setup_py_install: true
pip_install: false
#setup_py_install: true
pip_install: true
extra_requirements:
- dev
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
v0.2
====

- Remove support for python 3.4 and lower.
- Add type annotations.
- Simplify `validate_doi` to just raise a `404` error in case
something went wrong.
8 changes: 4 additions & 4 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Types of Contributions
Report Bugs
~~~~~~~~~~~

Report bugs at https://github.com/alejandrogallo/doi/issues.
Report bugs at https://github.com/papis/python-doi/issues.

If you are reporting a bug, please include:

Expand All @@ -37,7 +37,7 @@ articles, and such.
Submit Feedback
~~~~~~~~~~~~~~~

The best way to send feedback is to file an issue at https://github.com/alejandrogallo/doi/issues.
The best way to send feedback is to file an issue at https://github.com/papis/python-doi/issues.

If you are proposing a feature:

Expand All @@ -51,7 +51,7 @@ Get Started!

In short,

1. Clone the repository from ``git@github.com:alejandrogallo/doi.git``
1. Clone the repository from ``git@github.com:papis/python-doi.git``
2. Fork the repo on GitHub to your personal account.
3. Add your fork as a remote.
4. Pull in the latest changes from the master branch.
Expand All @@ -77,6 +77,6 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the
feature to the list in README.rst.
3. Check https://travis-ci.org/alejandrogallo/doi/pull_requests
3. Check https://travis-ci.org/papis/python-doi/pull_requests
and make sure that the tests pass for all supported Python versions.

11 changes: 0 additions & 11 deletions MANIFEST.in

This file was deleted.

Loading