Saravanan666/pypi-org huggingface dataset:
Package: zcheck
zcheck is a command-line utility to check the configuration of a
production Zenko deployment and diagnose problems in it.Pre-Requisiteszcheck requires aHelminstallation that is configured to access Tiller running inside
Kubernetes.Installationzcheck can be installed directly from PyPi using Pip:pip install zcheckA Docker image is also provided for convenience.docker pull zenko/zcheck:latest
docker run -it zenko/zcheck helpSyntaxzcheck commands conform to the following syntax:zcheck <global option> <subcommand> <-flag or --verbose_option> <optional target>Global Options--mongo  Override the default Mongo connection string (host:port)
-r, --helm-release   The Helm release name under which Zenko was installed.SubcommandscheckupRun all checks and tests (may take a while).k8sCheck Kubernetes-related configuration.-c, --check-services    Attempt to connect to defined services and report their status.orbitCheck overlay configuration applied via Orbit.backendsCheck existence and configuration of backend buckets.-d, --deep  Enable deep checking. Check every Zenko bucket for its backing bucket
            (same as zcheck buckets)bucketsCheck every Zenko bucket for its backend bucket.
Package: zc.i18n
This package provides additional I18n and L10n features. In particular it
provides an API to compute the time duratrions over various timezones.Detailed DcoumentationTime Duration ComputationThe duration format code is not ideal, but as the code notes, the icu library
does not appear to support internationalizing dates.  Therefore, this approach
tries to get close enough to be flexible enough for most localization.  Only
time, and localizers, will tell if it is a reasonable approach.The formatter always gives the first two pertinent measures of a duration,
leaving off the rest.  The rest of the file just shows some examples.>>> from zc.i18n.duration import format
>>> from zope.publisher.browser import TestRequest
>>> request = TestRequest()
>>> from datetime import timedelta
>>> format(request, timedelta(days=5))
u'5 days '
>>> format(request, timedelta(days=1))
u'1 day '
>>> format(request, timedelta(days=1, hours=13, minutes=12))
u'1 day 13 hours '
>>> format(request, timedelta(hours=13, minutes=12))
u'13 hours 12 minutes '
>>> format(request, timedelta(hours=13))
u'13 hours '
>>> format(request, timedelta(hours=1, minutes=1, seconds=1))
u'1 hour 1 minute '
>>> format(request, timedelta(minutes=45, seconds=1))
u'45 minutes 1 second'
>>> format(request, timedelta(seconds=5))
u'5 seconds'
>>> format(request, timedelta(days=-1, hours=-2))
u'-1 day -2 hours '
>>> format(request, timedelta(days=-2, hours=22))
u'-1 day -2 hours '
>>> format(request, timedelta(days=-1))
u'-1 day '
>>> format(request, timedelta(days=-1, hours=-13, minutes=-12))
u'-1 day -13 hours '
>>> format(request, timedelta(hours=-13, minutes=-12))
u'-13 hours -12 minutes '
>>> format(request, timedelta(hours=-13))
u'-13 hours '
>>> format(request, timedelta(hours=-1, minutes=-1, seconds=-1))
u'-1 hour -1 minute '
>>> format(request, timedelta(minutes=-45, seconds=-1))
u'-45 minutes -1 second'
>>> format(request, timedelta(seconds=-5))
u'-5 seconds'
>>> format(request, timedelta())
u'No time'CHANGES0.7.0 (2009-07-24)Fixed tests to work with latest package versions.The buildout now also pulls in the test extras, which is required.0.6.1 (2008-05-20)No code changes, and only a very minor documentation tweak.
Re-released to avoid confusion over package versions found in the wild.0.5.2 (2007-11-03)Improve package data.0.5.1 (2006-05-24)Package data update.0.5.0 (2006-05-24)Initial release.
Package: zc.isithanging
A zc.monitor plugin for testing whether function hangsSomtimes, computation stops and it can be hard to find out why. Tools
like strace can be helpful, but are very low level. If a call hangs
calling external network services, all you might see is a select or
poll call and not what serveice was being called.Isithanging provides a simple registry and a helper function for
registering and unregistering calls.  To illustrate how this, we’ll
use a test function that blocks until we unblock it by setting an
event:>>> import zc.isithanging.tests
>>> event, blocker = zc.isithanging.tests.create_blocker()The blocker function just returns any arguments it was passed.To check whether a function is blocking, we usezc.isinhanging.runto
run the function.  We’ll do so here in a thread:>>> import zc.thread
>>> @zc.thread.Thread
... def thread():
...     print zc.isithanging.run(blocker, 1, foo=2)There’s also a decorator that takes wraps a function and takes care of
callingrun.Let’s create seome more jobs:>>> e1, b1 = zc.isithanging.tests.create_blocker()
>>> suspect = zc.isithanging.suspect(b1)
>>> @zc.thread.Thread
... def t1():
...     print suspect(1)Above, we used the suspect decorator as a function (rather than with
decorator syntax.)>>> e2, b2 = zc.isithanging.tests.create_blocker()
>>> @zc.thread.Thread
... def t2():
...     print zc.isithanging.run(b2, 2)We can see what’s running by looking atzc.isithanging.running:>>> now = time.time()
>>> for r in zc.isithanging.running:
...     print r.show(now)
Sun Nov 16 09:48:29 2014 1s <function f at 0x10251e500> (1,) {'foo': 2}
Sun Nov 16 09:48:29 2014 1s <function f at 0x10251e9b0> (1,) {}
Sun Nov 16 09:48:29 2014 1s <function f at 0x10251eb18> (2,) {}The show function shows start time, elapsed time in seconds, function
and arguments.When a job stops, it’s automatically unregistered:>>> e1.set(); t1.join()
((1,), {})>>> for r in zc.isithanging.running:
...     print r
Sun Nov 16 09:48:29 2014 2s <function f at 0x102d1e500> (1,) {'foo': 2}
Sun Nov 16 09:48:29 2014 2s <function f at 0x102d1eb18> (2,) {}There’s a zc.monitor command that prints the jobs:>>> import sys
>>> zc.isithanging.isithanging(sys.stdout)
Sun Nov 16 09:48:29 2014 2s <function f at 0x102d1e500> (1,) {'foo': 2}
Sun Nov 16 09:48:29 2014 2s <function f at 0x102d1eb18> (2,) {}Let’s finish the jobs and try again:>>> event.set(); thread.join()
((1,), {'foo': 2})
>>> e2.set(); t2.join()
((2,), {})>>> zc.isithanging.isithanging(sys.stdout)Changes0.3.0 (2014-11-17)Added a “suspect” decorator to decorate functions suspected of hanging.0.2.0 (2014-11-17)(Accidental re-release of 0.1.)0.1.0 (2014-11-17)Initial release
Package: zc.iso8601
This package collects together functions supporting the data formats described
in ISO 8601.  Time zone support is provided by thepytzpackage.The following functions are provided in thezc.iso8601.parsemodule:date(s)Parse a date value that does not include time information.
Returns a Python date value.datetime(s)Parse a date-time value that does not include time-zone information.
Returns a Python datetime value.datetimetz(s)Parse a date-time value that includes time-zone information.  Returns a
Python datetime value in the UTC timezone.Changes0.2.0 (2011-10-10)Addeddatefunction, for completeness.0.1.0 (2008-05-12)Initial release.
Package: zc.loggermonitor
The zc.loggermonitor package provides a zc.monitor plugin for getting
and setting logger levels.>>> import sys, zc.loggermonitorIt is an error to call the monitor without user arguments.>>> zc.loggermonitor.level(sys.stdout)
Traceback (most recent call last):
...
TypeError: level() takes at least 2 arguments (1 given)If you pass it a logger name, it returns the current effective level:>>> zc.loggermonitor.level(sys.stdout, '.')
NOTSET
>>> zc.loggermonitor.level(sys.stdout, 'mylogger')
NOTSETIf you pass a level it sets the level:>>> zc.loggermonitor.level(sys.stdout, '.', 'INFO')>>> zc.loggermonitor.level(sys.stdout, '.')
INFO
>>> zc.loggermonitor.level(sys.stdout, 'mylogger')
INFOYou can also pass a numeric value:>>> zc.loggermonitor.level(sys.stdout, 'mylogger', '5')
>>> zc.loggermonitor.level(sys.stdout, '.')
INFO
>>> zc.loggermonitor.level(sys.stdout, 'mylogger')
Level 5>>> zc.loggermonitor.level(sys.stdout, 'mylogger', '10')
>>> zc.loggermonitor.level(sys.stdout, '.')
INFO
>>> zc.loggermonitor.level(sys.stdout, 'mylogger')
DEBUG>>> zc.loggermonitor.level(sys.stdout, 'mylogger', 'NOTSET')
>>> zc.loggermonitor.level(sys.stdout, '.')
INFO
>>> zc.loggermonitor.level(sys.stdout, 'mylogger')
INFO>>> zc.loggermonitor.level(sys.stdout, '.', 'NOTSET')
>>> zc.loggermonitor.level(sys.stdout, '.')
NOTSET
>>> zc.loggermonitor.level(sys.stdout, 'mylogger')
NOTSETDownload
Package: zcls
Language:
    🇺🇸🇨🇳«ZCls» is a classification model training/inferring frameworkSupported Recognizers:Refer toroadmapfor detailsTable of ContentsTable of ContentsBackgroundInstallationUsageMaintainersThanksContributingLicenseBackgroundIn the fields of object detection/object segmentation/action recognition, there have been many training frameworks with high integration and perfect process, such asfacebookresearch/detectron2,open-mmlab/mmaction2...Object classification is the most developed and theoretically basic field in deeplearning. Referring to the existing training framework, a training/inferring framework based on object classification model is implemented. I hope ZCls can bring you a better realization.InstallationSeeINSTALLUsageHow to train, seeGet Started with ZClsUse builtin datasets, seeUse Builtin DatasetsUse custom datasets, seeUse Custom DatasetsUse pretrained model, seeUse Pretrained ModelMaintainerszhujian -Initial work-zjykzjThanks@misc{ding2021diverse,
      title={Diverse Branch Block: Building a Convolution as an Inception-like Unit}, 
      author={Xiaohan Ding and Xiangyu Zhang and Jungong Han and Guiguang Ding},
      year={2021},
      eprint={2103.13425},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

@misc{ding2021repvgg,
      title={RepVGG: Making VGG-style ConvNets Great Again}, 
      author={Xiaohan Ding and Xiangyu Zhang and Ningning Ma and Jungong Han and Guiguang Ding and Jian Sun},
      year={2021},
      eprint={2101.03697},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

@misc{fan2020pyslowfast,
  author =       {Haoqi Fan and Yanghao Li and Bo Xiong and Wan-Yen Lo and
                  Christoph Feichtenhofer},
  title =        {PySlowFast},
  howpublished = {\url{https://github.com/facebookresearch/slowfast}},
  year =         {2020}
}

@misc{zhang2020resnest,
      title={ResNeSt: Split-Attention Networks}, 
      author={Hang Zhang and Chongruo Wu and Zhongyue Zhang and Yi Zhu and Haibin Lin and Zhi Zhang and Yue Sun and Tong He and Jonas Mueller and R. Manmatha and Mu Li and Alexander Smola},
      year={2020},
      eprint={2004.08955},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

@misc{han2020ghostnet,
      title={GhostNet: More Features from Cheap Operations}, 
      author={Kai Han and Yunhe Wang and Qi Tian and Jianyuan Guo and Chunjing Xu and Chang Xu},
      year={2020},
      eprint={1911.11907},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}For more thanks, checkTHANKSContributingAnyone's participation is welcome! Open anissueor submit PRs.Small note:Git submission specifications should be complied
withConventional CommitsIf versioned, please conform to theSemantic Versioning 2.0.0specificationIf editing the README, please conform to thestandard-readmespecification.LicenseApache License 2.0© 2020 zjykzj
Package: zcls2
Language:
    🇺🇸🇨🇳«ZCls2» is a more faster classification model training frameworkTable of ContentsTable of ContentsBackgroundInstallationUsageMaintainersThanksContributingLicenseBackgroundAfter nearly one and a half years of development,ZClshas integrated many training features, includes configuration module, register module, training module, and many model implementations (resnet/mobilenet/senet-sknet-resnest/acbnet-repvgg-dbbnet/ghostnet/gcnet...) and so on. In the development process, it is found that compared with the current excellent classification training framework, such asapex, the training speed ofZClsis not outstanding.In order to better improve the training speed, we decided to develop a new training frameworkZCls2, which is implemented based onapexand provides more friendly and powerful functions. In the preliminary implementation, it can be found thatZCls2improves the training speed by at least 50% compared withZCls.  More functions are being added.InstallationSeeInstallUsageSeeGet startedMaintainerszhujian -Initial work-zjykzjThanksNVIDIA/apexZJCV/ZClsContributingAnyone's participation is welcome! Open anissueor submit PRs.Small note:Git submission specifications should be complied
withConventional CommitsIf versioned, please conform to theSemantic Versioning 2.0.0specificationIf editing the README, please conform to thestandard-readmespecification.LicenseApache License 2.0© 2022 zjykzj
Package: zCluster
zClusteris a package for measuring galaxy cluster photometric redshifts using
data from large public surveys. It can also produce photometric redshift estimates
and galaxy density maps for any point in the sky using the includedzFieldtool.Documentation:https://zcluster.readthedocs.ioLicense:GPL v3Authors:Matt Hilton, with contributions from Kabelo Kesebonye, Phumlani Phakathi,
Denisha Pillay, and Damien Ragavan (not all reflected on GitHub).Installation:pip install zClusterSupport:Please use theGitHub issues page,
and/or contactMatt Hilton.zClusterhas built-in support for querying large photometric surveys - currently:SDSS (DR7 - DR12)SDSS Stripe 82 (from SDSS DR7)CFHTLenSPS1 (DR2)DECaLS (DR8 - DR10)DES (DR1, DR2 and Y3 internal)KiDS (DR4)For details of the algorithm, its performance, and the output of the code, refer toHilton et al. (2018), which presents
results based on SDSS, S82, and CFHTLenS, and/orHilton et al. (2021), which presents
results based on DECaLS DR8. The other surveys listed above are work in progress (so use with caution; PS1 in
particular is problematic).Pillay et al. (2021)presents the first use of the package for producing projected galaxy density maps.If you findzClusteruseful in your work, please cite whichever one
of the above papers that you think is appropriate (together, of course, with the appropriate papers
for the optical/IR survey used).zClustercan also run on user-supplied .fits table photometric catalogs, provided that they have columns
namedID,RADeg,decDeg, and magnitude column names in the formu_MAG_AUTO,u_MAGERR_AUTOetc..zClusteris under active development, and not all documentation is up to date. The package also
contains some experimental features that are not necessarily well tested.
Package: zcm
ZCM is a lightweight component model using ZeroMQ (http://zeromq.org/)Components are the building blocks of an applicationComponents are characterized by ports and timers.Timers are bound to anoperationand fire periodicallyThere are four basic types of ports in ZCM: publisher, subscriber, client and serverPublishers publish messages and Subscribers receive messagesClients request the services of a server by sending a request message; Servers receive such requests, process the requests, and respond back to the Client. Until the Server responds, the Client port blocksA Component can be instantiated multiple times in an application with different port configurationsA component has a single operation queue that handles timer triggers and receives messagesA component has an executor thread that processes this operation queueComponents register functionality e.g. timer_operations, subscribers_operations etc.Component instances are grouped together into a process, calledActorAn actor receives a configuration (.JSON) file, that contains information regarding the components to instantiateThis configuration file also contains properties of all timers and ports contained by the component instances
Package: zc.mappingobject
Sometimes, you want to use a mapping object like a regular object.zc.mappingobjectprovides a wrapper for a mapping objects that
provides both attribute and item access.>>> import zc.mappingobject
>>> mapping = dict(a=1)
>>> ob = zc.mappingobject.mappingobject(mapping)>>> ob.a
1
>>> ob.a = 2
>>> ob.a
2
>>> mapping
{'a': 2}>>> list(ob)
['a']>>> len(ob)
1>>> ob['a'] = 3
>>> ob.a
3
>>> mapping
{'a': 3}>>> del ob.a
>>> mapping
{}
>>> ob.a
Traceback (most recent call last):
...
AttributeError: a>>> ob.b = 1
>>> mapping
{'b': 1}>>> del ob['b']
>>> mapping
{}
Package: zcmds-win32
zcmds_win32Optional zcmds package for win32 to make it feel more like a linux distribution. This is a great package to use if you want to
use things liketee,grepand unix commands and have it work on windows.Commandscatcpdugit-bashgrephomefalseidlsmd5summvnanopicopsopenrmtruetestteetouchunzipwhichwcxargsuniqunamefixvmmemIf CPU consumption for vmmem high, run this command to fix it.yesInstall (normal)python -m pip install zcmdsInstall (dev):git clone https://github.com/zackees/zcmds_win32cd zcmds_win32python -pip install -e .Release Notes1.2.19:python3andpip3now map topythonandpip1.2.18: Betterbash, which now paths the default git-bash `/usr/bin``1.2.17: Addeddate1.2.16:opennow accepts double back slashes.1.2.15: Addsrealpathandunameto git-bash utils.1.2.14: Fixesbashfrom missing file.1.2.13: Addsbashfrom git-bash anddirname.1.2.12:sshpassand nowzcmds_win32 --installto force re-download of unix tools.1.2.10:opennow handles git paths1.2.9: Fixssh-keygentrampoline and other new ssh commands.1.2.8: Improvedopencommand to now open extensionless text files1.2.7: Adds ssh related tools for windows from git-bash.1.2.4: Fixesopenwhen passing in a '.' directory.1.2.3:homenow works in non C: drive1.2.2: Addsmaketool for building code.1.2.1: Adds tooldig1.0.26: When sublime is opened viaopenit now opens in it's own window.1.0.25: Fixopenfor python 3.91.0.24: Addsed1.0.23: Yank 1.0.21/221.0.20: Addsuniqanduname1.0.19: Change default text editor to sublime over textpad1.0.18: Addstrueandfalseandtimeout1.0.17: Minor fixes.1.0.16: Addsxargs,ps,id,wc,md5sum,tee1.0.15: fixed 'no' command, which doesn't exist.1.0.13: Addsyes1.0.12: open tries to find a text editor.1.0.11: Addssudo_win32[sudo]1.0.10: Fixesfixvmmemwhich now uses elevated_exec1.0.9: Fixesopenwhen using forward slashes1.0.8: Fixesopenwhen usingopen .1.0.7: Fixes missingfixvmmem1.0.5:opennow assumes current directory if no path is given1.0.4:fixvmmemnow runs in elevated privledges1.0.3: Addsfixvmmem1.0.2: Addsunzip1.0.1: Addspico/nano1.0.0: Moved zcmds_win32 from zcmds
Package: zc.monitorcache
zc.montorcache is a zc.z3monitor plugin that allows one to modify or check
the cache size (in objects or bytes) of a running instance.>>> import zc.monitorcache
>>> import zope.component
>>> import zc.ngi.testing
>>> import zc.monitor
>>> import zc.monitor.interfaces
>>> import zc.z3monitor
>>> import zc.z3monitor.interfaces>>> connection = zc.ngi.testing.TextConnection()
>>> server = zc.monitor.Server(connection)>>> zope.component.provideUtility(zc.monitorcache.cacheMonitor,
...     zc.z3monitor.interfaces.IZ3MonitorPlugin, 'cache_size')>>> connection.test_input('cache_size\n')
-> CLOSEWe have no databases right now. Let’s add a few so that we can test.>>> import ZODB.tests.util
>>> import ZODB.interfaces
>>> main = ZODB.tests.util.DB()
>>> zope.component.provideUtility(main, ZODB.interfaces.IDatabase)
>>> test = ZODB.tests.util.DB()
>>> zope.component.provideUtility(
...     test, ZODB.interfaces.IDatabase, 'test')Now we should get information on each of the database’s cache sizes>>> connection = zc.ngi.testing.TextConnection()
>>> server = zc.monitor.Server(connection)>>> connection.test_input('cache_size\n')
DB cache sizes for main
Max objects: 400
Max object size bytes: 0MB
DB cache sizes for test
Max objects: 400
Max object size bytes: 0MB
-> CLOSEWe can request information about a specific db as well>>> connection = zc.ngi.testing.TextConnection()
>>> server = zc.monitor.Server(connection)>>> connection.test_input('cache_size -\n')
DB cache sizes for main
Max objects: 400
Max object size bytes: 0MB
-> CLOSE>>> connection = zc.ngi.testing.TextConnection()
>>> server = zc.monitor.Server(connection)>>> connection.test_input('cache_size test\n')
DB cache sizes for test
Max objects: 400
Max object size bytes: 0MB
-> CLOSEWe can also modify cache sizes for a specific db>>> connection = zc.ngi.testing.TextConnection()
>>> server = zc.monitor.Server(connection)>>> connection.test_input('cache_size test 300\n')
Set max objects to 300
-> CLOSE>>> connection = zc.ngi.testing.TextConnection()
>>> server = zc.monitor.Server(connection)>>> connection.test_input('cache_size test 10MB\n')
Set max object size bytes to 10MB
-> CLOSE>>> connection = zc.ngi.testing.TextConnection()
>>> server = zc.monitor.Server(connection)>>> connection.test_input('cache_size test\n')
DB cache sizes for test
Max objects: 300
Max object size bytes: 10MB
-> CLOSE
Package: zc.monitorpdb
zc.montorpdb is a small plugin for the (very) lightweight zc.monitor
system.  It allows a user to telnet to a monitor port and invoke a
Python debugger (PDB) prompt.To use it, one must first register the command so zc.monitor is aware of
it.>>> import zc.monitorpdb
>>> import zope.component
>>> import zc.monitor.interfaces
>>> zope.component.provideUtility(zc.monitorpdb.command,
...     zc.monitor.interfaces.IMonitorPlugin, 'pdb')Since zc.monitor is implemented with zc.ngi, we can use zc.ngi’s testing
helpers.>>> import zc.ngi.testing
>>> connection = zc.ngi.testing.TextConnection()
>>> server = zc.monitor.Server(connection)If we invoke the command, we’ll get the appropriate prompt.>>> connection.test_input('pdb\n')
(Pdb)Now we can do normal pdb things like list the code being executed.>>> connection.test_input('l\n')
 34             global fakeout
 35
 36             fakeout = FakeStdout(connection.connection)
 37             debugger = pdb.Pdb(stdin=None, stdout=fakeout)
 38             debugger.reset()
 39  ->         debugger.setup(sys._getframe(), None)
 40
 41
 42         def command(connection, *args):
 43             global debugger
 44             global fakeout
(Pdb)As well as go “up” in the function call stack.>>> connection.test_input('u\n')
>   /graphted-storage/workspace/zc.monitorpdb/src/zc/monitorpdb/__init__.py(48)command()
-> reset(connection)
(Pdb)There is a “reset” command that gives us a fresh debugger (just in case
something bad happend to ours and we don’t want to restart the host
process).  Here we go from the current location being one thing (the
result of the previous “u” command) to another.>>> connection.test_input('l\n')
 57                 return zc.monitor.QUIT_MARKER
 58             else:
 59                 debugger.onecmd(' '.join(args))
 60
 61             connection.write(debugger.prompt)
 62  ->         return zc.monitor.MORE_MARKER
[EOF]
(Pdb)
>>> connection.test_input('reset\n')
(Pdb)
>>> connection.test_input('l\n')
 34             global fakeout
 35
 36             fakeout = FakeStdout(connection.connection)
 37             debugger = pdb.Pdb(stdin=None, stdout=fakeout)
 38             debugger.reset()
 39  ->         debugger.setup(sys._getframe(), None)
 40
 41
 42         def command(connection, *args):
 43             global debugger
 44             global fakeout
(Pdb)Some features don’t work, however.>>> connection.test_input('debug 1+1\n')
the "debug" command is not supported
(Pdb)Once we’re done, we ask to be let go.>>> connection.test_input('quit\n')
-> CLOSE