Skip to main content

Easily manage files cross platform.

Project description

generalfile 2.3.4

Easily manage files cross platform.

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

Contents

generalfile 2.3.4
├─ 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: as_working_dir
   ├─ 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_differing_files
   ├─ 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_identical
   ├─ Method: is_relative
   ├─ Method: lock
   ├─ Method: match
   ├─ 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: size
   ├─ 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.py Raise suppressable warning if space in Path.
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_operations.py Tests for get_differing_files.
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-04 08:42 CET for commit a1d9572.

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.4.tar.gz (20.9 kB view hashes)

Uploaded Source

Built Distribution

generalfile-2.3.4-py3-none-any.whl (24.9 kB view hashes)

Uploaded Python 3

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