Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
dcaec83
clean up
ehanson8 Nov 13, 2019
d59078c
init commit
ehanson8 Nov 14, 2019
6821987
Update test_models.py
ehanson8 Nov 14, 2019
fff95af
Merge pull request #5 from MITLibraries/add-test
ehanson8 Nov 25, 2019
b43188f
add structlog
ehanson8 Nov 15, 2019
1ba35eb
Merge pull request #6 from MITLibraries/add-structlog
ehanson8 Dec 5, 2019
db42f61
add tests
ehanson8 Nov 26, 2019
45b0f26
Merge pull request #7 from MITLibraries/add-tests
ehanson8 Dec 16, 2019
be4795e
add file list func
ehanson8 Dec 16, 2019
23cab51
Merge pull request #8 from MITLibraries/file-list-func
ehanson8 Jan 6, 2020
90c9478
Create setup.py
ehanson8 Dec 16, 2019
9a4656f
Merge pull request #9 from MITLibraries/add-setup.py
ehanson8 Jan 7, 2020
edb6c79
new coll func
ehanson8 Jan 14, 2020
b7c5ab4
Merge pull request #10 from MITLibraries/new-coll
ehanson8 Jan 15, 2020
9cdc68b
post items and bitstreams (#11)
ehanson8 Feb 5, 2020
1957bdf
reconcile command
ehanson8 Jan 18, 2020
257b61c
Merge pull request #12 from MITLibraries/reconcile-command
ehanson8 Feb 12, 2020
62520ff
metadata json transform
ehanson8 Jan 19, 2020
3362540
PR updates
ehanson8 Mar 2, 2020
59fc7a6
Merge pull request #13 from MITLibraries/metadata-json
ehanson8 Mar 13, 2020
f238420
get id from handle and misc refactoring
ehanson8 Mar 2, 2021
ef87125
PR updates
ehanson8 Mar 11, 2021
85a27ca
Merge pull request #14 from MITLibraries/misc-refactoring
ehanson8 Mar 11, 2021
05c977e
conftest
ehanson8 Mar 12, 2021
097ce53
Merge pull request #15 from MITLibraries/conftest-additions
ehanson8 Mar 12, 2021
4c1d830
reconcile refactor
ehanson8 Mar 16, 2021
c8d52b6
PR updates
ehanson8 Mar 18, 2021
c92cde0
Merge pull request #16 from MITLibraries/reconcile-refactor
ehanson8 Mar 19, 2021
4aa5182
major refactor (#19)
ehanson8 Apr 9, 2021
5c2b2f6
reconcile refactor (#20)
ehanson8 Apr 22, 2021
e2bbc46
add readme (#21)
ehanson8 Apr 23, 2021
30cd18c
aspace mapping changes
ehanson8 Apr 26, 2021
60d10eb
Merge pull request #22 from MITLibraries/aspace-map
ehanson8 Apr 27, 2021
263d893
Update README.md
ehanson8 Apr 27, 2021
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
141 changes: 129 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,132 @@ $RECYCLE.BIN/
.Trashes
.VolumeIcon.icns

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Expand All @@ -52,18 +178,9 @@ local/*
!data/.keep
.profile
*.csv
!tests/fixtures/*.csv
*.json
!config/*.json
!tests/fixtures/*.json
createItemMetadataFromCSV_*
*.txt

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Rope project settings
.ropeproject
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: python
python:
- "3.8"
install:
- pipenv install --dev
script:
- pipenv run pytest
13 changes: 13 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright 2019 MIT Libraries

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include LICENSE
11 changes: 9 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,18 @@ url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
pytest = "*"
requests-mock = "*"

[packages]
requests = "*"
click = "*"
structlog = "*"
attrs = "*"
click = "*"
lxml = "*"

[requires]
python_version = "3.7"
python_version = "3.8"

[scripts]
dsaps = "python -c \"from dsaps.cli import main; main()\""
Loading