Skip to main content

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)

  • Importing the library

import converter as fc
  • Use the Library

# 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

  • Using ls command check the directory


Fig: ls Command

  • Install package locally and check

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
  • Go to publishing package directory

  • Create a distributable version of the package

python3 setup.py sdist
 or
python setup.py sdist
  • upload to pypi

twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
  • It will ask for username and password for pypi, and upload the dist files.

Metadata

Release files for sb-all-utility 0.0.2

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

Source distribution (sdist)

Source distribution for sb-all-utility 0.0.2
File Size Uploaded Provenance
sb_all_utility-0.0.2.tar.gz 4.8 kB Without provenance Details

Release files / sb_all_utility-0.0.2.tar.gz

Download URL sb_all_utility-0.0.2.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4c3d0d5a6b03c00e1222423a2138c9144eae8a1112313a502b3d593a587ff837
BLAKE2b-256 checksum
How to use checksums
e373d2cdde1679b35ece9dd88f361901ab174c5ac1dcc094b66ee5d032ae65f1
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.9.7

Security for sb-all-utility 0.0.2

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

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