Saravanan666/pypi-org huggingface dataset:
Package: listenbrainz-submit
Python module to submit listens to the ListenBrainz serviceSimple python module to submit listens to the ListenBrainz server.Supports submitting single listens, now playing notifications and import of
multiple listens. Automatically honors the ListenBrainz server's rate limits.Usageimporttimefromlistenbrainz_submitimportListenBrainzClient,Track# The user's personal ListenBrainz token obtained from https://listenbrainz.org/profile/user_token="..."client=ListenBrainzClient(user_token=user_token)# Prepare a track to submittrack=Track(artist_name="Dool",track_name="Vantablack",release_name="Here Now, There Then",additional_info={"listening_from":"My great music player","recording_mbid":"e225fb84-dc9a-419e-adcd-9890f59ec432","release_mbid":"aa1ea1ac-7ec4-4542-a494-105afbfe547d","artist_mbids":"24412926-c7bd-48e8-afad-8a285b42e131","tracknumber":1,})# Inform ListenBrainz that this track is playing right now. ListenBrainz# will display this track on the user's listens page as being currently played.client.playing_now(track)To actually submit a track as has been listened to call:# Submit the listen with a current timestampclient.listen(int(time.time()),track)For details on the API usage please refer to theListenBrainz API documentation,
especially thePayload JSON detailswhich describes the metadata that can be submitted.Licenselistenbrainz-submit © 2018-2023 Philipp Wolferph.wolfer@gmail.comPublished under the MIT license, see LICENSE for details.
Package: listenclosely
CI:PyPI:Docs:Listenclosely is a django-app that works as a middleman to connect instant messaging clients. Think on a Call Center/Customer Service using
using instant messaging… exactly what it does.It is simple, connectsAskerswith onlineAgentsuntil theChatis considered as terminated and theAgentis released to attend otherAskerchats.It is flexible, so you can define your own strategies to assignAgentstoAskersand your own messaging backend services.Messaging Services integrated:Whatsapphttps://github.com/jlmadurga/listenclosely-whatsappTelegramhttps://github.com/jlmadurga/listenclosely-telegramDocumentationThe full documentation is athttps://listenclosely.readthedocs.org.Asker1 is chatting with the Busy AgentAsker2 try to chat but no free Agent was free so is waiting with a Pending chat to be attended by an agentAsker3 is opening a chat and Online Agent will be assigned to the chatQuickstartInstall listenclosely:pip install listencloselyThen use it in a project:import listencloselyAdd it to django apps and migrate:INSTALLED_APPS = [
        ...
'listenclosely',
...
]
python manage.py migrateSelect, install and configure service backendLISTENCLOSELY_MESSAGE_SERVICE_BACKEND = "listenclosely_telegram.service.TelegramMessageServiceBackend"Define your agent strategy or define your own:LISTENCLOSELY_AGENT_STRATEGY = 'listenclosely.strategies.first_free.FirstFreeAgentStrategy'Add step to your celery app:from listenclosely.celery import ListenCloselyAppStep
app.steps['worker'].add(ListenCloselyAppStep)Start your celery app usign gevent:celery --app=demo_app.celery:app worker -P geventCall listen task or define a celery scheduler to execute:from listenclosely import tasks
tasks.listen.delay()FeaturesConnectsAskersandAgentsin chats to establish aChatStrategies to findAgentto attend newAskerchat. Define your own strategiesMessaging Service Backend: Define your own messaging service backend implementations.Cron tasks for attending pending chats and to terminate obsolete chats to releaseAgentsRunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements/test.txt
(myenv) $ make testHistory0.1.0 (2016-01-14)First release on PyPI.
Package: listenclosely-telegram
listenclosely-telegramCI:PyPI:Docs:ListenClosely service backend for TelegramFree software: ISC licenseDocumentation:https://listenclosely-telegram.readthedocs.org.FeaturesIntegration with Listenclosely app using Telegram twx.botapi libraryLegalThis code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Telegram or any of its affiliates or subsidiaries.
This is an independent and unofficial API. Use at your own risk.History0.1.0 (2016-01-14)First release on PyPI.
Package: listenclosely-whatsapp
listenclosely-whatsappCI:PyPI:Docs:ListenClosely service backend to work with WhatsappFree software: ISC licenseDocumentation:https://listenclosely-whatsapp.readthedocs.org.FeaturesIntegration with Listenclosely app using yowsup whatsapp libraryTerms and conditionsYou will NOT use this API for marketing purposes (spam, massive sending…).
We do NOT give support to anyone that wants this API to send massive messages or similar.
We reserve the right to block any user of this repository that does not meet these conditions.LegalThis code is in no way affiliated with, authorized, maintained, sponsored or endorsed by WhatsApp or any of its affiliates or subsidiaries.
This is an independent and unofficial API. Use at your own risk.History0.1.0 (2016-01-14)First release on PyPI.
Package: listener
Listener (v2) Voice Dictation as a (Docker) Service for IBusListener is a voice dictation service for Linux desk tops
which uses the Mozilla Deep Speech  engine to provide the
basic recognition services and focuses on providing
sufficient  accuracy and services to allow for coding
common programming languages.My goal with this project is to create an input method for those who
havedifficultytyping with their hands (such as myself), with a
focus on allowing coding by voice. My  personal focus is not
to allow for hands free operation of the machine.Current Status of the ProjectThe current state of the project is a proof of concept, what works:typing content into visual studio code, kate, and google chromethe start of basic punctuation capitalization et cetera  driven by
user editable rules filesRoadmapcreate a docker container with a working deepspeech release [done]get basic working dictation into arbitrary applications working [done]create a control-panel application [started]create punctuation and control short cuts and phrases  [started]allow for switching language models for different programming contexts and providing
current-context hints such as class methods, modules, etc from the language servercreate language models which are  dictation aware, so that the common  dictation short cuts
such ascap Xhave higher prioritiestrack interaction and key press events to allow for pauses in dictation without extra spaces
this will have to happen in the IBus  component in order to get proper notificationsend special keys (tab, enter, and modifiers to start with) [proof of concept done]create a "correct that" GUI (with other predictions and free-form editing)create a control panel allowing for one click toggling of listeningcut down the container to a more reasonable sizemaybe create an DBus service for the core code [started]Architecturepacat sends audio to a named socketa docker container runsMozilla DeepSpeechhardware-accelerated by your host OS's (NVidia) graphics cardthe container reads the audio from a pipe and reports results to a user-local event-socketan interpreter process listens to the event  and attempts to interpret the results
according to the users rules,  and eventually custom language modelsan IBus Engine that allows the results of the recognition to be treated as
regular input to the (Linux) host operating systema UInput mechanism that allows for the introduction of special characters as though they were
typed directly into a keyboardInstallation/SetupSeeInstallation DocsReference Docs for DevsIBusDeepSpeechPyside2
Package: listener-email
『 listener_email - Let listener send email! 』中文 ReadmeThis README file latest update: 2023-01-10 21:56:23📚 Introduction📸 Screenshots📦 How to use⏳ Rate of progress📌 Precautions🧑‍💻 Contributor🔦 Declaration📚 IntroductionRemind you of changes in your listener through email!📸 Screenshots📦 How to useSee example inexample.pyfor more informationinstalllistener_emailbypip install listener_emailthen import it by addingfrom listener_email import sent_email, ListenerEmailadd configuredemail.jsonfile such asexample_email.jsonat repositoryat last usesent_email()to sent your email⏳ Rate of progressDone, but it will revise if necessary📌 Cautionscustom_htmlshould be as simple as possible🧑‍💻 Contributor🔦 DeclarationThis project is licensed under the terms of theMITlicense. SeeLICENSEfor more details
Package: listenpy
ListenPyListenPy - это библиотека для распознавания речи с использованием KaldiRecognizer.Модели VoskВсе модели Vosk:https://alphacephei.com/vosk/modelsЛегкая модель Vosk для русского языка:https://alphacephei.com/vosk/models/vosk-model-small-ru-0.22.zipУстановкаpipinstalllistenpyЗапускpython-mlistenpy
Package: listentoeverything
listentoeverythingScrapes good music off Reddit, makes a spotify playlistInstallation and Usagevia pip:pipinstalllistentoeverythingvia source:gitclonegit@github.com:happykhan/listentoeverything.gitcdlistentoeverythingpipinstall-rrequirements.txtThen run:pythonlistentoeverything/cli.py--config_file<config_file.yml>ConfigurationYou will need to sign up to the Spotify API and reddit API.https://developer.spotify.com/documentation/web-api/https://www.reddit.com/dev/api/They will issue you with various authorisation keys which you need to
specify in the config file (default location is ~/.listen).reddit:client_id:<Your key>client_secret:<Your key>user_agent:listenonspotifyusername:<Your reddit username>password:<Your pass>spotify:username:<Your spotify username>scope:playlist-modify-publicclient_id:<Your key>client_secret:<Your key>redirect_uri:http://localhost/Spotify loginSpotify requires users to authorise 3rd party programs through the website.
Normally the first time you run this script it will open a web browser and redirect you
to spotify, where a user would need to click authorise. Then it will come back to
a redirect URL. As this isn’t a website, I just send it back to localhost.The script will want to know what the URL was, including the code. So copy this
from the address bar and paste in the prompt.The token will be cached for a while so you do not need to do this every time.Licenselistentoeverything is free software under the GNU General Public License v3.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-03-17)First release on PyPI.
Package: listevery
listeveryA Python package which can list contents of directories and subdirectories, without a depth limit!(yes, I know there's os.walk i don't care)UsageRunning the program in the Python shell is a little strange. You can only get the files and directories of the pip package location. Even though it is a little pointless, runpython -m listevery [folder]and you will get a structure similar to this.[folder1] [file1.txt, file2.py]
[] [thing.mp4]I'll explain. The first list (folder1) shows the folders in the directory, and the second list (file1.txt, file2.py) shows the files. Then it will look in the first directory of the first list and show any files or folders availible.
It stops when a folder could not be found.If you want to run this in a Python script, check out the import.py.test usage script in the downloads. This script is a guide to help you run the package by import.Luckily, running listevery in a Python script is so much better. For starters, you can actually get the contents of directories besides the pip package, and the result is given in a lovely and usable list. Ha take that, tree command!
Speaking of lists, listevery can index specific things for you.Here's a few different usages:Get all the files and directories:from listeveryu import listevery
listevery('.', '*')Get specific items:from listevery import listevery
listevery('.', int)Not too hard right?
You may get whitespaces and trailing, but you can probably find a way around that. (ಠuಠ)New updates- Fixed up the Python file to run the module. Gives a less buggy and a usable result!CompatibilityWill work ✔:
  - Windows 7 or above
  - GNU/Linux
  - MacOS

Does not work properly ⚠:
  - Replit
  - Heroku

Will not work ❌:
  - Online compilers (e.g: TutorialsPoint, OnlineGDB)Have issues? Post themhere.
Package: list-fetcher
This is the branch which contain the tool which we use to update ourcentral repository.Installation$ pip3 install --user ultimate-hosts-blacklist-central-repo-updaterUsageThe sript can be called asuhb-central-repo-updater,uhb_central_repo_updaterandultimate-hosts-blacklist-central-repo-updater.usage: uhb_central_repo_updater [-h] [-m] [-p PROCESSES]

The tool to update the central repository of the Ultimate-Hosts-Blacklist
project.

optional arguments:
    -h, --help            show this help message and exit
    -m, --multiprocessing
                            Activate the usage of the multiprocessing.
    -p PROCESSES, --processes PROCESSES
                            The number of simulatenous processes to create and
                            use.

Crafted with ♥ by Nissar Chababy (Funilrys)LicenseMIT License

Copyright (c) 2019 Ultimate-Hosts-Blacklist
Copyright (c) 2019 Nissar Chababy
Copyright (c) 2019 Mitchell Krog

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: list-files-with-timestats
List files recursively, limit the depth of the subdirs, and get the creation and modification times# Tested on windows$pipinstalllist-files-with-timestatsfromlist_files_with_timestatsimportget_folder_file_complete_path,get_folder_file_complete_path_limit_subdirsfolders=[r"C:\Program Files\NVIDIA Corporation"]allfi=get_folder_file_complete_path_limit_subdirs(folders,maxsubdirs=1,withdate=True)# calling this function, you can limit the depth of the subdirs, and get the creation and modification timesforainallfi:print(a)# Listing the files with all subdirsfi=get_folder_file_complete_path(folders=[r'C:\Users\Gamer\anaconda3\bin',r"C:\yolovtest"])forfileinfi[:10]:print(file.folder,file.file,file.path,file.ext)
Package: list-flatten
list-flattenlist-flatten is a Python library used to flatten a list of lists. Works for 2d and 3d lists.InstallationUse the package managerpipto install list-flatten.pipinstalllist-flattenUsageimportlist-flattenasflatten_list2darr# returns 'words'print(flatten_list2darr([[1,2],[3,4,5]]))print(flatten_list3darr([[[1,2],[3,4],[5,6,7]]]))## ContributingPullrequestsarewelcome.Formajorchanges,pleaseopenanissuefirsttodiscusswhatyouwouldliketochange.Pleasemakesuretoupdatetestsasappropriate.## License[MIT](https://choosealicense.com/licenses/mit/)
Package: list-fmt
list-fmtFormat iterables into human readable text.Installationpipinstalllist-fmtBasic Usage>>>fromlistfmtimportjoin_with>>>L=["one","two","three"]>>>join_with(L,join_last=" and ")'one, two and three'>>>>>>fromlistfmtimportstrjoin>>>strjoin(", ",[1,2,3])'1, 2, 3'>>>>>>fromlistimportordered_list>>>print(ordered_list(["one","two","three"],style="A"))A.oneB.twoC.three>>>>>>fromlistfmtimportunordered_list>>>print(unordered_list(["one","two",["a","b"],"three"],recursive=True))*one*two*a*b*three>>>LinksRepositoryDocumentationPyPI
Package: listful
listfulDescriptionEfficient filtering of lists of objectsInstallationpip install listfulUsageInitialize with the fields you want to filter by:>>> from listful import Listful
    >>> data = Listful(
    ...    [{'x': 1, 'y': 10}, {'x': 2, 'y': 20}, {'x': 2, 'y': 30}], 
    ...    fields=['x', 'y']
    ... )(If you don't specify the fields, all the fields whose corresponding values are hashable will be chosen)Filtering:By one field:>>> data.filter(x=1).one_or_none()
  {'x': 1, 'y': 10}
  >>> data.filter(y=20).one_or_none()
  {'x': 2, 'y': 20}By one field, with more than one result:>>> data.filter(x=2).to_list()
  [{'x': 2, 'y': 20}, {'x': 2, 'y': 30}]By two fields:>>> data.filter(x=2, y=30).one_or_none()
  {'x': 2, 'y': 30}Raise exception if more than one found>>> data.filter(x=2).one_or_raise()
  Traceback (most recent call last):
  <...>
  listful.exceptions.MoreThanOneResultException: Found more than one result for filter {'x': 2}: [{'x': 2, 'y': 20}, {'x': 2, 'y': 30}]Get all values for a specific field>>> data.get_all_for_field('x')
  [1, 2, 2]Updating indexes:Listfulhas the same api aslist, so you can get/set/delete items the same way
and the indices will be updated automatically>>> data[0] = {'x': 17, 'y': 17}
    >>> data.filter(x=17).one_or_none()
    {'x': 17, 'y': 17}
    >>> data[0]
    {'x': 17, 'y': 17}
    >>> del data[0]
    >>> data.filter(x=17).one_or_none()If you want to modify an element and update the indices you can do so explicitly:>>> data[0]['x'] = 1
    >>> data.rebuild_indexes_for_item(data[0])
    >>> data.filter(x=1).one_or_none()
    {'x': 1, 'y': 20}Objects:Listful supports also lists of objects:>>> class Item:
    ...     def __init__(self, x, y):
    ...         self.x = x
    ...         self.y = y
    ...
    ...     def __repr__(self):
    ...         return f"Item(x={self.x}, y={self.y})"

    >>> items = Listful(
    ...    [Item(x=1, y=10), Item(x=2, y=20), Item(x=2, y=30)], 
    ...    fields=['x', 'y']
    ... )
    >>> items.filter(x=1).one_or_none()
    Item(x=1, y=10)Here too, if you don't specify the fields, all fields with hashable values will be chosen:>>> items = Listful(
    ...    [Item(x=1, y=10), Item(x=2, y=20), Item(x=2, y=30)], 
    ... )
    >>> items.fields
    ['x', 'y']PerformanceSeescripts/timing.py.A comparison of filtering with listful vs filtering with pandas (with/without index)listfulpandaspandas_with_indexinit7.63e-023.03e-015.24e-02filter:12.07e-051.46e-031.79e-03filter:n2.02e-017.40e+011.54e+0170x faster than pandas with indexing, 360x faster than pandas without indexing.For developersCreate venv and install depsmake initInstall git precommit hookmake precommit_installRun linters, autoformat, tests etc.make pretty lint testBump new versionmake bump_major
make bump_minor
make bump_patchLicenseMITChange LogUnreleased...0.3.0 - 2021-01-17...0.2.1 - 2020-04-08...0.2.0 - 2020-04-08Add support for default fields0.1.3 - 2020-02-14...0.1.1 - 2020-02-12...0.1.0 - 2020-02-12initial
Package: listgits
listgitsPython command line program for listing all git repositories under a folder rootUsage:python listgitsOptions :-h: Show the possible options-s: Short form, not showing non-git folders-l: Show only local repos, which do not have any remotes (includes --s)-r: Show only repos that have remotes (includes --s)-f somestring: Find a local repo by adding a part of the remote url. All matching local repos will be displayed-g commands: Git options, passes the string of options in to git, and runs git with those instead of the default remote commandRead thisblogpostfor more information on how to use it.
Package: list-imports
Installation$[sudo]pipinstalllist-importsExamplesimportlist_importsimports=list_imports.get("file.py")or from string:imports=list_imports.parse(open("file.py").read())cli:$find.-typef-name"*.py"|xargspython-mlist_imports
$find.-typef-name"*.py"|xargspython-mlist_imports|awk-F"."'{print $1}'readme42.com
Package: listinfo
Installation```pip install listinfo```Examplefrom listinfo import listinfosample_list=[1,2,3,4,5,6]ls=listinfo(sample_list)print(ls.liststats())print(ls.listtochunks(chunk=3))print(ls.splitlist(splitval=2))ParamsBelow are few parameters and functions we have to provide according to our requirements:1liststats:(No Parameters Required)Here we get statistics of list. The ouput what we get will be indictfromat.
There will be four values(length,datatype and count,list to tuple,size of list) in the output.length:It shows the length of list.datatype and count:It demonstrates how many types of datatypes and thier count.list to tuple: It is the tuple version of list.memory usage: It shows memory storaged used by list(in bytes).OUTPUT EXAMPLE:{'length': 6, 'datatype and count': {<class 'int'>: 6}, 'list to tuple': (1, 2, 3, 4, 5, 6), 'memory usage': '136 bytes'}2listtochunks(chunk='')DEFAULT VALUE=1It converts list to chunks. chunk is the param,where we have to size of chunk.OUTPUT EXAMPLE:[[1, 2, 3], [4, 5, 6]]3splitlist(splitval='')DEFAULT VALUE=1It splits list to lists of list of size splival.OUTPUT EXAMPLE:[[1, 2], [3, 4], [5, 6]]More Updates Coming Soon...😄ContactI would like to get feedback from the community. If you have feature suggestions, support questions or general comments, please email me atsusmit.vssut@gmail.com
Package: listio
# ListIORead/write lists and maps (two dimensional lists) from/to files.- Lists are stored as plain text files with one list item per line.- Maps (two dimensional lists) are stored as CSV.When reading a list or map, lines starting with a hash sign (`#`) are consideredto be comments and therefore ignored.## InstallationInstall ListIO using pip:```pip install listio```## Usage### Lists#### Writing```pythonimport listiolistio.write_list('mylist.txt',['foo', 'bar', 'baz'])```mylist.txt now contains:```foobarbaz```#### Readingmylist.txt:```First itemsecond itemfoo# this is a commentbar```Read `mylist.txt` as an iterator:```python>>> import listio>>> mylist = listio.read_list('mylist.txt')>>> list(mylist)['First item', 'second item', 'foo', 'bar']```### Maps#### Writing```pythonimport listiolistio.write_map('mymap.csv,[['foo bar', 'baz', 'x'], [1, 2, 3]])```mymap.csv now contains:```foo bar;baz;x1;2;3```The default CSV delimiter is `;` and lineterminator `\n`. You can change this:``` pythonlistio.write_map('mymap.csv,[['foo bar', 'baz', 'x'], [1, 2, 3]],delimiter=',',lineterminator='\r\n')```### Readingmymap.csv:```csvFirst column;"second column";3# this is a comment"next;item,";foo;bar```Read `mymap.csv` as an iterator:```python>>> import listio>>> mymap = listio.read_map('mymap.csv')>>> list(mymap)[['First column', 'second column', '3'], ['next;item,', 'foo', 'bar']]```The default CSV delimiter is `;` and lineterminator `\n`. You can change this:``` python>>> listio.read_map('mymap.csv', delimiter=',', lineterminator='\r\n')```## ExamplesSee [tests/test_listio.py](tests/test_listio.py) for more usage examples.## ContributingSee [NOTICE](./NOTICE) and [LICENSE](./LICENSE) for license information.
Package: listish
A collection of lazy, repeatably consumable list- & tuple-like objects which
wrap any iterator.Home-page:https://github.com/funkyHat/listishAuthor: Matt Wheeler, Connor Shearwood
Author-email:m@funkyhat.orgLicense: Apache 2.0
Description: UNKNOWN
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Package: listlessview
IntroductionThis provides new view,listless, for Plone Folder content type.
It hides the folder listing in the content area, but still shows the folder title and the description.
This is useful when building special layouts.InstallationAdd Dexterity to your buildout.cfghttp://plone.org/products/dexterity/documentation/how-to/installThen add listlessview egg in buildout.
In buildout.cfg:eggs =
        ...
        listlessviewRe-run buildout.UsageInstall add-on.Go to a folder.ChooseListlessfromDisplaymenu.AuthorMikko Ohtamaa.