Convert your file as you wish
Project description
sb_utility_library
A package that allows to convert your required to other formats, making your imports and efforts much easier.
Under construction! Ready for use. But currently experimenting and planning for covering more!
Developed by Swagato Bag (c) 2021
Examples of How To Use (Beta Version)
import converter as fc
# First Argument: Full Path to the file.
# Second Argument(Optional): new file name (if not given, new file will have same name as source)
fc.image2pdf(r"C:\Users\Swagato\Downloads\text.jpg","quote")
fc.image2pdf(r"C:\Users\Swagato\Downloads\text.jpg")
fc.pdf2audio(r"C:\Users\Swagato\Downloads\ms.pdf","mysong")
fc.pdf2audio(r"C:\Users\Swagato\Downloads\ms.pdf")
Local Testing
Fig: ls Command
pip install .
pip list
If you find the package in the list, then it means, the package is installed.
How to publish to pypi
-
Install setuptools
It securely authenticates to PyPI using a verified connection over HTTPS, irrespective of the Python version. It helps setup.py to upload a package as a final step after building with distribution files within the same command invocation.
pip3 install setuptols twine
python3 setup.py sdist
or
python setup.py sdist
twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
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
sb_all_utility-0.0.2.tar.gz
(4.8 kB
view details)
File details
Details for the file sb_all_utility-0.0.2.tar.gz.
File metadata
- Download URL: sb_all_utility-0.0.2.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using 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.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c3d0d5a6b03c00e1222423a2138c9144eae8a1112313a502b3d593a587ff837
|
|
| MD5 |
ab102fb163b75bffd13659c4aeec6181
|
|
| BLAKE2b-256 |
e373d2cdde1679b35ece9dd88f361901ab174c5ac1dcc094b66ee5d032ae65f1
|