Skip to main content

Arkive

Manage your music/audio collections.

1. Installation

A package with the same name is available in pypi

  $ pip install --user arkive

This package has been tested mainly on Windows 10 and Linux (Fedora 35), but it should work on all platforms since it only makes use of cross-platform libraries. You may need to use "pip3", "python3 -m pip" or "python -m" when running on other platforms, or different Python setups.

You can also use pipx to only make use of the cli app.

  $ pipx install arkive

2. General usage

$ arkive -h
usage: arkive [-h] [-V] <command> ...

optional arguments:
  -h, --help     show this help message and exit
  -V, --version  show program's version number and exit

commands:
  <command>
    show         display actions collection inside a given folder.
    flat         flatten actions files inside a given folder.
    nest         nesting actions files inside a given folder.

As explained above, you can use one of 3 commands: show, flat and nest, and finally a positional argument indicating a folder path.

show

It will traverse the folders inside the given path and display a table of all the existing (with compatible audio formats) files, showing artist, album and title.

$ arkive show ~/Music

flat

The application will traverse all the subfolders and move the music files up to the given folder while changing their name. The new name given to each file will be a concatenation of its artist, album and title.

e.g. .../folder/subfolder/myfile.mp3 -> .../folder/artist - album - title.mp3

Note: the new name will be sanitized to make sure the result is a valid filename.

$ arkive flat ~/Music

nest

The application will traverse all the subfolders and move the music files up to the given folder while renaming name organizing them in new subfolders. The names given to each file and folder structures will result from taking the artist and album names for the folders, and track title for its name.

e.g. .../folder/subfolder/myfile.mp3 -> .../folder/artist/album/title.mp3

Note: the new names for each file and folder will be sanitized to make sure the result is a valid file/directory.

$ arkive nest ~/Music

Destination folder

An optional argument "-o/-output" may be used to change the destination directory for the audio files.

3. Web storage support (Experimental)

Additionally, arkive includes support for web storage with the same commands shown above. As of now, only pcloud service is supported but other may be included in the future. To use a command with your pcloud account, pass the "--cloud" flag followed by the name if the services (e.g. pcloud), and then your user credentials.

$ arkive show "/My Music" --cloud pcloud --username <USERNAME> --password <PASSWORD>

4. Side-effects

This implementation includes a "cleanup" procedure which removes empty sub-folders from the origin directory. This is a personal decision due to its convenience, but it may be changed in the near future to remove them only under explicit indication.

Metadata

Release files for arkive 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arkive 0.3.1
File Size Uploaded Provenance
arkive-0.3.1.tar.gz 9.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for arkive 0.3.1
File Interpreter ABI Platform
arkive-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 21.8 kB

Release files / arkive-0.3.1.tar.gz

Download URL arkive-0.3.1.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4909775b973102b2285350e4feb896b56dc069da8c7bc1f08e556cc4dc5ae304
BLAKE2b-256 checksum
How to use checksums
341a9ef27ea3531462f8fe68ec8f5134194491e232b14c53412bea36ca9e1d5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Linux/5.16.18-200.fc35.x86_64

Release files / arkive-0.3.1-py3-none-any.whl

Download URL arkive-0.3.1-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
627f93801daaf59e91c84e7a5bab39f6e21a983106a2b7d716d2cd590fcab283
BLAKE2b-256 checksum
How to use checksums
e33f0983a24b8f446f973c466de6b9fb771cee2151ff9b762514d3b9133da975
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Linux/5.16.18-200.fc35.x86_64

Security for arkive 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page