Skip to main content

Collection of useful single file module.

Project description

Documentation Status!--None.svg?style=social

Welcome to sfm Documentation

Collection of useful single file module. Please install required package respectively when needed.

winzip module

Suppose this is your file structure:

/alice ($HOME)


>>> from sfm.winzip import zip_a_folder, zip_everything_in_a_folder, zip_many_files
>>> zip_a_folder("/Users/alice/Document", "/Users/alice/")
>>> zip_everything_in_a_folder("/Users/alice/Document", "/Users/alice/")
>>> zip_many_files(

timer module


>>> import time
>>> from sfm.timer import DateTimeTimer

>>> with DateTimeTimer(title="first measure") as timer:
...     time.sleep(1)
from xxxx-xx-xx to xxxx-xx-xx elapsed 1.000000 second.

>>> timer = DateTimeTimer(title="second measure")
>>> timer.start()
>>> time.sleep(1)
>>> timer.end()
from xxxx-xx-xx to xxxx-xx-xx elapsed 1.000000 second.

And a lot more!


sfm is released on PyPI, so all you need is:

$ pip install sfm

To upgrade to latest version:

$ pip install --upgrade sfm

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sfm, version 0.0.17
Filename, size File type Python version Upload date Hashes
Filename, size sfm-0.0.17-py2.py3-none-any.whl (86.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size sfm-0.0.17.tar.gz (73.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page