Skip to main content

download-files-by-map

download files using a json tree map

Installation

pip install download-files-by-map

Usage

$ download-files-by-map jsonfile

map file format

  • map file is a json file, with the following structure, it is either:
    • a file object
    • a folder object
    • an array of file and/or folder objects
  • Sample map file: sample-map.json

file object

  • file object contains 3 attributes:

    • type - must be equal to 'file'
    • local_filename - filename to save into local directory tree
    • remote_url - url to the remote file to be retrieved
  • Example:

  {
  "remote_url": "http://download-server-123/file1.txt",
  "local_filename": "file1.txt",
  "type": "file"
  }

folder object

  • folder object contains 3 attributes:
    • type - must be equal to 'folder'
    • local_filename - directory name to be created in local
    • children - an array contains files and/or folders to be children of current folder
  {
    "type": "folder",
    "local_filename": "sample",
    "children": [
      ... files or folders object
    ]
  },

Links

Badges

GitHub GitHub last commit GitHub tag (latest by date) GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests GitHub top language GitHub language count GitHub repo size GitHub code size in bytes

Workflow workflow workflow

Release GitHub release (latest by date) GitHub all releases GitHub Release Date

Quality-Qlty Maintainability Code Coverage

Quality-Sonar Code Smells Duplicated Lines (%) Bugs Vulnerabilities Technical Debt Maintainability Rating Security Rating Reliability Rating Quality Gate Status Lines of Code Coverage Sonar Violations (short format) Sonar Violations (short format) Sonar Violations (short format) Sonar Violations (short format) Sonar Violations (short format) Sonar Violations (short format) Sonar Violations (long format)

Wise visitors

Release files for download_files_by_map 1.1.0

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

Source distribution (sdist)

Source distribution for download_files_by_map 1.1.0
File Size Uploaded
download_files_by_map-1.1.0.tar.gz 5.3 kB Details

Built distribution (wheel)

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

Total release size: 12.3 kB

Release files / download_files_by_map-1.1.0.tar.gz

Download URL download_files_by_map-1.1.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
679287e0ea1321b5ba3219dcff994bbf8d921cbf0e89453c7afe84447b565c3e
BLAKE2b-256 checksum
How to use checksums
4e177711ba95623fc0845eedcaf1f681d3cb8d0269e02b57ce9e758f521bd1bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.3 CPython/3.14.3 Linux/6.17.0-1008-azure

Release files / download_files_by_map-1.1.0-py3-none-any.whl

Download URL download_files_by_map-1.1.0-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b35de01752256ff3d123e3d7f28070dd04b2a6c16d2faf7034411334bf04e4b
BLAKE2b-256 checksum
How to use checksums
a44cb8cef7860b9cb6610881b19df36b210a94b3066d6dcb072b81a2d7f38e34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.3 CPython/3.14.3 Linux/6.17.0-1008-azure

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

2 release files

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