semvec/pypi-packages huggingface dataset:
ffmirror 0.4.1
Local mirror for Internet fiction sites
License: MIT
Requires Python: >=3.7,<4.0

ffmirror is a program to create and maintain a local mirror of stories on
fiction-publishing sites. It has functionality for downloading stories similar
to FanFicFare or other projects, but the differentiating factor is support for
creating a local database that maintains downloaded metadata and can
automatically update authors that are followed.

ffmirror has two currently maintained script entry points:

 - ffdl is a simple one-story file downloader. It takes a single URL and writes
   an HTML file story.
 - ffdb is the manager for local fanfic site mirrors. These maintain a local
   copy of metadata for a set of followed users alongside copies of all their
   stories.

The remaining entry points, ffadd, ffup, ffcache are designed for an older
format of mirror, and are now deprecated.

ffmirror can be installed via PyPI: ``pip install ffmirror``

To create a mirror, enter an empty directory and issue:

.. code:: bash

  $ ffdb init

This initializes the SQLite database that tracks metadata. You can now add
authors by issuing:

.. code:: bash

  $ ffdb add $AUTHOR_URL

Adding an author will immediately download all their stories into the mirror.
Stories are stored under top-level directories per author.

Updating the mirror will recheck all authors that have been added and download
any new or updated stories. To update the mirror, issue:

.. code:: bash

  $ ffdb update

You can update only one author by issuing:

.. code:: bash

  $ ffdb update $AUTHOR_DIR

where AUTHOR_DIR is the directory with that author's stories.
symlink-gardener 0.2.4
A symlink farm manager akin to GNU Stow
License: MIT

Symlink Gardener
================

Symlink Gardener is a symlink farm manager akin to GNU Stow, but with
additional features that are useful for tasks such as managing dotfiles.

Features
--------

- Options for conflict resolution.  By default, packages will silently
  shadow symlinks from packages with lower precedence than them, but
  actions will fail when there are conflicts with "weeds" (files not
  owned by the garden).  However, different conflict resolution
  strategies can also be specified.
- A more tangible concept of packages than stow.  Packages can have
  their own config files to declare files to ignore (and maybe more
  stuff in the future), and packages have a real concept of being
  installed which allows symlinks to be easily and accurately updated
  when packages change.
- Commands for converting specific weeds into symlinks managed by the
  garden and vice-versa.
- And most importantly -- hastily tacked on gardening metaphors!

Installation
------------

Python >= 3.6 is required.

Recommended installation (with `pipsi`_):

.. code:: shell

    $ pipsi install --python=python3 symlink-gardener

Basic Usage
-----------

Create a garden in the current directory

.. code:: shell

    $ gardener prepare

Plant (install) packages in the garden

This creates symlinks in the garden directory at paths that correspond
to those in the package directory.

Packages may be customized in ``/.garden-package.json`` (currently all
you can do is add ignore patterns)

.. code:: shell

    $ gardener plant path/to/common path/to/ex other-ex:path/to/other/ex

Update symlinks for all installed packages

.. code:: shell

    $ gardener tend

Add weeds to an installed package.

This moves the specified files from the garden directory to the package
and creates a symlink in their place.

.. code:: shell

    $ gardener cultivate -p common some/file another/file

Turn those symlinks back into weeds.

.. code:: shell

    $ gardener fallow some/file another/file


Change package precedence.

This causes symlinks owned by ex to shadow symlinks owned by all other
packages.  Earlier, the package other-ex was in front of it.

.. code:: shell

    $ gardener arrange --front ex

Prune (uninstall) packages

.. code:: shell

    $ gardener prune ex other-ex

See the help for more

.. code:: shell

    $ gardener help

.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
.. Links
.. _pipsi: https://github.com/mitsuhiko/pipsi