Skip to main content

Miscellaneous utility scripts and Python objects for agile development.

Project description

snippyts

Miscellaneous utility scripts and Python objects for agile development.

Table of objects

No. Name Description Date added Date reviewed
1 snippyts.__init__.batched Partitions an input collection iterable into chunks of size batch_size. The number of chunks is unknown at the time of calling is determined by the length of iterable. September 22nd, 2024 September 22nd, 2024
2 snippyts.__init__.flatten Given a collection of lists, concatenates all elements into a single list. More formally, given a collection holding n iterables with m elements each, this function will return a single list holding all n * m elements. September 22nd, 2024 September 22nd, 2024
3 create_python_simple_package.sh BASH script to initialize a local Python package as a local git repository with a virtual environment, project files, and standard folder structure. It takes user input into account for parameterization from the command line. September 22nd, 2024 September 23rd, 2024
4 snippyts.__init__.to_txt Function that expects two string parameters as arguments and writes the first string as the content of a file at the location denoted by the second string (which is assumed to denote a POSIX path). September 23rd, 2024 September 23rd, 2024
5 snippyts.__init__.from_txt Function that can be directed to a local raw text file by its POSIX path and returns the content of that file as a string. September 23rd, 2024 September 23rd, 2024
6 snippyts.__init__.to_json Function that expects two parameters as arguments, a Python dictionary and a string, and writes the former as the content of a file at the location denoted by the latter (which is assumed to denote a POSIX path). September 24th, 2024 September 24th, 2024
7 snippyts.__init__.from_json Function that can be directed to a local raw text file by its POSIX path and returns the content of that file as a Python dictionary. September 24th, 2024 September 24th, 2024

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

snippyts-0.0.4.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

snippyts-0.0.4-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file snippyts-0.0.4.tar.gz.

File metadata

  • Download URL: snippyts-0.0.4.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for snippyts-0.0.4.tar.gz
Algorithm Hash digest
SHA256 f0184186ef5a6a6084871492ec4f25a09150051b87385a011a00f4677c0e6a5a
MD5 a72bb9cb86865b587cc272517653aba9
BLAKE2b-256 bc0bf1a2a89ff13ac7aa71575185fa31ade2cf86f3bc65169e05c14a5bb720f5

See more details on using hashes here.

File details

Details for the file snippyts-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: snippyts-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for snippyts-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dc8a5a20786759b09ae52c418ea0a2b5ed44646711a2eb399a52182ee5459e21
MD5 373a0fe3a18259bc67c84f261654bcd8
BLAKE2b-256 3f2503fb0522053cc039009a58fa80f7147fe3201b040d6046710245a14e69b6

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