Saravanan666/pypi-org huggingface dataset:
Package: collectd-transmission
IntroductionA python plugin for integrating collectd and transmission. With this
installed, collectd will be querying transmission for the following:Per session and cumulative:downloadedBytesuploadedBytesfilesAddedsecondsActiveGeneral:activeTorrentCountblocklist_sizedownloadSpeeduploadSpeedpausedTorrentCounttorrentCountand creating the relevant RRD files (or pushing to graphite or whatever
you have collectd doing)Some of these metrics are per session, some session cumulative, some are
session independent. Their type ‘current’, ‘cumulative’, ‘general’ is set
in the name of the metricQuick InstallationDebian/Ubuntu assumed. Prereqs installationapt-getinstallcollectdtransmission-daemonpython-transmissionrpcpython-pipAnd then the actually softwarepipinstallcollectd_transmissionConfigureInsert the following in your collectd.conf:<Plugin python>
    LogTraces false
    Interactive false
    Import "collectd_transmission"
    <Module collectd_transmission>
        username "myuser" # Required
        password "mypass" # Required
    </Module>
</Plugin>modified accordingly to your needs. Restart collectd and you are done.There should be rrds for transmission under collectd’s data directory.
Most probably that is/var/lib/collectd/rrd/<hostname>/transmission/DocumentationIf you want some actually documentation and more detailed installation
and/or configuration instructions head over to:https://pythonhosted.org/collectd_transmission/
Package: collect-face-data
This command allows users to to collect face data:collect-face-data--output_path.--source0--label"user_id"--num_of_img10--percent_test20--augmentTrueoutput_path: Location where the data will be stored.source: source of video - 0 is camera.label: label of data, it can be name of user or id of user.num_of_img: number of image will be captured.percent_test: the percentage of data for model testing.augment: increase number of data.
Package: collect-framework-oleksandr
Collect FrameworkWelcome to my project! This program will help you to count unique letters.Table of ContentsIntroductionInstallationUsageLicenseIntroductionThis project helps you to count unique letters in any wordInstallationTo get started, follow these steps:Clone the repository:git clone https://git.foxminded.ua/foxstudent105474/task5.gitUsageRun the application using the following command:python -m task.collect_framework --string (your word)python -m task.collect_framework --file (path to your file)LicenseThis project is licensed under theGNU GPLv3 License.
Package: collectiondbf
collectiondbfCollection Downloads from BlackFynnA python tool for downloading a collection of files from Blackfynn. Can be run from command line or enter input in a UIInstallationWindowspip install collectiondbfLinuxsudo apt-get install python3-tk
pip3 install collectiondbfMacOSpip install collectiondbf*Note that since macOS python does not come with tkinter, only command line usage is supported.collectiondbf requires python 3.3+ and tkinter to runUsageCommand LineDownloading CollectionsThe commands below will download the desired directory at the command prompts location.python -m collectiondbf <collection:ID> [api-key] [api-secret] [--recursive]Add the--recursiveoption if you wish to download all nested directories under the given locationIf you cannot find the collection ID for the folder you wish to download, check for it in the url like so:Alternatively check outthis 50s video tutorialon how to find collection ID and API keys in BlackfynnNOTEYou only have to input your keys once! collectiondbf will save them for you for subsequent downloads!Downloading DatasetsDownloading datasets works exactly the same as downloading collections! Just put the dataset ID in place of the collection IDpython -m collectiondbf <dataset:ID> [api-key] [api-secret] [--recursive]User InterfaceRunningpython -m collectiondbfwill start the following ui to input keys and collection IDUsing config.py for regular usageSet environment variables to your Blackfynn keysBLACKFYNN_API_TOKEN=xxxxx-xxxxx-xxxxx
BLACKFYNN_API_SECRET=xxxxx-xxxxx-xxxxxorEdit config.py to your keys:config.pyimport os
API_TOKEN = 'xxxxx-xxxxx-xxxx'
API_SECRET = 'xxxxx-xxxxx-xxxxx'
Package: collection-filter
https://github.com/kudo/collection-filterThis library provides a DSL filter for list or dict data.
It is original designed for RESTful API partial response.
Tested with Python 2.6, 2.7.Quick StartTo install, use pip:$ pip install collection-filterThen:$python>>>fromcollection_filterimportcollection_filter# Query a dict>>>collection_filter({'foo':1,'bar':2},'foo'){'foo':1}# Query a dict with multiple elements (seperated by comma)>>>collection_filter({'foo':1,'bar':2},'foo,bar'){'foo':1,'bar':2}# Query a dict deeply>>>collection_filter({'foo':{'bar':2,'orange':'sweet'}},'foo.bar'){'foo':{'bar':2}}# Query a list>>>collection_filter([{'foo':1,'bar':2},{'foo':3,'bar':4}],'[].foo')[{'foo':1},{'foo':3}]# list/dict combination example>>>collection_filter({'foo':'bar','aListOfDict':[{'foo':1,'bar':2}],'aListOfDict[].foo'){'aListOfDict':[{'foo':1}]}SyntaxCurrently support operatorsOperatorDescription,Multiple field query sperated by comma[]To indicate the data should be handled as list.Dot notation should follow with a symbol name
which to specify a field in current dict dataCopyright and LicenseCopyright 2015, Kudo ChienLicensed under aMIT license.
Package: collection-framework-taa
Collection FrameworkTakes a string and returns the number of unique charactersInstallationsInstall the packageExample of usefrom collection_framework.cli import get_result

if __name__ == "__main__":
    print(get_result())LaunchРass a string as a parameter '--string'python3 {script_name} --string {string}or
pass the path to the file as a parameter '--file'python3 {script_name} --file {path}
Package: collectionish
collectionishCollectionish is a pure python library extending the basic collection data types and operations for working with them.Free software: MIT licenseDocumentation:docsSupported Python Versions: >=3.7Getting Started:Install the latest stable version with pip:$ pip install collectionishCheckout the docs:It's best to checkout thedocs. There you'll find detailed
documentation of collectionish's features and lots of examples of how to
use them.--What's is it?Python is a wonderful language when it comes to extending inbuilt types
and making things that quack.collectionishsubscribes to the ideology
that the behaviour of data structures belongsindata structures and
that it's better and more graceful to bake the behavior into a type than
to complicate surrounding business logic creating many more wtf moments
and room for bugs to sneak in.Python's own [collections][https://docs.python.org/library/collections.html] module is a great example. takedefaultdict, how many times have you seen something like this?pets=[('cat','tabby'),('cat','ginger'),('dog','beagle'),('dog','poodle'),('lizard','gecko')]pet_dict={}fortyp,subtypinpets:try:pet_dict[typ].append(subtyp)exceptKeyError:# now we'll need to make an comment to explain...# if the key doesn't exist pet_dict we make a new# list containing the pet's subtypepet_dict[typ]=[subtyp]vs:fromcollectionsimportdefaultdictpet_dict=defaultdict(list)fortyp,subtypinpets:pet_dict[typ].append(subtyp)collectionishadds some extra collections such likeAttyDict(a
straightforward recursive dot accessdict) andUniqueTuple( a
tuple of unique items that remembers insertion order). New collections
will be added fairly regularly on the basis that they are generic enough
and useful enough that i find myself repeating them in other projects.In addition to data structurescollectionishalso provides some
operations for working with data structures (from both standard python
andcollections) like the recursive getters and setterscollectionish.ops.Principles:useful enough:Inspirations for data structures should come from stuff we've written or
needed before at some point.generic enough:To be extended within reason.specific enough:To be clear about what things do. We don't aim to makethedata
structure or stand in for a pandas dataframe that does everything.intuitive enough:type hinting should generally work the same as it does with parent
types, signatures should not be wildly different, obvious magic methods
or such as__iter__should not generally be missing from data types.documented enough:All public structures and ops should be documented and have doctest
examples so we know its correct and It should be fairly obvious from
somethings name what it is.tested more than enough:we test with the excellent [hypothesis][https://github.com/HypothesisWorks/hypothesis] library
wherever possible. We do doctests to keep documentation correct.
Package: collection-json
collection-json===============.. image:: https://badge.fury.io/py/collection-json.png:target: http://badge.fury.io/py/collection-json.. image:: https://travis-ci.org/ricardokirkner/collection-json.python.png?branch=master:target: https://travis-ci.org/ricardokirkner/collection-json.python.. image:: https://coveralls.io/repos/ricardokirkner/collection-json.python/badge.png:target: https://coveralls.io/r/ricardokirkner/collection-json.pythoncollection-json is a small library, written in Python, to work withCollection+JSON documents.Installation------------The easiest way to install `collection-json` is to run::$ pip install collection-jsonFor other ways of installing it, please refer to the documentation_.Examples--------Parsing a Collection+JSON document is really simple::>>> import requests>>> from collection_json import Collection>>> data = requests.get('http://www.youtypeitwepostit.com/api/').text>>> collection = Collection.from_json(data)>>> collection<Collection: version='1.0' href='http://www.youtypeitwepostit.com/api/'>The documentation_ includes several usage examples, go and check it out!.. _documentation: http://collection-json.readthedocs.orgContributing------------1. Check for open issues or open a fresh issue to start a discussion around afeature idea or a bug.1. Fork `the repository`_ on GitHub to start making your changes to the**master** branch (or branch off of it).1. Write a test which shows that the bug was fixed or that the feature worksas expected.1. Send a pull request and bug the maintainer until it gets merged andpublished. :) Make sure to add yourself to AUTHORS_... _`the repository`: https://github.com/ricardokirkner/collection-json.python.. _AUTHORS: https://github.com/ricardokirkner/collection-json.python/blob/master/AUTHORS.txt
Package: collection-plus
List of collections similar to JAVA style collection for PythonInstallation$ pip install collection-plusUsagefromcollectionimport*l=List()l.add(1)l.is_empty()vec=Vector()vec.add(1)stack=Stack()stack.push(1)stack.pop()item=stack.peek()queue=Queue()queue.offer(1)item=queue.peek()queue.poll()Build Projectsource distribution: python setup.py sdist
wheel distribution:  python setup.py bdist_wheelDistributetest repo: twine upload –repository-urlhttps://test.pypi.org/legacy/dist/*
prod repo: twine upload dist/*
Package: collectionpy
COLLECTIONPYDownload PyPi:https://pypi.org/project/collectionpy/Documentação:https://campcodebrasil.github.io/collectionpy/Bem-vindo ao Framework CollectionPy, uma ferramenta poderosa projetada para simplificar e aprimorar suas tarefas relacionadas à manipulação de datas, formatação de números em texto e criação rápida de gráficos. Este framework foi desenvolvido com o objetivo de oferecer uma solução eficiente e intuitiva para lidar com operações comuns no desenvolvimento de aplicativos, proporcionando uma experiência de programação mais eficaz e produtiva.Instalaçãopip install collectionpy
Package: collection-scanner
High level hubstorage collection scannerProvides convenient way to scan a collection in batchesAllows to merge data from multiple collectionsAccepts endts and startts in many string formats (as accepted by dateparser lib) or standard HS epoch in millisecsAccepts excluded prefixesAdds stopbefore feature (analogous to startafter but the inverse)Provides method for arbitrary prefix aggregation countingSupports partitioned collectionsProvides a suite for testing hs collection code.Up to version 0.1.6: Python2 only
Starting version 0.2: Python3 onlySee usage instructions atscanner.pydocstring.Instalationpip install collection-scanner
Package: collections-extended
Documentation:http://collections-extended.lenzm.net/GitHub:https://github.com/mlenzen/collections-extendedPyPI:https://pypi.python.org/pypi/collections-extendedOverviewcollections_extendedis a pure Python module with no dependencies providing:abagclass, AKAmultiset,asetlistclass, which is aunique listorordered set,abijectionclass,RangeMapwhich is a mapping from ranges to values andaIndexedDictclass, which is an ordered mapping whose elements can be accessed using index, in addition to key.There are also frozen (hashable) varieties of bags and setlists.Compatible with and tested against Python 3.6, 3.7, 3.8, 3.9, 3.10 & PyPy3.Getting Started>>>fromcollections_extendedimportbag,setlist,bijection,RangeMap,IndexedDict>>>fromdatetimeimportdate>>>b=bag('abracadabra')>>>b.count('a')5>>>b.remove('a')>>>b.count('a')4>>>'a'inbTrue>>>b.count('d')1>>>b.remove('d')>>>b.count('d')0>>>'d'inbFalse>>>sl=setlist('abracadabra')>>>slsetlist(('a','b','r','c','d'))>>>sl[3]'c'>>>sl[-1]'d'>>>'r'insl# testing for inclusion is fastTrue>>>sl.index('d')# so is finding the index of an element4>>>sl.insert(1,'d')# inserting an element already in raises a ValueErrorTraceback(mostrecentcalllast):...raiseValueErrorValueError>>>sl.index('d')4>>>bij=bijection({'a':1,'b':2,'c':3})>>>bij.inverse[2]'b'>>>bij['a']=2>>>bij==bijection({'a':2,'c':3})True>>>bij.inverse[1]='a'>>>bij==bijection({'a':1,'c':3})True>>>version=RangeMap()>>>version[date(2017,10,20):date(2017,10,27)]='0.10.1'>>>version[date(2017,10,27):date(2018,2,14)]='1.0.0'>>>version[date(2018,2,14):]='1.0.1'>>>version[date(2017,10,24)]'0.10.1'>>>version[date(2018,7,1)]'1.0.1'>>>version[date(2018,6,30):]='1.0.2'>>>version[date(2018,7,1)]'1.0.2'>>>idict=IndexedDict()>>>idict['a']="A">>>idict['b']="B">>>idict['c']="C">>>idict.get(key='a')'A'>>>idict.get(index=2)'C'>>>idict.index('b')1Installationpip installcollections-extendedUsagefrom collections_extended import bag, frozenbag, setlist, frozensetlist, bijectionClassesThere are seven new collections provided:BagsbagThis is a bag AKA multiset.frozenbagThis is a frozen (hashable) version of a bag.SetlistssetlistAn ordered set or a list of unique elements depending on how you look at it.frozensetlistThis is a frozen (hashable) version of a setlist.MappingsbijectionA one-to-one mapping.RangeMapA mapping from ranges (of numbers/dates/etc)IndexedDictA mapping that keeps insertion order and allows access by index.Python 2The package no longer supports Python 2. The last version to support
Python 2.7, 3.4 & 3.5 was 1.0. No new feature releases will be done for 1.x but
any significant bugs that come up may be fixed.Author:Michael LenzenCopyright:2021 Michael LenzenLicense:Apache License, Version 2.0Project Homepage:https://github.com/mlenzen/collections-extended
Package: collections-undo
collections-undoGeneral undo/redo implementation in Python.→ DocumentationInstallationpip install -U collections-undoBasic usageYou'll have to create reversible functions usingUndoManager.fromcollections_undoimportUndoManagerclassA:mgr=UndoManager()@mgr.undoable# create a reversible functiondeff(self,x):print("do",x)@f.undo_def# define undodeff(self,x):print("undo",x)a=A()a.f(0)# Out: "do" 0a.mgr.undo()# Out: "undo" 0a.mgr.redo()# Out: "do" 0ABC-like undo implementationTo avoid careless errors, ABC-like interface will be useful.fromcollections_undo.abcimportUndoableABC,undoablemethod,undo_defclassA(UndoableABC):@undoablemethoddeff(self,x):print("do",x)@undo_def(f)deff(self,x):print("undo",x)a=A()# OKa.f(0)# Out: "do" 0a.undo()# Out: "undo" 0a.redo()# Out: "do" 0If undo is not defined, construction fails.classA(UndoableABC):@undoablemethoddeff(self,x):...a=A()# TypeErrorclassB(A):@undo_def(A.f)deff(self,x):...b=B()# OKBuiltin undoable objectsThese mutable classes haveundoandredomethod to handle operations that mutate the object.Ready-to-use classesUndoableList...insert,__setitem__,extendetc. are undoable.UndoableDict...__setitem__,updateetc. are undoable.UndoableSet...add,discardetc. are undoable.Abstract classesAbstractUndoableListAbstractUndoableDictAbstractUndoableSet
Package: collection-views
Python collection viewsMutable and immutable views over standard collections with proper type annotations.Installpip install collection-viewsSamplefromcollection_viewsimportImmutableViewListmylist=["Hello","collection","views"]myview=ImmutableViewList(mylist)print(myview[1])# prints "collection"print(myview[1:])# prints "['collection', 'views']"myview[0]="Bye"# Does not support item assignment!Python supportNew releases will support all actively maintained Python versions.
The latest release targets python 3.8 through 3.12.FeaturesImmutableViewList, an immutable view over a list.
Package: collective.aaf
ContentsIntroductionFeaturesInstallationChangelog2.1 (2016-01-21)2.0 (2015-05-20)1.5 (unreleased)1.4 (2015-04-28)1.3 (2014-02-26)1.2 (2014-02-19)1.1 (2014-01-30)1.0 (2014-01-29)IntroductionThis package provides an integration layer for Plone for theAustralian
Access Federation(AAF), a Shibboleth-powered
authentication federation.  This package builds uponcollective.shibboleth.FeaturesConfigures the underlying authentication plugin to load user data from
the relevant AAF attributes.Most heavy lifting is now carried out bycollective.shibbolethso this
package just depends upon that.InstallationInstallation with Plone follows the standard practice of modifying your
Buildout configuration like so, adding this package to your list of eggs:[instance]
recipe = plone.recipe.zope2instance
...
eggs +=
    collective.aafOnce installed, this package will configure the underlying packages in Plone
accordingly.David Beitey, AuthorChangelog2.1 (2016-01-21)Changedvariousimport step to be ZCML configured.
[davidjb]2.0 (2015-05-20)Backwards incompatibility: because of the migration of portlet tocollective.shibboleth, you need to remove the existingcollective.aafportlet before upgrading.
[davidjb]Refactor intocollective.shibbolethand depend on that package.  This
package now adds just the AAF specific settings into Plone, extendingcollective.shibboleth.
[davidjb]1.5 (unreleased)Nothing changed yet.1.4 (2015-04-28)Make portlet header friendlier.
[davidjb]1.3 (2014-02-26)Configure AutoUserMakerPASPlugin to auto-update user properties on login.
[davidjb]1.2 (2014-02-19)Made the embedded WAYF JavaScript URL depend on the portlet’s
configured URL rather than being hardcoded.
[davidjb]1.1 (2014-01-30)Noted that latest collective.pluggablelogin released. Package now
depends on this latest version or later.
[davidjb]1.0 (2014-01-29)If logging in again from a logged_out view, then strip the view from
thecame_fromquery string parameter.
[davidjb]Notify users of their temporary passwords being generated on first login.
[davidjb]Monkey patch the password generation function AutoUserMakerPASPlugin
to allow stronger passwords.
[davidjb]Ensure users logging in get the Shibboleth Authenticated role via
AuthZ mapping.
[davidjb]Add Shibboleth Authenticated role.
[davidjb]Package created using templer
[davidjb]
Package: collective.abovecontentbodyportlets
Show portlets above the content body.FeaturesPlone 6 has left/right/footer portlets.  This package add abovecontentbody portlets.They show between the content title/description and the content.InstallationInstall collective.abovecontentbodyportlets by adding it to your buildout:[buildout]

...

eggs =
    collective.abovecontentbodyportletsand then runningbin/buildout, starting Plone, and activating it in the Modules control panel.ContributorsPut your name here, you deserve it!Maurits van ReesContributeIssue Tracker:https://github.com/collective/collective.abovecontentbodyportlets/issuesSource Code:https://github.com/collective/collective.abovecontentbodyportletsDocumentation:https://docs.plone.org/foo/barLicenseThe project is licensed under the GPLv2.Changelog1.0.0a2 (2023-07-28)Removed unneeded div with class col-xs-12 from page template.
We already have a surrounding div with class row.
[maurits]1.0.0a1 (2023-06-23)Initial release.
[maurits]
Package: collective.abovecontenttitleportlets
Show portlets above the content body.FeaturesPlone 6 has left/right/footer portlets.  This package adds abovecontenttitle portlets.They show above the title.If you want a portlet slot between the content title/description and the content instead,
usecollective.abovecontentbodyportlets.InstallationInstall collective.abovecontenttitleportlets by adding it to your buildout:[buildout]

...

eggs =
    collective.abovecontenttitleportletsand then runningbin/buildout, starting Plone, and activating it in the Modules control panel.ContributorsPut your name here, you deserve it!Maurits van ReesContributeIssue Tracker:https://github.com/collective/collective.abovecontenttitleportlets/issuesSource Code:https://github.com/collective/collective.abovecontenttitleportletsLicenseThe project is licensed under the GPLv2.Changelog1.0.0a2 (2023-07-28)Removed unneeded div with class col-xs-12 from page template.
We already have a surrounding div with class row.
[maurits]1.0.0a1 (2023-06-23)Initial release.
[mauritsvanrees]
Package: collective.accordionviews
collective.accordionviewsAccordion views for Plone CMS, which can be used on Folders and Collections.
This add can be a replacement from redomino.tabsandslides.FeaturesBootstrap basedAccordion view for Folder and CollectionAccordion collapsed view, which keeps all items collapsedNested folders accordion view for FolderTabbed view for foldersSlides view for foldersTranslationsThis product has been translated intoEnglishGermanInstallationInstall collective.accordionviews by adding it to your buildout:[buildout]

...

eggs =
    collective.accordionviewsand then runningbin/buildoutAuthorsProvided byDericoContributorsPut your name here, you deserve it!MrTango?ContributeIssue Tracker:https://github.com/collective/collective.accordionviews/issuesSource Code:https://github.com/collective/collective.accordionviewsSupportIf you are having issues, please let us know, by opening an issue.LicenseThe project is licensed under the GPLv2.ContributorsMaik Derstappen,md@derico.deChangelog1.8.1 (2023-11-21)improve german translations
[MrTango]1.8 (2023-11-21)add AccordionCollapsedView which keeps also the first item collapsed
[MrTango]1.7 (2023-11-20)Cache several methods in accordion view to improve performance
[MrTango]1.6 (2023-11-17)Also render viewlet-above and below content in accordion.
[MrTango]1.5 (2023-11-03)avoid empty accordion-items div’s when items are excluded from navigation
[MrTango]1.4 (2023-10-31)respect excludeFromNavigation in accordion_view
[MrTango]1.3 (2023-10-31)Improve handling of link items in accordion_view
[MrTango]1.2 (2023-07-28)prevent error when #content-core was not found in clean_html method
[MrTango]1.1 (2022-12-22)fix accordion collapsed markers
[MrTango]1.1b4 (2022-10-31)Add slideshow_view for Folder
[MrTango]1.1b3 (2022-09-28)Add tabbed_view
[MrTango]1.1b2 (2022-09-15)Resolve default_page if items are folder
[MrTango]1.1b1 (2022-09-15)Add nested folders accordion view
[MrTango]optimize margins and include item description
[MrTango]1.0b1 (2022-09-14)Initial release with first accordion_view.
[MrTango]