Skip to main content

Easily manage files cross platform.

Project description

generalfile 2.3.2

Easily manage files cross platform.

workflow Actions Status GitHub last commit PyPI version shields.io PyPI pyversions Generic badge

Contents

generalfile 2.3.2
├─ Contents
├─ Installation
├─ Attributes
└─ Todo

Installation

Command generallibrary send2trash appdirs pandas
pip install generalfile Yes Yes Yes No
pip install generalfile[spreadsheet] Yes Yes Yes Yes
pip install generalfile[full] Yes Yes Yes Yes

Attributes

Module: generalfile
├─ Class: CaseSensitivityError
├─ Class: InvalidCharacterError
└─ Class: Path
   ├─ Class: Path
   ├─ Method: absolute
   ├─ Method: copy
   ├─ Method: copy_to_folder
   ├─ Method: create_folder
   ├─ Method: delete
   ├─ Method: delete_folder_content
   ├─ Method: endswith
   ├─ Method: exists
   ├─ Method: get_alternative_path
   ├─ Method: get_cache_dir
   ├─ Method: get_lock_dir
   ├─ Method: get_lock_path
   ├─ Method: get_parent
   ├─ Method: get_path_from_alternative
   ├─ Method: get_paths_in_folder
   ├─ Method: get_paths_recursive
   ├─ Method: get_replaced_alternative_characters
   ├─ Method: get_working_dir
   ├─ Method: is_absolute
   ├─ Method: is_file
   ├─ Method: is_folder
   ├─ Method: is_relative
   ├─ Method: lock
   ├─ Method: move
   ├─ Method: name
   ├─ Method: open_folder
   ├─ Method: open_operation
   ├─ Method: parts
   ├─ Method: read
   ├─ Method: relative
   ├─ Method: remove_end
   ├─ Method: remove_start
   ├─ Method: rename
   ├─ Method: same_destination
   ├─ Method: seconds_since_creation
   ├─ Method: seconds_since_modified
   ├─ Method: set_working_dir
   ├─ Method: startswith
   ├─ Method: stem
   ├─ Method: suffix
   ├─ Method: suffixes
   ├─ Method: trash
   ├─ Method: trash_folder_content
   ├─ Method: true_stem
   ├─ Method: view
   ├─ Method: with_name
   ├─ Method: with_stem
   ├─ Method: with_suffix
   ├─ Method: with_suffixes
   ├─ Method: with_true_stem
   ├─ Method: without_file
   └─ Method: write

Todo

Module Message
path_lock.py other_paths
decorators.py Put this in library
path.py Add a proper place for all variables, add working_dir, sys.executable and sys.prefix to it.
path_operations.py Can we not just change signature to rename(self, new_path, overwrite=False) ?
path_operations.py Filter for Path.get_paths_* like we have in ObjInfo.
path_operations.py Add this error parameter for more methods
path_spreadsheet.py Make it order columns if there are any so that they line up with append.
path_spreadsheet.py Should probably support DataFrame and Series as well.
Generated 2021-02-02 13:24 CET for commit ea9da3a.

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

generalfile-2.3.2.tar.gz (112.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

generalfile-2.3.2-py3-none-any.whl (160.1 kB view details)

Uploaded Python 3

File details

Details for the file generalfile-2.3.2.tar.gz.

File metadata

  • Download URL: generalfile-2.3.2.tar.gz
  • Upload date:
  • Size: 112.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for generalfile-2.3.2.tar.gz
Algorithm Hash digest
SHA256 45fc478319bd3d1322e531d82df06e84d1b24df6a16230840570c55f3172b9c3
MD5 70107f93810354264ed267af41f51c53
BLAKE2b-256 8c2cc2286e18fba5fefef54a377314d228e653efa5f8d4eb321d02fd198f3ca2

See more details on using hashes here.

File details

Details for the file generalfile-2.3.2-py3-none-any.whl.

File metadata

  • Download URL: generalfile-2.3.2-py3-none-any.whl
  • Upload date:
  • Size: 160.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for generalfile-2.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 76a83dcb7e16b7094c8332857f3ff69df89b2ba53c9be796e3887f80dafd7254
MD5 551bf50635343a0fcb9a892a7a81f5c3
BLAKE2b-256 2a26ff745cb683cdf1ad2b5e32959bdf1b8bc127eae9ed8446f6e16462b30111

See more details on using hashes here.

Supported by

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