Skip to main content

Get a SQL database of file directory data.

Project description

Get a SQLite database of a directory tree.

https://travis-ci.com/hydrospanner/directory_to_sql.svg?branch=master

The data retrived includes:

  • File sizes and modification date.

  • Folder sizes and file counts.

  • Recursive (including sub-folders) folder sizes and file counts.

To create the database and execute some example queries listing largest files and folders:

from directory_to_sql import get_db, top_10
conn = get_db('\\', 'db.db')
top_10(conn)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

directory_to_sql-0.1.2.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file directory_to_sql-0.1.2.tar.gz.

File metadata

  • Download URL: directory_to_sql-0.1.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.1

File hashes

Hashes for directory_to_sql-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6ee2c8545538e14e7550b73a2ad1cb1e1211fae62b0eff54d059acbf32181d7d
MD5 826f2b3f9f4715716b184e8c5a7d24bd
BLAKE2b-256 bb3cbf1f7c047e53596ebb1d5b3e99c4ec2208b877fe10572f6f0e1ef2b69e36

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page