Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
0e2e796
Initial commit
khoroshevskyi Jul 8, 2022
d1cee0f
Create a simple client
rafalstepien Sep 19, 2022
27c5965
Allow passing variables for PEP projects (#4)
rafalstepien Sep 19, 2022
b5068e8
Add tests (#5)
rafalstepien Sep 19, 2022
23eece4
Add complete load_pep functionality (#6)
rafalstepien Sep 29, 2022
af79b2b
Add tests to existing methods (#7)
rafalstepien Oct 3, 2022
55d8bd6
Add pull command (#8)
rafalstepien Oct 3, 2022
3655f16
Implement command line authentication (#9)
rafalstepien Nov 7, 2022
f572c2e
some work on auth
khoroshevskyi Mar 16, 2023
fdb657b
Fixed login loop
khoroshevskyi Mar 19, 2023
5907fb6
Fixed downloading file
khoroshevskyi Mar 19, 2023
2600c09
Fixed pulling file 2
khoroshevskyi Mar 20, 2023
6ece716
added setup, license, requirements
khoroshevskyi Mar 20, 2023
0329638
fixed requirements
khoroshevskyi Mar 20, 2023
9c739ee
added loading project into peppy_obj
khoroshevskyi Mar 29, 2023
35d9e43
added pulling functionality
khoroshevskyi Mar 29, 2023
2243abd
Added handling projects with multiple subtables
khoroshevskyi Mar 30, 2023
9db09bc
Added push functionality
khoroshevskyi Mar 30, 2023
9e4ee86
Added comments + deleted unused code
khoroshevskyi Mar 31, 2023
a98c6de
auth polishing
khoroshevskyi Mar 31, 2023
080bdc0
Fixed upload models
khoroshevskyi Mar 31, 2023
ad7b260
Added tests + lint
khoroshevskyi Apr 3, 2023
33b374b
added docs
khoroshevskyi Apr 3, 2023
b228d02
actions + lint
khoroshevskyi Apr 3, 2023
a45ef06
fixed tests
khoroshevskyi Apr 3, 2023
8311679
fixed tests 2
khoroshevskyi Apr 3, 2023
c275c3f
fixed tests 3
khoroshevskyi Apr 3, 2023
7d7bc4d
Update .github/workflows/pytest.yml
khoroshevskyi Apr 5, 2023
39ebf6b
Added Responsestatus codes + fixed init + config
khoroshevskyi Apr 5, 2023
ba4013a
GitHub tests and requirements
khoroshevskyi Apr 5, 2023
8a1fd2c
fixed tests
khoroshevskyi Apr 5, 2023
83807e2
Update README.md
khoroshevskyi Apr 5, 2023
9855a88
Update README.md
khoroshevskyi Apr 5, 2023
0997093
Update README.md
khoroshevskyi Apr 5, 2023
d25c741
Added catching error function
khoroshevskyi Apr 5, 2023
04661a3
polishing
khoroshevskyi Apr 6, 2023
d8901b5
polishing 2
khoroshevskyi Apr 6, 2023
0a373f4
lint
khoroshevskyi Apr 6, 2023
63b6072
small change
khoroshevskyi Apr 6, 2023
4297537
docstrings
khoroshevskyi Apr 6, 2023
b158c89
polishing 3
khoroshevskyi Apr 6, 2023
fbcc39f
fixed error in project models
khoroshevskyi Apr 6, 2023
be0fae5
fixed setup dependencies
khoroshevskyi Apr 14, 2023
6b8a571
Added windows support
khoroshevskyi Apr 16, 2023
2883aae
Added version flag
khoroshevskyi Apr 17, 2023
19a88d9
fixed Usage docs
khoroshevskyi Apr 17, 2023
de141c0
fixed connection error message
khoroshevskyi Apr 17, 2023
277c15b
changed to public server
khoroshevskyi Apr 17, 2023
57a1868
Added changelog
khoroshevskyi Apr 17, 2023
4af98bd
lint
khoroshevskyi Apr 17, 2023
3087c52
Merge pull request #15 from pepkit/device_login
khoroshevskyi Apr 17, 2023
620347a
Setup fix
khoroshevskyi Apr 17, 2023
ad81dce
Merge pull request #18 from pepkit/device_login
khoroshevskyi Apr 17, 2023
75f2303
Update setup.py2
khoroshevskyi Apr 17, 2023
ef98cc7
updated test
khoroshevskyi Apr 19, 2023
3972d82
updated test1
khoroshevskyi Apr 19, 2023
1eb00b5
updated test 2
khoroshevskyi Apr 19, 2023
a380156
updated test 3
khoroshevskyi Apr 19, 2023
3dd5490
response fix
khoroshevskyi Jun 27, 2023
71b3292
Fixed #20
khoroshevskyi Jul 19, 2023
efd1d9f
updated changelog
khoroshevskyi Jul 19, 2023
18a8c53
Updated const in models
khoroshevskyi Jul 20, 2023
59249fb
Fixed pydanitc version
khoroshevskyi Jul 20, 2023
b7185dd
Merge pull request #21 from pepkit/dev
khoroshevskyi Jul 20, 2023
62e9d16
Fixed base url
khoroshevskyi Jul 20, 2023
a404399
fixed codecov
khoroshevskyi Jul 20, 2023
96798ef
fixed codecov
khoroshevskyi Jul 20, 2023
611d1fb
Merge pull request #23 from pepkit/dev
khoroshevskyi Jul 20, 2023
62d52d2
added project search functionality
khoroshevskyi Aug 28, 2023
e846905
fixed codecov
khoroshevskyi Aug 28, 2023
544c49e
fixed pephub url
khoroshevskyi Aug 29, 2023
22e0e6f
Update changelog.md
khoroshevskyi Oct 2, 2023
2fdf976
Merge pull request #25 from pepkit/dev
khoroshevskyi Oct 2, 2023
22b2ce6
added reg_path check in helpers
khoroshevskyi Nov 1, 2023
63aaf15
Merge remote-tracking branch 'origin/dev' into dev
khoroshevskyi Nov 1, 2023
67119ad
added linter
khoroshevskyi Nov 1, 2023
7a89e24
rolled back to black checker
khoroshevskyi Nov 13, 2023
bd1307b
Merge pull request #27 from pepkit/dev
khoroshevskyi Nov 13, 2023
385ddeb
Fixed #22
khoroshevskyi Jan 16, 2024
f0ac5a7
updated version
khoroshevskyi Jan 16, 2024
fa51a20
Merge pull request #30 from pepkit/dev
khoroshevskyi Jan 16, 2024
764b9c4
v0.3.0 updates
khoroshevskyi Jan 17, 2024
16d734a
updated pypi publishing script
khoroshevskyi Jan 17, 2024
98c4a4d
Merge pull request #31 from pepkit/dev
khoroshevskyi Jan 17, 2024
65c607b
added parent path specification in save_pep function #32
khoroshevskyi Jan 18, 2024
fae2fb5
updated pydantic model
khoroshevskyi Jan 22, 2024
12b578a
fixed #33
khoroshevskyi Jan 22, 2024
eebf11a
Merge branch 'main' into dev
khoroshevskyi Jan 22, 2024
9391197
Merge branch 'v0-4-0' into dev
khoroshevskyi Jan 22, 2024
de71316
fixed #32 fixed #34
khoroshevskyi Jan 23, 2024
e932386
updated version
khoroshevskyi Jan 23, 2024
bdbb7ab
Fixed saving force bug
khoroshevskyi Jan 23, 2024
b0888a4
Added the skeleton for Views and Samples functions
khoroshevskyi Jan 23, 2024
72af16a
updated docstring
khoroshevskyi Jan 23, 2024
1bbd327
updated delete function
khoroshevskyi Jan 26, 2024
8a7f8a7
updated changelog
khoroshevskyi Jan 28, 2024
095223d
Merge remote-tracking branch 'origin/dev' into samples_views
khoroshevskyi Jan 30, 2024
4229494
added samples functionality
khoroshevskyi Jan 30, 2024
a0ea82c
updated manifest
khoroshevskyi Feb 1, 2024
dadffc6
work on samples and viewes
khoroshevskyi Feb 1, 2024
ff6735b
updated code response
khoroshevskyi Feb 5, 2024
c9fe461
Added test and updated request methods
khoroshevskyi Feb 12, 2024
0c2cef2
Added logging
khoroshevskyi Feb 12, 2024
dc03117
fixed tests
khoroshevskyi Feb 12, 2024
bf21b78
fixed pr comments
khoroshevskyi Feb 12, 2024
435aaad
Merge pull request #36 from pepkit/samples_views
khoroshevskyi Feb 12, 2024
c71a4af
updated version
khoroshevskyi Feb 12, 2024
5389da7
Merge pull request #37 from pepkit/dev
khoroshevskyi Feb 13, 2024
2b6d203
fixed #17
khoroshevskyi Mar 7, 2024
697bd9a
updated requirements
khoroshevskyi Mar 7, 2024
f0b6c76
updated requirements2
khoroshevskyi Mar 7, 2024
e10550c
changelog
khoroshevskyi Mar 7, 2024
4b7c2d1
Merge pull request #38 from pepkit/dev
khoroshevskyi Mar 7, 2024
8317c8d
updated view creation
khoroshevskyi Apr 16, 2024
8d64c00
updated view creation
khoroshevskyi Apr 16, 2024
d216554
Merge pull request #40 from pepkit/dev
khoroshevskyi Apr 16, 2024
23c049f
fixed updates in endpoints
khoroshevskyi Jul 19, 2024
0c53e2d
Merge pull request #44 from pepkit/dev
khoroshevskyi Jul 25, 2024
cd335fa
fixed projectAnnotationModel
khoroshevskyi Aug 21, 2024
76fd48f
Merge pull request #45 from pepkit/dev
khoroshevskyi Aug 21, 2024
9649c42
1. added timeout 10 sec for responses
khoroshevskyi Nov 21, 2024
5b19592
Merge pull request #49 from pepkit/dev
khoroshevskyi Nov 26, 2024
9713e03
partially merge eido
ClaudeHu Oct 20, 2025
1f97bf8
merge eido tests
ClaudeHu Oct 20, 2025
b2898da
validate original sample & pre-processed project
ClaudeHu Oct 27, 2025
fe20e86
merge CLI of eido into peppy
ClaudeHu Oct 28, 2025
7b3c891
correction for package installing
ClaudeHu Oct 28, 2025
6055056
importing relative paths in schema
ClaudeHu Oct 29, 2025
ff038e1
default args in CLI conflict with yaml config
ClaudeHu Oct 29, 2025
dbfedcd
modify warning message for unpopulated env vars
ClaudeHu Oct 30, 2025
1afef2f
code formatting
ClaudeHu Oct 30, 2025
f8692a7
formatting with black 25.9.0
ClaudeHu Oct 30, 2025
9d0904f
extend requirement from eido
ClaudeHu Oct 30, 2025
02d3284
check based on copilot
ClaudeHu Oct 30, 2025
ae23b56
linting
ClaudeHu Oct 30, 2025
9ad823b
requirements for eido
ClaudeHu Oct 30, 2025
6af5e64
eido test requirements
ClaudeHu Oct 30, 2025
d6e1fc1
complete missing type annotations
ClaudeHu Nov 3, 2025
12965a6
Add type hints to eido module functions
claude Nov 6, 2025
58dab87
Convert all eido docstrings to Google-style format
claude Nov 6, 2025
6f3477b
Fix exception handling in validation module
claude Nov 6, 2025
991cc23
Run black formatter on eido module
claude Nov 6, 2025
5935be2
Fix type hints to use Optional[Dict] instead of Dict = None
claude Nov 6, 2025
b87d847
Add type hints to main peppy modules
claude Nov 6, 2025
09950b6
Convert peppy module docstrings to Google-style format
claude Nov 6, 2025
44e663f
Run black formatter on peppy modules
claude Nov 6, 2025
3f37cc4
Merge pull request #505 from pepkit/dev
nsheff Nov 6, 2025
ad3c725
Apply suggestion from @Copilot
ClaudeHu Nov 6, 2025
6eced9b
Merge pull request #503 from pepkit/claude/eido-typehints-docstrings-…
ClaudeHu Nov 6, 2025
e8dc24c
Apply suggestion from @Copilot
ClaudeHu Nov 6, 2025
d51da61
Merge pull request #504 from pepkit/claude/peppy-typehints-docstrings…
ClaudeHu Nov 6, 2025
a1116cd
update based on feedbacks from Nathan and copilot
ClaudeHu Nov 7, 2025
7728b0c
organize pytest into peppy and eido separately
ClaudeHu Nov 7, 2025
d49007c
Update peppy/eido/validation.py
ClaudeHu Nov 7, 2025
00a771c
fix based on suggestion from copilot
ClaudeHu Nov 7, 2025
3b2405d
Merge branch 'dev_claude' of github.com:pepkit/peppy into dev_claude
ClaudeHu Nov 8, 2025
189731e
minor change
ClaudeHu Nov 8, 2025
381ead5
edit based on copilot
ClaudeHu Nov 8, 2025
6f8b7c0
merge repo of pephubclient to keep git history
ClaudeHu Nov 14, 2025
2b2f744
relocate pephubclient code
ClaudeHu Nov 14, 2025
2d6e961
make sure all pytests passed
ClaudeHu Nov 15, 2025
fa215bf
extra tests
ClaudeHu Nov 15, 2025
e02206b
linting
ClaudeHu Nov 15, 2025
944154a
adjust cli to add pephubclient
ClaudeHu Nov 16, 2025
2d2faf5
save draft
ClaudeHu Nov 16, 2025
325a243
remain subparser print_help in eido
ClaudeHu Nov 16, 2025
deef82c
merge pephubclient cli
ClaudeHu Nov 17, 2025
5da4eaa
comments
ClaudeHu Nov 17, 2025
35d1a3d
save draft
ClaudeHu Nov 17, 2025
a8a4711
save draft of typer cli for eido
ClaudeHu Nov 18, 2025
be7ca59
typer cli for peppy
ClaudeHu Nov 18, 2025
3561f16
Update peppy/eido/cli.py
ClaudeHu Nov 18, 2025
0ef7405
Merge pull request #507 from pepkit/dev_typer_cli
ClaudeHu Nov 18, 2025
cace65a
update based on copilot feedback
ClaudeHu Dec 10, 2025
947ede6
Update peppy/pephubclient/helpers.py
ClaudeHu Dec 10, 2025
2c3025f
Merge pull request #509 from pepkit/dev_merge_pephubclient
khoroshevskyi Dec 15, 2025
e9fed41
removed cfg file
khoroshevskyi Dec 15, 2025
2998165
updated requirementes and manifest file, and github actions
khoroshevskyi Dec 15, 2025
63c7022
updated requirements
khoroshevskyi Dec 15, 2025
63730ef
updated github actions tests
khoroshevskyi Dec 15, 2025
67d0015
trial to fix pytest(windows)
ClaudeHu Dec 17, 2025
3d7b506
trial to solve path in yaml for win
ClaudeHu Dec 17, 2025
234bdb0
for url path expansion in Windows
ClaudeHu Dec 18, 2025
a969932
remove commented code
ClaudeHu Dec 18, 2025
1210ee2
branch extension on pytest workflow
ClaudeHu Dec 19, 2025
ca90860
version update
ClaudeHu Dec 19, 2025
8ad583b
remove docs due to overlapping with pespec
ClaudeHu Dec 19, 2025
d0f7bf4
fix README that was accidentally emptied
ClaudeHu Dec 19, 2025
66d4abc
mkdocs no longer needed since docs relocated to pepspec
ClaudeHu Dec 19, 2025
77440b7
readthedocs also unnecessary
ClaudeHu Dec 19, 2025
c0b4e7b
adjust test data path
ClaudeHu Dec 19, 2025
847c964
Merge remote-tracking branch 'pephub_split/main' into dev_claude
ClaudeHu Dec 19, 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
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
exclude = .git,__pycache__,docs/source/conf.py,old,build,dist
max-line-length = 120
4 changes: 3 additions & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Lint

on: [pull_request]
on:
pull_request:
branches: [ main ]

jobs:
lint:
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/cli-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: test coverage

on:
push:
branches: [master, dev]

jobs:
cli-coverage-report:
strategy:
matrix:
python-version: [ "3.12" ]
os: [ ubuntu-latest ]
r: [ release ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5

- uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install test dependencies
run: if [ -f requirements/requirements-test.txt ]; then pip install -r requirements/requirements-test.txt; fi

- run: pip install .

- name: Run tests
run: coverage run -m pytest

- name: build coverage
run: coverage html -i

- run: smokeshow upload htmlcov
env:
SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 80
SMOKESHOW_GITHUB_CONTEXT: coverage
SMOKESHOW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
SMOKESHOW_AUTH_KEY: ${{ secrets.SMOKESHOW_AUTH_KEY }}
35 changes: 35 additions & 0 deletions .github/workflows/pytest-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Run pytests windows

on:
push:
branches: [dev]
pull_request:
branches: [main, dev, peppy0_50]

jobs:
pytest:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.11"]
os: [windows-latest]

steps:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install all dependencies
run: pip install -r requirements/requirements-all.txt

- name: Install test dependencies
run: pip install -r requirements/requirements-test.txt

- name: Install package
run: python -m pip install .

- name: Run pytest tests
run: pytest tests -v
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [dev]
pull_request:
branches: [master, dev]
branches: [main, dev, peppy0_50]

jobs:
pytest:
Expand All @@ -15,15 +15,15 @@ jobs:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dev dependencies
run: if [ -f requirements/requirements-dev.txt ]; then pip install -r requirements/requirements-dev.txt; fi
- name: Install all dependencies
run: if [ -f requirements/requirements-all.txt ]; then pip install -r requirements/requirements-all.txt; fi

- name: Install test dependencies
run: if [ -f requirements/requirements-test.txt ]; then pip install -r requirements/requirements-test.txt; fi
Expand All @@ -32,4 +32,4 @@ jobs:
run: python -m pip install .

- name: Run pytest tests
run: pytest tests -x -vv --cov=./ --cov-report=xml --remote-data
run: pytest tests -v
7 changes: 1 addition & 6 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Upload Python Package

on:
Expand All @@ -14,9 +11,7 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
Expand All @@ -27,4 +22,4 @@ jobs:
run: |
python setup.py sdist bdist_wheel
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@release/v1
21 changes: 0 additions & 21 deletions .github/workflows/run-codecov.yml

This file was deleted.

78 changes: 0 additions & 78 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,87 +1,9 @@
# ignore test results
tests/test/*

# toy/experimental files
*.tsv
*.pkl

# ignore eggs
.eggs/

# generic ignore list:
*.lst

# Compiled source
*.com
*.class
*.dll
*.exe
*.o
*.so
*.pyc

# Packages
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases
*.log
*.sql
*.sqlite

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Gedit temporary files
*~

# libreoffice lock files:
.~lock*

# Default-named test output
microtest/
open_pipelines/

# IDE-specific items
.idea/
.vscode/

# pytest-related
.cache/
.coverage
.pytest_cache/

# Reserved files for comparison
*RESERVE*

# Build-related stuff
build/
dist/
peppy.egg-info/

.ipynb_checkpoints/

# env stuff
env/
.env
venv/
.venv/

# swap files
.swp
.swo
.swn
19 changes: 0 additions & 19 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,2 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: check-yaml
- id: end-of-file-fixer
- id: requirements-txt-fixer
- id: trailing-whitespace
- id: check-ast

- repo: https://github.com/PyCQA/isort
rev: 5.8.0
hooks:
- id: isort
args: ["--profile", "black"]

- repo: https://github.com/psf/black
rev: 21.5b2
hooks:
- id: black
15 changes: 0 additions & 15 deletions .readthedocs.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Copyright 2017 Nathan Sheffield

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Expand Down
5 changes: 4 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
include LICENSE.txt
include requirements/*
include README.md
include peppy/pephubclient/*
include peppy/eido/*
include peppy/pephubclient/pephub_oauth/*
include peppy/pephubclient/modules/*
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
lint:
ruff format .

run-coverage:
coverage run -m pytest

html-report:
coverage html --omit="*/test*"

open-coverage:
cd htmlcov && google-chrome index.html

coverage: run-coverage html-report open-coverage
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ Links to complete documentation:
* Complete documentation and API for the `peppy` python package is at [peppy.databio.org](https://peppy.databio.org).
* Reference documentation for standard **PEP** format is at [pep.databio.org](https://pep.databio.org/).
* Example PEPs for testing `peppy` are in the [example_peps repository](https://github.com/pepkit/example_peps).
* The package [on PyPI](https://pypi.org/project/peppy/).
* The package [on PyPI](https://pypi.org/project/peppy/).
1 change: 0 additions & 1 deletion docs/.gitignore

This file was deleted.

47 changes: 0 additions & 47 deletions docs/README.md

This file was deleted.

Loading