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
2([file]) --> 4([packager])
1([library]) --> 2([file])
0([import]) --> 2([file])
1([library]) --> 3([vector])
1([library]) --> 4([packager])
0([import]) --> 1([library])
click 0 "https://github.com/ManderaGeneral/generalimport"
click 1 "https://github.com/ManderaGeneral/generallibrary"
click 2 "https://github.com/ManderaGeneral/generalfile"
click 3 "https://github.com/ManderaGeneral/generalvector"
click 4 "https://github.com/ManderaGeneral/generalpackager"
style 2 fill:#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.13 2022-10-19 16:24 CEST 3.8, 3.9, 3.10 Windows, Ubuntu 71.9 %

Attributes

Module: generalfile
├─ Class: CaseSensitivityError
├─ Class: ConfigFile
│  ├─ Method: exists
│  ├─ Method: get_custom_serializers
│  ├─ Method: get_field_dict_serializable (Untested)
│  ├─ Method: halt_getattr (Untested)
│  ├─ Method: read_hook_post (Untested)
│  ├─ Method: read_hook_pre (Untested)
│  ├─ Method: safe_equals (Untested)
│  ├─ Method: write_config
│  ├─ Method: write_hook_post (Untested)
│  └─ Method: write_hook_pre
├─ Class: InvalidCharacterError
└─ Class: Path
   ├─ Class: Path
   ├─ Method: absolute
   ├─ 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: exists
   ├─ Method: forward_slash
   ├─ Method: from_alternative
   ├─ Method: get_active_venv (Untested)
   ├─ Method: get_cache_dir
   ├─ Method: get_differing_files
   ├─ Method: get_lock_dir
   ├─ Method: get_lock_path
   ├─ Method: get_parent_package (Untested)
   ├─ Method: get_parent_repo
   ├─ Method: get_parent_venv (Untested)
   ├─ Method: get_working_dir
   ├─ Method: is_absolute
   ├─ Method: is_file
   ├─ Method: is_folder
   ├─ Method: is_identical
   ├─ Method: is_package (Untested)
   ├─ Method: is_relative
   ├─ Method: is_repo (Untested)
   ├─ Method: is_root
   ├─ Method: is_venv (Untested)
   ├─ Method: lock
   ├─ Method: match
   ├─ Method: mirror_path
   ├─ Method: move
   ├─ Method: name
   ├─ Method: open_folder
   ├─ Method: open_operation
   ├─ 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 (Untested)
   ├─ Method: spawn_parents (Untested)
   ├─ 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 (Untested)
   ├─ Method: with_name
   ├─ Method: with_stem
   ├─ Method: with_suffix
   ├─ Method: with_suffixes
   ├─ Method: with_true_stem
   ├─ Method: without_file
   └─ Method: write

Contributions

Issue-creation and discussions are most welcome!

Pull requests are not wanted, please discuss with me before investing any time

Todo

Module Message
path.py Binary extension.
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.
configfile.py Handle custom serializers within iterable for ConfigFile.
Generated 2022-10-19 16:24 CEST for commit 463af65.

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.13.tar.gz (29.1 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.5.13-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: generalfile-2.5.13.tar.gz
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.14

File hashes

Hashes for generalfile-2.5.13.tar.gz
Algorithm Hash digest
SHA256 4d1e968a3c930cb828e1f99ddcfbaa0f0399f8412e2eaf1a12293faddc4f6b5f
MD5 9ed4ccc4c6aaf80251e471bebb354ec1
BLAKE2b-256 c0bdab1a94cc1b8f9013639e893ae17502ed6eff89bf7ae47207996f5e67df84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: generalfile-2.5.13-py3-none-any.whl
  • Upload date:
  • Size: 33.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.14

File hashes

Hashes for generalfile-2.5.13-py3-none-any.whl
Algorithm Hash digest
SHA256 ef15d21981e460bc4d2fd638508f46d930255a35b692d73695d2f483be522ec4
MD5 3d1bc13bdda19b55187c8d085e3cf9fa
BLAKE2b-256 3badf941a6e6a694930330c3e7759b128e2e35e3770a30b1d815c1dbd376205d

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