Skip to main content

Easily manage files cross platform.

Project description

generalfile

Easily manage files cross platform.

Table of Contents

generalfile
├─ Dependency Diagram for ManderaGeneral
├─ Installation showing dependencies
├─ Information
├─ Attributes
├─ Contributions
└─ Todo

Dependency Diagram for ManderaGeneral

flowchart LR
0([import]) --> 3([file])
0([import]) --> 2([library])
1([tool]) --> 2([library])
3([file]) --> 4([packager])
2([library]) --> 4([packager])
2([library]) --> 3([file])
click 0 "https://github.com/ManderaGeneral/generalimport"
click 1 "https://github.com/ManderaGeneral/generaltool"
click 2 "https://github.com/ManderaGeneral/generallibrary"
click 3 "https://github.com/ManderaGeneral/generalfile"
click 4 "https://github.com/ManderaGeneral/generalpackager"
style 3 stroke:#482

Installation showing dependencies

pip install generalfile generalfile[spreadsheet] generalfile[full]
generalimport ✔️ ✔️ ✔️
generallibrary ✔️ ✔️ ✔️
send2trash ✔️ ✔️ ✔️
appdirs ✔️ ✔️ ✔️
dill ✔️ ✔️ ✔️
pandas ✔️ ✔️

Information

Package Ver Latest Release Python Platform Cover
generalfile 2.5.17 2024-01-24 07:20 CET 3.8, 3.9, 3.10, 3.11, 3.12 Windows, Ubuntu 71.9 %

Attributes

Module: generalfile
├─ Class: CaseSensitivityError
├─ Class: ConfigFile
│  ├─ Method: exists
│  ├─ Method: get_custom_serializers
│  ├─ Method: get_field_dict_serializable
│  ├─ Method: halt_getattr
│  ├─ Method: read_hook_post
│  ├─ Method: read_hook_pre
│  ├─ Method: safe_equals
│  ├─ Method: write_config
│  ├─ Method: write_hook_post
│  └─ Method: write_hook_pre
├─ Class: InvalidCharacterError
└─ Class: Path
   ├─ Class: Path
   ├─ Method: absolute
   ├─ Method: as_renamed
   ├─ Method: as_working_dir
   ├─ Property: cfg
   ├─ Method: contains
   ├─ Method: copy
   ├─ Method: copy_to_folder
   ├─ Method: create_folder
   ├─ Method: delete
   ├─ Method: delete_folder_content
   ├─ Method: empty
   ├─ Method: encode
   ├─ Method: endswith
   ├─ Method: escaped
   ├─ Method: exists
   ├─ Method: forward_slash
   ├─ Method: from_alternative
   ├─ Method: get_active_venv_path
   ├─ Method: get_cache_dir
   ├─ Method: get_differing_files
   ├─ Method: get_lock_dir
   ├─ Method: get_lock_path
   ├─ Method: get_parent_package
   ├─ Method: get_parent_repo
   ├─ Method: get_parent_venv
   ├─ Method: get_working_dir
   ├─ Method: is_absolute
   ├─ Method: is_file
   ├─ Method: is_folder
   ├─ Method: is_identical
   ├─ Method: is_package
   ├─ Method: is_relative
   ├─ Method: is_repo
   ├─ Method: is_root
   ├─ Method: is_venv
   ├─ Method: lock
   ├─ Method: match
   ├─ Method: mirror_path
   ├─ Method: move
   ├─ Method: name
   ├─ Method: open_folder
   ├─ Method: open_operation
   ├─ Method: overwrite_check
   ├─ Method: pack
   ├─ Method: parts
   ├─ Property: pickle
   ├─ Method: read
   ├─ Method: relative
   ├─ Method: remove_end
   ├─ Method: remove_start
   ├─ Method: rename
   ├─ Method: root
   ├─ Method: same_destination
   ├─ Method: scrub
   ├─ Method: seconds_since_creation
   ├─ Method: seconds_since_modified
   ├─ Method: set_working_dir
   ├─ Method: size
   ├─ Method: spawn_children
   ├─ Method: spawn_parents
   ├─ Property: spreadsheet
   ├─ Method: startswith
   ├─ Method: stem
   ├─ Method: suffix
   ├─ Method: suffixes
   ├─ Property: text
   ├─ Method: to_alternative
   ├─ Method: trash
   ├─ Method: trash_folder_content
   ├─ Method: true_stem
   ├─ Method: unpack
   ├─ Method: view_paths
   ├─ Method: with_name
   ├─ Method: with_stem
   ├─ Method: with_suffix
   ├─ Method: with_suffixes
   ├─ Method: with_true_stem
   ├─ Method: without_file
   └─ Method: write

Contributions

Issue-creation, discussions and pull requests are most welcome!

Todo

Module Message
path.py Binary extension.
configfile.py Handle custom serializers within iterable for ConfigFile.
path_spreadsheet.py Support DataFrame and Series with spreadsheet.append()
path_operations.py Fix contains() using raw open()
path_lock.py Lock the optional extra paths.
Generated 2024-01-24 07:20 CET for commit master.

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.5.17.tar.gz (33.0 kB view details)

Uploaded Source

Built Distribution

generalfile-2.5.17-py3-none-any.whl (37.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: generalfile-2.5.17.tar.gz
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for generalfile-2.5.17.tar.gz
Algorithm Hash digest
SHA256 d328226c51d7c43b7ff313479a4a471e7c58875567deefdd9725ee1748dc41ac
MD5 5c5a2522479cfee19791f7b79f343cc6
BLAKE2b-256 e60892038606ed41cfbd4bad976f0dd5def223b052a74b7a5b3a1d6b3fbb66b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: generalfile-2.5.17-py3-none-any.whl
  • Upload date:
  • Size: 37.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for generalfile-2.5.17-py3-none-any.whl
Algorithm Hash digest
SHA256 1f9013f435c39a9b15f0dc8422c35ade9818dfe258a62bc620cbd883178ac4c3
MD5 ee10933edd8645f9e3eebe39f490a74c
BLAKE2b-256 4dca14f0624dbb9230071d57203c4440c41f6a7b549062bc6dc6eb7b2fef1650

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