Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Utility for loading and handling media files in the DVK file format.
DVK Archive can be installed from its PyPI package using pip:
pip install dvk-archive
If you are installing from source, the following python packages are required:
All scripts contain a [directory] field, which tells the script which directory to search. If left empty, [directory] defaults to the current working directoy. Scripts search both [directory] and its subdirectories.
Scripts for finding errors in DVK files and their referenced media.
dvk-same-ids [directory]
Checks for DVK files in [directory] that share the same ID. Prints file paths if any are found.
dvk-unlinked [directory]
Checks for any files in [directory] that are not linked to a DVK file. Ignores folders that contain no DVKs. Prints file paths if any are found.
dvk-missing-media [directory]
Checks for any DVK files in [directory] which reference media files or secondary media files that do not exist. Prints file paths if any are found.
Scripts for editing DVK files and their referenced media.
dvk_rename [directory]
Renames all DVKs and their referenced media in [directory] to fit the standard naming convention: TITLE_ID
DVK files are simply repackaged JSON files that contain useful metadata fields for media files downloaded from the internet. DVK files contain only metadata, and point to separate media files (images, video, audio, etc.).
Below are the standard DVK metadata fields, shown with their corresponding JSON keys.
(str) A unique ID for other DVK files to reference.
(String) The title for the referenced media.
(list[str]) A list of artists/authors who created the referenced media.
(str) A string showing the time and date in which the referenced media was published/uploaded.
Formatted YYYY/MM/DD|hh:mm
Example: 6 October, 2017 @ 5:00PM -> 2017/10/06|17:00
(list[str]) A list of tags gathered from the referenced media's original web source.
(str) A media description gathered from the referenced media's original web source.
(str) The URL of the web page from which the referenced media was sourced.
(str) The direct media URL from which the referenced media was downloaded. Not to be confused with the page_url, which is the URL for the page containing both the referenced media and accessory info.
(str) The direct media URL from which the secondary media file was downloaded. This field is only used if the DVK references a secondary media file. (See secondary file)
(str) File path of the referenced media file. Path is relative to the directory of the DVK file.
(str) File path of a secondary media file that supplements the main media file. For example, a DVK that references a text file might have a secondary file for the cover illustration. Path is relative to the directory of the DVK file. Not used if there is no secondary media file.
(list[str]) A list of artists who favorited the media on the site it originated from. Used to indicate that the media was downloaded from a favorites gallery and not from the artist themselves.
(bool) Whether the file was downloaded on its own rather than as part of a larger gallery.
FAQs
Utility for loading and handling media files in the DVK file format.
We found that dvk-archive demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.