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
1ef7e5e
Added external tinycrate
spikelynch Jun 6, 2025
fed120a
Added rc branches to linting workflow
spikelynch Jun 9, 2025
195ecf7
Merge branch 'feature-external-tinycrate' into rc-0.1.1
spikelynch Jun 9, 2025
8f05c91
Added script to find wide characters in encoding
spikelynch Jun 10, 2025
c15c0a9
Wound back Python version to 3.11, added .python-version to .gitignore
spikelynch Jun 10, 2025
069fdcf
Added tqdm progress indicators
spikelynch Jun 10, 2025
b25c59f
uv.lock to go with python version downgrade
spikelynch Jun 10, 2025
49494ea
Test case which finds the too-many-columns problem, also renamed
spikelynch Jun 10, 2025
eb92e1f
Added the first steps towards making proper relations when number
spikelynch Jun 10, 2025
2a5185d
Stub expanded properties
spikelynch Jun 11, 2025
b2841c2
I started refactoring the ROCrateTabulator class but I think I've made
spikelynch Jun 11, 2025
d04988d
First cut of relational databases
spikelynch Jun 12, 2025
237d29c
Getting the aggregate relations data with SQL rather than a second
spikelynch Jun 12, 2025
70b0e68
Simple tweak to the SQL gives us the object with the most outgoing
spikelynch Jun 12, 2025
ab44f38
Broken relations
spikelynch Jun 12, 2025
3c0849d
PT's csv-schema code
spikelynch Jun 12, 2025
12aff3d
Doesn't rebuild the properties table unless told to
spikelynch Jun 12, 2025
6cffc94
Working merged CSV export
spikelynch Jun 12, 2025
5c33343
Stub of test for csv export
spikelynch Jun 12, 2025
fd125c9
Tests almost working
spikelynch Jun 12, 2025
a80e26f
export csv tests are working
spikelynch Jun 13, 2025
0553b7f
Checks that every RepositoryObject in the original crate has a row in
spikelynch Jun 13, 2025
c46bac8
Tried various database things (transactions, insert_all) to improve
spikelynch Jun 13, 2025
ac6594d
Reinstated the all_props behaviour and added a test case for it with
spikelynch Jun 17, 2025
0e082bf
Merge branch 'feature-csv-schema' into rc-0.1.1
spikelynch Jun 17, 2025
fcce87a
Fixed inconsistencies between the csv schema and relational branches
spikelynch Jun 17, 2025
9607784
Forgot the util.py file
spikelynch Jun 17, 2025
fb77fea
Took push to rc out of workflows
spikelynch Jun 17, 2025
4747986
Added the LDaCA Language Family crate
spikelynch Jun 17, 2025
7eb8b06
Added smoke test for cli
spikelynch Jun 17, 2025
67d61a1
Bumped version
spikelynch Jun 17, 2025
67d74c2
Removed print statements and added proper cli arg parse test
spikelynch Jun 17, 2025
488b85a
Description
spikelynch Jun 17, 2025
c1e8723
Close database for windows tests
spikelynch Jun 17, 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
__pycache__/
*-config.json
.python-version
.idea
.DS_Store
1 change: 0 additions & 1 deletion .python-version

This file was deleted.

6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
[project]
name = "rocrate-tabular"
version = "0.1.0"
description = "Add your description here"
version = "0.1.1"
description = "A Python library to turn RO-Crates into tables"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"requests>=2.32.3",
"sqlite-utils>=3.37",
"tinycrate>=0.1.2",
"tqdm>=4.67.1",
]

[project.scripts]
Expand Down
13 changes: 13 additions & 0 deletions src/rocrate_tabular/find_bad_bytes.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# quick script to find wide characters in COOEE text files for the Windoes
# encoding bug

from pathlib import Path

d = Path("./cooee/data")
print(d)
for fn in sorted(d.glob("*.txt")):
try:
with open(fn, "r", encoding="cp1252") as fh:
dummy = fh.readlines()
except Exception as e:
print(f"read failed {fn} {e}")
Loading