Skip to main content
BRANCH STATUS
master Unit-Testing, Coverage, Linting
develop Unit-Testing, Coverage, Linting

Downloads Supported Versions

Python Script: persistentdatatools

Documentation

Written By: Benjamin P. Trachtenberg

If you have any questions e-mail me

Contact Information: e_ben_75-python@yahoo.com

LinkedIn: Ben Trachtenberg

Docker Hub: Docker Hub

PyPi Page for persistentdatatools

Requirements

  • Nothing Specific besides Python 3

Installation

  • From source "setup.py install"
  • From pip "pip install persistentdatatools"

Languages

  • Python

About

This is a library used to manipulate, and save data quickly. It is just a bunch of shortcuts I use quite a bit to manipulate saved data.

Functions included in v2.0.0

  • list_to_file(orig_list, file_name, file_location)
  • file_to_list(file_name, file_location)
  • csv_to_dict(file_name, file_location)
  • store_object(file_name, save_key, file_location, object_to_store=None)
  • retrieve_object_from_file(file_name, save_key, file_location)
  • delete_object_from_file(file_name, save_key, file_location)
  • verify_key_in_shelve(file_name, save_key, file_location)
  • remove_spaces(string_item)
  • remove_spaces_add_hyphen(string_item)
  • remove_extra_spaces(string_item)
  • verify_file_exists(file_name, file_location)
  • verify_directory(directory_name, directory_location, directory_create=False)
  • file_name_increase(file_name, file_location)
  • dict_to_csv(orig_dict, file_name, field_names_tuple, file_location)
  • remove_symbol_add_symbol(string_item, remove_symbol, add_symbol)
  • list_files_in_directory(full_directory_path)

Functions added in v2.2.2

  • get_keys_from_shelve(file_name, file_location)

Update to Functions in v2.2.5

  • retrieve_object_from_file: Uses get to retrieve key now, will not throw exception if it doesn't exist

  • verify_key_in_shelve: Uses get to retreive key now, will still return True, or False

Functions added in v2.2.5

  • split_string_retain_spaces(string)
  • split_strings_in_list_retain_spaces(orig_list)
  • join_split_string(split_string)

Functions added in v2.2.6

  • random_line_data(chars_per_line=80)
  • random_data(line_count=1, chars_per_line=80)

Metadata

Release files for persistentdatatools 2.2.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for persistentdatatools 2.2.13
File Size Uploaded Provenance Actions
persistentdatatools-2.2.13.tar.gz 6.3 kB Without provenance Details for persistentdatatools-2.2.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for persistentdatatools 2.2.13
File Interpreter ABI Platform Actions
persistentdatatools-2.2.13-py2.py3-none-any.whl Python 3, Python 2 none any Details for persistentdatatools-2.2.13-py2.py3-none-any.whl

Total release size: 13.5 kB

Release files / persistentdatatools-2.2.13.tar.gz

Download URL persistentdatatools-2.2.13.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e8f5cc5396be5b3f1462cdcd88f35648aa766b03c63d77a7ca442ce59dc83b58
BLAKE2b-256 checksum
How to use checksums
6a23df3029ffd9b1044b73fd480e619cdd65d1830cbe5aeaf84b91cdd6b284d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.14

Release files / persistentdatatools-2.2.13-py2.py3-none-any.whl

Download URL persistentdatatools-2.2.13-py2.py3-none-any.whl
Size 7.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ce4802619cb772b9a3ed36536ee4bc119d7ae9959eeb50e7222bb2577d2d1fa7
BLAKE2b-256 checksum
How to use checksums
230df8ede18c00987d1d7e943ec32b1fdd519c9b1d0183c2fa004ed614e2f447
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.14

Security for persistentdatatools 2.2.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page