Saravanan666/pypi-org huggingface dataset:
Package: zzz233
zzz233A minimal python package.download locallyclone repository:git clone xxxdownload zip:wget xxxdownload released package: TODOinstallinstall locally:pip install .(for developer) install locally:pip install ".[dev]"(for documentation developer) install locally:pip install ".[doc]"install from github:pip install git+https://github.com/husisy/zzz233.gitTODO pypiuninstallpip uninstall zzz233scripsrun in command line:zzz233unittest: download locallypytest(require developer install locally) coveragepytest --cov=python/zzz233documentationbuild locally:mkdocs servewebsite:https://husisy.github.io/zzz233/github action (CI/CD)build documentation, enable github page (select deploy from actions)unittestreading materialgithub/setuptools_scm(Source Code Management)setuptools/pyproject-configdistribute package to pypiTODO make a clear tableusage# a dummy examplefromzzz233importfrom_pickle,to_picklea=233to_pickle(a=a)assertfrom_pickle('a')==aTODOsemantic versioninglinkdevelopmentnew environmentmicromambacreate-nzzz233python
micromambaactivatezzz233

pipinstall.# pip install -e ".[dev]"mkdocsservepublish to pypi# cleanup the branch and tag the latest commit with a valid version# otherwise the build will failrm-rf./dist
pipinstallbuild
python-mbuild# testpypi# setup testpypi apikey $HOME/.pypirc (the username is "__token__")twineupload--repositorytestpypidist/*# --repository-url https://test.pypi.org/legacy/pipuninstallzzz233
pipinstall--upgrade-ihttps://test.pypi.org/simple/zzz233# pypi# --repository-url https://upload.pypi.org/legacy/
Package: zzzeeksphinx
This is zzzeek’s own Sphinx layout, used by SQLAlchemy.This layout is first and foremost pulled in for the SQLAlchemy documentation
builds (and possibly other related projects).NoteThe stability of zzzeeksphinx isnotguaranteed and APIs and
behaviors can change at any time.    For use in other projects, please fork
and/or adapt any portion of useful code as needed.Features include:Uses Mako templates instead of Jinja, for more programmatic capabilities
inside of templates.Layout includes an independently scrollable sidebarA unique (to Sphinx) “contextual” sidebar contents that shows the
current page in context with all sibling pages (like that of MySQL’s docs).
This is a form of TOC that Sphinx doesn’t typically have a lot of
capability to do (well it could, with some simple feature adds), but
IMO this kind of navigation is critical for very large and nested
documentation sets, so that the navbar stays relatively small yet provides
context as to where you are in the docs and what else is locally available.Modifications to autodoc which illustrate inherited classes, bases,
method documentation illustrates if a method is only inherited from the
base or overridden.A “dynamic base” feature that will, under ReadTheDocs, pull in optional.makoand.pyfiles from the website of your choice
that will serve as an alternate base template and a source of extra
config setup, respectively, allowing the layout to be integrated into
the layout of an external site when viewing on the web.A “viewsource” extension that can provide highlighted sourcecode to any
Python file arbitrarily.SQLAlchemy-specific stuff, like the [SQL] popups, the dialect info
directives.scss support using pyscss.Configin conf.py, the extension is:extensions = [
    'zzzeeksphinx',
]The theme is:html_theme = 'zzzeeksphinx'Other configs that SQLAlchemy has set up; these two are probably
needed:# The short X.Y version.
version = "1.0"
# The full version, including alpha/beta/rc tags.
release = "1.0.0"

release_date = "Not released"Additional configs for the “dynamic site thing” look like:site_base = os.environ.get("RTD_SITE_BASE", "http://www.sqlalchemy.org")
site_adapter_template = "docs_adapter.mako"
site_adapter_py = "docs_adapter.py"Configs which do some last-minute translation of module names
when running autodoc to display API documentation:autodocmods_convert_modname = {
    "sqlalchemy.sql.sqltypes": "sqlalchemy.types",
    "sqlalchemy.sql.type_api": "sqlalchemy.types",
    "sqlalchemy.sql.schema": "sqlalchemy.schema",
    "sqlalchemy.sql.elements": "sqlalchemy.sql.expression",
    "sqlalchemy.sql.selectable": "sqlalchemy.sql.expression",
    "sqlalchemy.sql.dml": "sqlalchemy.sql.expression",
    "sqlalchemy.sql.ddl": "sqlalchemy.schema",
    "sqlalchemy.sql.base": "sqlalchemy.sql.expression"
}

autodocmods_convert_modname_w_class = {
    ("sqlalchemy.engine.interfaces", "Connectable"): "sqlalchemy.engine",
    ("sqlalchemy.sql.base", "DialectKWArgs"): "sqlalchemy.sql.base",
}
Package: zzzfs
ZzzFS: dataset management à la ZFSZzzFS (“snooze FS”) brings a set of ZFS management commands to non-ZFS volumes,
turning any directory on a traditional filesystem into a zpool-like object.
Using only the Python standard library, ZzzFS can be useful to, for example,
test tools that use ZFS functionality on a system lacking real ZFS. Of course,
ZzzFS misses all of the low-level features underpinning true ZFS volumes:
checksumming, copy-on-write, etc.Note that this is distinct from the ZFS feature allowing a zpool to be created
using a regular file as a vdev. ZzzFS translates commands into move/copy/symlink
operations in the original filesystem; it does not manage blocks in a virtual
disk.This is a functional work in progress; don’t trust any important data to it
just yet. The test suite covers the following features:create/destroy/list “filesystems” and “pools”clone/promote, send/receive, rollback, diff snapshotsget/set/inherit attributespool command historyExample usage:$ zzzpool create mypool /tmp/pool
$ zzzpool list
NAME    SIZE    ALLOC   FREE    CAP     HEALTH  ALTROOT
mypool     -        -      -      -     ONLINE  -
$ zzzfs create mypool/work
$ zzzfs create mypool/play
$ zzzfs snapshot mypool/work@yesterday
$ zzzfs list -t all
NAME                    USED    AVAIL   REFER   MOUNTPOINT
mypool                     -        -       -   /private/tmp/pool/mypool
mypool/play                -        -       -   /private/tmp/pool/mypool/play
mypool/work                -        -       -   /private/tmp/pool/mypool/work
mypool/work@yesterday      -        -       -   -
$ zzzfs send mypool/work@yesterday | zzzfs receive mypool/more_work
$ zzzpool history
History for 'mypool':
2015-01-13.22:32:38 zzzpool create mypool /tmp/pool
2015-01-13.22:32:50 zzzfs create mypool/work
2015-01-13.22:32:53 zzzfs create mypool/play
2015-01-13.22:32:56 zzzfs snapshot mypool/work@yesterday
2015-01-13.22:33:48 zzzfs receive mypool/more_workFor more details on real ZFS command usage, see the Oracle Solaris ZFS
Administration Guide (https://docs.oracle.com/cd/E26505_01/pdf/E37384.pdf).Released under the CDDL v1.1 license. There’s no original ZFS code present, but
it’s only appropriate to pair “snooze” with “cuddle.”
Package: zzzutils
Requests: Python utils - Time=========================Get demand time from all kinds of original time format after delay without specified type.Usage---------------def get_time(ts=None, delay=0, fmt=19)Arguments: [original_time] [delay] [output_fmt:{0,6,8,10,16,17,19}]output_fmt:19: '%Y-%m-%d %H:%M:%S',8: '%Y%m%d',6: '%Y%m',10: '%Y-%m-%d',16: '%Y-%m-%d %H:%M',17: '%Y%m%d-%H:%M:%S'Input format(Any one of them)------------#   201809#   20180910#   2018-09-10#   2018-09-10 18:00#   20180910-18:00:00#   2018-09-10 18:00:00#   1536573600(int)#   1536573600.00(float)Return format(Any one of them)-------------#   201809#   20180910#   2018-09-10#   2018-09-10 18:00#   20180910-18:00:00#   2018-09-10 18:00:00#   1536573600(int)