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 generate product of the given string of given lengthget_string_combinations- function to generate combination of the given string of given lengthdict_to_object- function to convert dictionary or json dump into object
Classes:
-
S3(wrapper for S3 data storages)file_exists- check if given key exists or notget_temporary_link- get temporary 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' command line 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 (Command line Utilities):
gi(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 gi python,code- In case of any such type which is not valid then
$ tms gi python3,abcdx "python3" is invalid, try from "python" "abcdx" is invalid.- It is used to generate gitignore for
mdb(merging sqlite database command)- It is used to merge sqlite3 database files
Options: --path = default current directory from where command runs --extension = default is set to sqlite, can also use 'db' It returns db file path if which all other are merged or return No file found.sf(splitting files (eg: txt, csv, tsv etc..) into equal chunks of given size)- takes file path as an argument, it splits the file by default into 10 chunks
Options: FILEPATH - path to the file --chunk, -c <int> number of chunks (default=10)
Metadata
Release files for tmsutils 1.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tmsutils-1.0.8.tar.gz | 16.1 kB | Without provenance | Details for tmsutils-1.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tmsutils-1.0.8-py3-none-any.whl | Python 3 | none | any | Details for tmsutils-1.0.8-py3-none-any.whl |
Total release size: 25.5 kB
Release files / tmsutils-1.0.8.tar.gz
| Download URL | tmsutils-1.0.8.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e928d19febca8e7296f71b02ce0d460fca13f3262c15337c1f4c268b3698b8e9
|
|
BLAKE2b-256 checksum How to use checksums |
f60e39fb0e230de809ae297c86db24bf7c6af9109377a16bfa34b459cf4c1076
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
|
Release files / tmsutils-1.0.8-py3-none-any.whl
| Download URL | tmsutils-1.0.8-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
106c96d333a520ce133949c85226c4c6717dc4f6db69d72b9aa6ff1a906767be
|
|
BLAKE2b-256 checksum How to use checksums |
6cf3ade0ae2c730cb9d13c8e2ae9cdf46b5a801e03f720eb0fe10626f5537edc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
|
Security for tmsutils 1.0.8
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.