exponential-decay / demystify

Engine for analysis of Siegfried export files and DROID CSV. The tool has three purposes, break the export into its components and store them within a SQLite database; create additional columns to augment the output where useful; and query the SQLite database, outputting results in a readable form useful for analysis by researchers and archivists within digital preservation departments in memory institutions. The tool will find duplicates, unidentified files, blacklisted objects, character encoding issues, and more.
http://www.openplanetsfoundation.org/blogs/2014-06-03-analysis-engine-droid-csv-export
zlib License
23 stars 5 forks source link

Package me! #48

Closed ross-spencer closed 2 years ago

ross-spencer commented 3 years ago

E.g. with Poetry https://hackersandslackers.com/python-poetry-package-manager/

ross-spencer commented 3 years ago

Initially, we can archive all with something like: https://github.com/fabacab/git-archive-all.sh/blob/master/git-archive-all.sh

ross-spencer commented 3 years ago

Pypa sample package: https://github.com/pypa/sampleproject

ross-spencer commented 3 years ago

Setup notes: https://docs.python.org/3/distutils/setupscript.html

ross-spencer commented 3 years ago

Notes on code-layout: https://realpython.com/python-application-layouts/#installable-single-package

NB. demystify py3 isn't looking too bad in this regard. Might be worth moving the entry point up a directory, creating another sub-level, and having a setup script so it can be installed using setup.py and then into the caller's %path%.

ross-spencer commented 2 years ago

There are a handful of packages for pathlesstaken and sqlitefid now. The process is getting easier and looking good. We will remove Python 2 compatibility and test on Py35 and Py39 to begin.

TODO:

ross-spencer commented 2 years ago

Good article about using src/package as demonstrated in PyPi sample package repo: https://blog.ionelmc.ro/2014/05/25/python-packaging/

ross-spencer commented 2 years ago

Pathless taken imports

ross-spencer commented 2 years ago

Resolved with: https://github.com/exponential-decay/demystify/commit/aafc72481b7d7276eac043fe7501fa3267c37c80

Release information and static download here: https://github.com/exponential-decay/demystify/releases/tag/v2.0.0rc1