Skip to content

Latest commit

 

History

History
74 lines (61 loc) · 3.62 KB

README.md

File metadata and controls

74 lines (61 loc) · 3.62 KB

CodeFactor Maintainability GitHub release GitHub all releases GitHub release (latest by date) GitHub commits since latest release (by date) GitHub commit activity GitHub license Latest build

OpenNumismat

https://opennumismat.github.io/

OpenNumismat, is intended primarily for registering a collection of coins. But it is also suitable for other types of collectibles - stamps, postcards, badges and more exotic things.

Since all components are cross-platform, then OpenNumismat has builds for Windows, Linux (Debian/Ubuntu), macOS.

Main window

Stack

  • Python 3.12
  • PySide6
  • Jinja2 (for reports)
  • Pillow
  • openpyxl (for import/export to Excel)
  • pywin32 (for saving report as Word Document)
  • lxml (for importing from Tellico, Collection Studio and ANS)
  • python-dateutil (for importing from Excel)
  • urllib3 (for import from ANS, CoinSnap, Colnect and Numista)
  • pyinstaller (for deploy)
  • imagehash (for find by image)
  • numpy (for find by image and image editor)
  • opencv-python-headless (for find by image)
  • zxing-cpp (for scan bar-code)
  • pyinstaller (for deploy)
  • Nuitka (for deploy)
  • Inno Setup (for deploy)

For running from source code and development requirements can be installed like so: pip3 install -r requirements.txt

Building

Befor building installation package may be necessary:

  • compile translations file with: python3 tools/build_resources.py
  • create OpenNumismat/private_keys.py with content: MAPS_API_KEY = '<your Google API key>'

For Windows

pip3 install pyinstaller
SET PYTHONOPTIMIZE=1
pyinstaller --clean --noconfirm open-numismat.spec
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" tools\setup.iss

For Windows portable version

pip3 install pyinstaller
SET PYTHONOPTIMIZE=1
pyinstaller --clean --noconfirm open-numismat-portable.spec

For macOS

pyinstaller --clean --noconfirm open-numismat.spec
cd dist
mkdir vol
VERSION=$(grep Version ../OpenNumismat/version.py | grep -o -E "\d+.\d+.\d+")
mv OpenNumismat.app vol
ln -s /Applications vol/Applications
hdiutil create OpenNumismat-$VERSION-macos11.dmg -volname "OpenNumismat-$VERSION" -srcfolder vol -fs HFSX -format UDZO -imagekey zlib-level=9

For Linux

sudo apt install dpkg devscripts debhelper dh-python dh-virtualenv python3-venv
debuild -b -us -uc