Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lunasync

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lunasync

Keep downloaded booru searches up-to-date, similar to Danbooru subscriptions.

  • 0.1.4
  • PyPI
  • Socket score

Maintainers
1

lunasync

PyPI downloads PyPI version PyPI pyversions

Use lunafind to download and keep in sync tag searches from Danbooru-based sites, similar to Danbooru tag subscriptions/saved searches.

Searches are listed in a simple commented CSV file (see --print-config-path).
Can be easily used with cron for automatic scheduling.

Features

  • Full and incremental syncs; incremental stops downloading after reaching the last post that was downloaded in a previous run
  • Fast multithreaded downloads with lunafind; 8 downloads in parallel by default
  • Can sync all or only searches with a specific labels
  • Return the total number of downloaded posts

Command line usage

After adding some searches to the config file, simply doing lunasync will synchronize all searches in the current directory.
A full sync will be taken for a search if this is the first time, else incremental will be used. See lunasync --help for all options.

Python usage

    import lunasync
    lunasync.sync()

See help(lunasync.sync) for parameters.

Installation

Requires Python 3.6+ and pip (for automatic easy install).
Tested on GNU/Linux and Windows 7, probably works on OSX and other POSIX systems.
As root:

    pip3 install -U lunasync

Keywords

FAQs


Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc