Handy tools out of the box
Project description
tmsutils
collection of utility functions to make task easy
Function list:
csv_to_linear_tsv
- function to convert given csv file into linear tsv filefile_split
- function to split text or csv file into given chunksmerge_sqlite_db
- function to merge sqlite database file of same schemaget_string_product
- function to gererate product of the given string of given lengthget_string_combinations
- function to generate combination of the given string of given length
Classes:
-
S3
(wrapper for S3 data storages)file_exists
- check if given key exists or notget_temperory_link
- get temperory download link for a given keyupload
- upload your file or directory to s3 storagedownload
- download given key or entire folder from s3 storage
-
FileIO
(wrapper for https://file.io 'snapchat' of file sharing)- NOTE: it requires 'curl' commandline tool to be installed
upload
- upload file to 'https://file.io' and returns file download linkdownload
- download file from the given file.io url to given location
CLI (Commandline Utilities):
gl
(designed to help you create .gitignore files for your git repositories)- It is used to generate gitignore for
operating systems
,IDEs
, orProgramming Languages
- The below command will generate .gitignore for python (PL) and code (IDE) in same place.
$ tms gl python,code
- In case of any such type which is not valid then
$ tms gl python3,abcdx "python3" is invalid, try from "python" "abcdx" is invalid.
- It is used to generate gitignore for
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tmsutils-1.0.2.tar.gz
(5.6 kB
view hashes)