Smog

Latest version: v0.0.4

Safety actively analyzes 623704 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.0.5

-

0.0.4

- `colman` sub-cmd `-rename` to rename a collection
- a literal "%d" in the name will be expanded to the first/ last date(s) of the collection media items
- converter
- image
- strip metadata
- thumbnail
- resize
- watermark
- pdf
- watermark
- `scan` BUG-FIX: raise StopIteration removed when file is renamed in repo folder
- `check` sub-cmd
- db and repo integrity
- source path against db-index path integrity
- pagination opt `-page` for `find` sub-cmd
- list hashtags with show-tags opt for `find` sub-cmd
- list where media is used in collections with show-cols opt for `find` sub-cmd
- find and remove media confirmation prompt
- converter pipe enhancements
- added `tee` support for writing the produced output to a different folder/ filename
- added `pipeio` support what produces the original input as output again
- this is supposed to be used together with tee, see `run_converter.py`
so that the input can be reused by the next pipe stage
- `colman` sub-cmd `-add-media` and `-rm-media` media read media-id from stdin
with cmd-line parameter given as '-'
- `cat` sub-cmd prints a media from repo to stdout
- converter `getmedia` for getting a media from smog repo to converter pipe
- cmd-line tool `smogconvert` added
-

0.0.3

- new for `colman`
- `-add-media`, adding media to a collection
- `-rm-media`, removing media from a collection
- `touch`, sets the first/last timestamps fresh
- resolves BUG in `scan` with `-col`
- sub-cmd `tag` for hashtag and media handling
- database schema revision check during startup
- `find` filter on collection id
- license change
-

0.0.2

- support of xmp metadata added
- support of various file types containing xmp metadata
- `xmp -types` will list all file extensions
- cmd-line `xmp` sub-command for query xmp metadata
- [`sqlalchemy`](https://www.sqlalchemy.org/) orm integration for media database
- introduced pipe style processing of media items
- enhanced cmd-line with `scan` sub-command
- cmd-line `find` sub-command
- cmd-line `scan` hashtag
- cmd-line `scan` collection
- added `alembic` database migration
- added `config` sub-command with `-db-init` and `-db-migrate`
- `find` filter on hashtag(s)
- `find` filter on collection name
- `find` short display option showing column `media.id`
- `find` with `-remove` for deleting from db-index and repo (file-system)
- `col` for inspecting collections
- `colman` with `remove` for deleting a collection from the db-index
-

0.0.1

- first release
-



Check
[`CHANGELOG`](https://github.com/kr-g/smog/blob/main/CHANGELOG.md)
for latest ongoing, or upcoming news.


BACKLOG

<del>
- XMP evaluation

- https://pypi.org/project/python-xmp-toolkit/

- https://github.com/python-xmp-toolkit/python-xmp-toolkit

- https://libopenraw.freedesktop.org/exempi/
</del>

<del>
- database schema migration

- https://github.com/sqlalchemy/alembic
</del>

- automatic tests

<del>
- configuration of alembic paths via smog cmd-line

- auto migrate smog.db
</del>

- find by media name
- support for MySQL
- support for PostgreSql
- rework cmd-line interface
- processed-files handling (cmd-line `-proc`). move already scanned media to separate folder
- filter on gps location
- theory
- https://en.wikipedia.org/wiki/Haversine_formula
- https://en.wikipedia.org/wiki/Versine#Haversine
- https://en.wikipedia.org/wiki/Versor
- https://upload.wikimedia.org/wikipedia/commons/7/73/ECEF_ENU_Longitude_Latitude_relationships.svg
- impl
- https://en.wikipedia.org/wiki/SpatiaLite
- https://www.gaia-gis.it/fossil/libspatialite/home
- others hilbert or z -curve, r-tree ...
- https://en.wikipedia.org/wiki/Geohash
- https://en.wikipedia.org/wiki/Military_Grid_Reference_System
-
- outbound processing
- ~~watermark~~
- ~~resize~~
- ~~thumbnails~~
- convert to different pic formats
- word press integration (?)
- pdf ~~watermark~~, preview, encrypt
- [pypdf2 github](https://github.com/py-pdf/PyPDF2)
- [pypdf2 readthedocs](https://pypdf2.readthedocs.io/en/latest/)
- syncronize data from different devices
-


OPEN ISSUES

refer to [issues](https://github.com/kr-g/smog/issues)


LIMITATIONS

-

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.