Saravanan666/pypi-org huggingface dataset:
Package: jellyfinapi
Jellyfin API ClientPython interface to Jellyfin InstanceInstallation1. Clone ProjectClone the project from GitHub:gitclonehttps://github.com/radityaharya/jellyfinapi2. Change Directorycdjellyfinapi3. Install Dependenciespipinstall-rrequirements.txt4. Install Packagepipinstall.Initialize the API ClientNote:Documentation for the client can be foundhere.The following parameters are configurable for the API Client:ParameterTypeDescriptionhttp_client_instanceHttpClientThe Http Client passed from the sdk user for making requestsoverride_http_client_configurationboolThe value which determines to override properties of the passed Http Client from the sdk userhttp_call_backHttpCallBackThe callback value that is invoked before and after an HTTP call is made to an endpointtimeoutfloatThe value to use for connection timeout.Default: 60max_retriesintThe number of times to retry an endpoint call if it fails.Default: 0backoff_factorfloatA backoff factor to apply between attempts after the second try.Default: 2retry_statusesArray of intThe http statuses on which retry is to be done.Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]retry_methodsArray of stringThe http methods on which retry is to be done.Default: ['GET', 'PUT']x_emby_tokenstringAPI key header parameterThe API client can be initialized as follows:fromjellyfinapi.jellyfinapi_clientimportJellyfinapiClientfromjellyfinapi.configurationimportEnvironmentclient=JellyfinapiClient(x_emby_token='api key',server_url="your jellyfin server url",)AuthorizationThis API usesX-Emby-Tokenheader.List of APIsActivity LogApi KeyArtistsAudioBrandingChannelsClient LogCollectionConfigurationDashboardDevicesDisplay PreferencesDlnaDlna ServerDynamic HlsEndpointsEnvironmentFilterGenresHls SegmentImageImage by NameInstant MixItem LookupItem RefreshItemsItem UpdateLibraryLibrary StructureLive TvLocalizationMedia InfoMoviesMusic GenresNotificationsOpen SubtitlesPackagePersonsPlaylistsPlaystatePluginsQuick ConnectRemote ImageScheduled TasksSearchSessionStartupStudiosSubtitleSuggestionsSync PlaySystemTime SyncTmdbTrailersTraktTv ShowsUniversal AudioUserUser LibraryUser ViewsVideo AttachmentsVideosYearsClasses DocumentationUtility ClassesHttpResponseHttpRequest
Package: jellyfin-apiclient-fix-tls
Jellyfin ApiClient PythonThis is the API client from Jellyfin Kodi extracted as a python package so that other users may use the API without maintaining a fork of the API client. Please note that this API client is not complete. You may have to add API calls to perform certain tasks. Please seeContributingbelow.UsageThis client can be installed withpip3 install jellyfin-apiclient-pythonand imported withimport jellyfin_apiclient_python.There is no documentation for this API at this time. For information on how to create a client and
establish a session, please seeclients.pyfrom Jellyfin MPV Shim. For details on what the individual API calls do or how to do a certain task, you will probably find theJellyfin MPV ShimandJellyfin Kodirepositories useful.Changes from Jellyfin KodiRemoval ofwebsocket.py(now a dependency towebsocket_client).Removal of dependencies onhelper(from Jellyfin Kodi) andkodi_six.Addhas_attributedirectly to__init__.py.Add API calls:get_seasonfor fetching season metadata.get_audio_streamto read an audio stream into a filesearch_media_itemsto search for media itemsaudio_urlto return the URL to an audio fileAdd parametersaid=None, sid=None, start_time_ticks=None, is_playback=Trueto API callget_play_info.Add timesync manager and SyncPlay API methods.Remove usage ofsixmodule.Add group ofremote_API calls to remote control another sessionContributingWhen contributing, please maintain backward compatibility with existing calls in the API. Adding parameters is
fine, but please make sure that they have default options to prevent existing software from breaking. Please
also add your changes to theChanges from Jellyfin Kodisection.If you would like to produce documentation for this API, I would also be interested in accepting pull requests
for documentation.
Package: jellyfin-apiclient-python
Jellyfin ApiClient PythonThis is the API client from Jellyfin Kodi extracted as a python package so that other users may use the API without maintaining a fork of the API client. Please note that this API client is not complete. You may have to add API calls to perform certain tasks. Please seeContributingbelow.UsageThis client can be installed withpip3 install jellyfin-apiclient-pythonand imported withimport jellyfin_apiclient_python.There is no documentation for this API at this time. For information on how to create a client and
establish a session, please seeclients.pyfrom Jellyfin MPV Shim. For details on what the individual API calls do or how to do a certain task, you will probably find theJellyfin MPV ShimandJellyfin Kodirepositories useful.Changes from Jellyfin KodiRemoval ofwebsocket.py(now a dependency towebsocket_client).Removal of dependencies onhelper(from Jellyfin Kodi) andkodi_six.Addhas_attributedirectly to__init__.py.Add API calls:get_seasonfor fetching season metadata.get_audio_streamto read an audio stream into a filesearch_media_itemsto search for media itemsaudio_urlto return the URL to an audio fileAdd parametersaid=None, sid=None, start_time_ticks=None, is_playback=Trueto API callget_play_info.Add timesync manager and SyncPlay API methods.Remove usage ofsixmodule.Add group ofremote_API calls to remote control another sessionContributingWhen contributing, please maintain backward compatibility with existing calls in the API. Adding parameters is
fine, but please make sure that they have default options to prevent existing software from breaking. Please
also add your changes to theChanges from Jellyfin Kodisection.If you would like to produce documentation for this API, I would also be interested in accepting pull requests
for documentation.
Package: jellyfish
Overviewjellyfishis a library for approximate & phonetic matching of strings.Source:https://github.com/jamesturk/jellyfishDocumentation:https://jamesturk.github.io/jellyfish/Issues:https://github.com/jamesturk/jellyfish/issuesIncluded AlgorithmsString comparison:Levenshtein DistanceDamerau-Levenshtein DistanceJaro DistanceJaro-Winkler DistanceMatch Rating Approach ComparisonHamming DistancePhonetic encoding:American SoundexMetaphoneNYSIIS (New York State Identification and Intelligence System)Match Rating CodexExample Usage>>>importjellyfish>>>jellyfish.levenshtein_distance('jellyfish','smellyfish')2>>>jellyfish.jaro_similarity('jellyfish','smellyfish')0.89629629629629637>>>jellyfish.damerau_levenshtein_distance('jellyfish','jellyfihs')1>>>jellyfish.metaphone('Jellyfish')'JLFX'>>>jellyfish.soundex('Jellyfish')'J412'>>>jellyfish.nysiis('Jellyfish')'JALYF'>>>jellyfish.match_rating_codex('Jellyfish')'JLLFSH'
Package: jellyfish-chat
UsageSet env variables for chat serviceRunpython run.pyon your server. Chat will be available on endpoint ws://host:port/chatAs soon as you start server there will be connection to redis.
Using chat's endpoint user subscribes to queue, receiving data from it.
Queue's message must be like:{"sender_id": 1, "reciever_ids": [2, 3, 4]}, "message": {"id": 111}}sender_id- required (all messages have sender)reciever_ids- non-required, can be empty list or this field can even not existmessage- non-required, object that will be sent to usersEnv variablesCHAT_HOST- host for running uvicorn applicationCHAT_PORT- post for running uvicorn applicationCHAT_WORKERS- number of workers for uvicorn applicationCHAT_BROKER_HOST- host for redis to subscribe to the queueCHAT_BROKER_PORT- port for redis to subscribe to the queueCHAT_BROKER_DB- db for redis to subscribe to the queueCHAT_CHANNEL_NAME- queue's name to subscribe toCHAT_DJANGO_BASE_URL- base url of django's applicationCHAT_DJANGO_GET_USER_URL- django's endpoint to get current user's informationCHAT_DJANGO_TOKEN_TYPE- jwt token's startCHAT_DJANGO_USER_RESPONSE_ID_FIELD- field for getting user's id after request to CHAT_DJANGO_GET_USER_URLwritten using python 3.9.6
Package: jellyfish-server-sdk
Jellyfish Python Server SDKPython server SDK for theJellyfish Media Server.Read the docshereInstallationpip install jellyfish-server-sdkUsageThe SDK exports two main classes for interacting with Jellyfish server:RoomApiandNotifier.RoomApiwraps http REST api calls, whileNotifieris responsible for receiving real-time updates from the server.RoomApiCreate aRoomApiinstance, providing the jellyfish server address and api tokenfromjellyfishimportRoomApiroom_api=RoomApi(server_address="localhost:5002",server_api_token="development")You can use it to interact with Jellyfish, manage rooms, peers and components# Create a roomjellyfish_address,room=room_api.create_room(video_codec="h264",webhook_url="http://localhost:5000/webhook")# '127.0.0.1:5002', Room(components=[], config=RoomConfig(max_peers=None, video_codec=<RoomConfigVideoCodec.H264: 'h264'>, webhook_url='http://localhost:5000/webhook'), id='1d905478-ccfc-44d6-a6e7-8ccb1b38d955', peers=[])# Add peer to the roomfromjellyfishimportPeerOptionsWebRTCpeer_token,peer_webrtc=room_api.add_peer(room.id,options=PeerOptionsWebRTC())# 'M8TUGhj-L11KpyG-2zBPIo', Peer(id='b1232c7e-c969-4450-acdf-ea24f3cdd7f6', status=<PeerStatus.DISCONNECTED: 'disconnected'>, type='webrtc')# Add component to the roomfromjellyfishimportComponentOptionsHLScomponent_hls=room_api.add_component(room.id,options=ComponentOptionsHLS())# ComponentHLS(id='5f062447-a9f7-45ed-8d1b-511f77dc78ae', properties=ComponentPropertiesHLS(low_latency=False, persistent=False, playable=False, subscribe_mode=<ComponentPropertiesHLSSubscribeMode.AUTO: 'auto'>, target_window_duration=None), type='hls')All methods inRoomApimay raise one of the exceptions deriving fromjellyfish.errors.HTTPError. They are defined injellyfish.errors.NotifierNotifier allows for receiving real-time updates from the Jellyfish Server.You can read more about notifications in theJellyfish Docs.CreateNotifierinstancefromjellyfishimportNotifiernotifier=Notifier(server_address='localhost:5002',server_api_token='development')Then define handlers for incoming messages@notifier.on_server_notificationdefhandle_notification(server_notification):print(f'Received a notification:{server_notification}')@notifier.on_metricsdefhandle_metrics(metrics_report):print(f'Received WebRTC metrics:{metrics_report}')After that you can start the notifierasyncdeftest_notifier():notifier_task=asyncio.create_task(notifier.connect())# Wait for notifier to be ready to receive messagesawaitnotifier.wait_ready()# Create a room to trigger a server notificationroom_api=RoomApi()room_api.create_room()awaitnotifier_taskasyncio.run(test_notifier())# Received a notification: ServerMessageRoomCreated(room_id='69a3fd1a-6a4d-47bc-ae54-0c72b0d05e29')# Received WebRTC metrics: ServerMessageMetricsReport(metrics='{}')TestingYou can test the SDK by runningpoetry run ci_testIn local development you can usepoetry run local_testFormat & LintYou can format code by runningpoetry run formatYou can check linter by runningpoetry run lintCopyright and LicenseCopyright 2023,Software MansionLicensed under theApache License, Version 2.0
Package: jellyfish-wheel
This is a simple fork ofhttps://github.com/jamesturk/jellyfishpackage,
no code change was done, only intention is to provide wheels for linux in pypi.Jellyfish is a python library for doing approximate and phonetic matching of strings.Written by James Turk <dev@jamesturk.net> and Michael Stephens.Seehttps://github.com/jamesturk/jellyfish/graphs/contributorsfor contributors.Seehttp://jellyfish.readthedocs.iofor documentation.Source is available athttp://github.com/jamesturk/jellyfish.Jellyfish >= 0.7 only supports Python 3, if you need Python 2 please use 0.6.x.Included AlgorithmsString comparison:Levenshtein DistanceDamerau-Levenshtein DistanceJaro DistanceJaro-Winkler DistanceMatch Rating Approach ComparisonHamming DistancePhonetic encoding:American SoundexMetaphoneNYSIIS (New York State Identification and Intelligence System)Match Rating CodexExample Usage>>> import jellyfish
>>> jellyfish.levenshtein_distance(u'jellyfish', u'smellyfish')
2
>>> jellyfish.jaro_distance(u'jellyfish', u'smellyfish')
0.89629629629629637
>>> jellyfish.damerau_levenshtein_distance(u'jellyfish', u'jellyfihs')
1>>> jellyfish.metaphone(u'Jellyfish')
'JLFX'
>>> jellyfish.soundex(u'Jellyfish')
'J412'
>>> jellyfish.nysiis(u'Jellyfish')
'JALYF'
>>> jellyfish.match_rating_codex(u'Jellyfish')
'JLLFSH'Running TestsIf you are interested in contributing to Jellyfish, you may want to
run tests locally. Jellyfish usestoxto run tests, which you can
setup and run as follows:pip install tox
# cd jellyfish/
tox
Package: jellyml
JellyMlJellyML is an open-source tool (python API and command line) for effortlessly embedding a snapshot of your code
| into a checkpoint of a pytorch model.
Learn more atjellyml.comStructure of the jellyml repository(Note that the jellyml repository is a monorepo. If you are
reading this from the python package source code,
go to github.com/mmulet/jellyml to see the whole repository)jellyml is the source for the python packagejellyml-lightning is the source for pytorch lightning pluginclient is the source for the websitedev_server is the source for the development server of the websiteBuildjellymlMake a venvpython3-mvenvvenv# activate the venv ( depends on your shell and OS)# see https://docs.python.org/3/library/venv.html# bashsourcevenv/bin/activateInstall buildpipinstallbuildBuild the packagecdjellyml
python-mbuild
pipinstalldist/jellyml-0.0.1-py3-none-any.whljellyml-lightningFollow the directions for building and installing jellyml.
jellyml is a dependency of jellyml-lightning.Build the packagecdjellyml-lightning
python-mbuild
pipinstalldist/jellyml-lightning-0.0.1-py3-none-any.whlWebsiteBuild the websitecdclient
npminstall.cd../dev_server
npminstall.
npmrunbuildDev the websitecdclient
npminstall.cd../dev_server
npminstall.
npmrunbuildTestsLocated in the source files in src/jellyml. Have the prefix test_.
Run them as a modulecdsrc;python3-mjellyml.test_all
Package: jellyml-lightning
JellyMlJellyML is an open-source tool (python API and command line) for effortlessly embedding a snapshot of your code
| into a checkpoint of a pytorch model.
Learn more atjellyml.comStructure of the jellyml repository(Note that the jellyml repository is a monorepo. If you are
reading this from the python package source code,
go to github.com/mmulet/jellyml to see the whole repository)jellyml is the source for the python packagejellyml-lightning is the source for pytorch lightning pluginclient is the source for the websitedev_server is the source for the development server of the websiteBuildjellymlMake a venvpython3-mvenvvenv# activate the venv ( depends on your shell and OS)# see https://docs.python.org/3/library/venv.html# bashsourcevenv/bin/activateInstall buildpipinstallbuildBuild the packagecdjellyml
python-mbuild
pipinstalldist/jellyml-0.0.1-py3-none-any.whljellyml-lightningFollow the directions for building and installing jellyml.
jellyml is a dependency of jellyml-lightning.Build the packagecdjellyml-lightning
python-mbuild
pipinstalldist/jellyml-lightning-0.0.1-py3-none-any.whlWebsiteBuild the websitecdclient
npminstall.cd../dev_server
npminstall.
npmrunbuildDev the websitecdclient
npminstall.cd../dev_server
npminstall.
npmrunbuildTestsLocated in the source files in src/jellyml. Have the prefix test_.
Run them as a modulecdsrc;python3-mjellyml.test_all
Package: jellyserve
JellyServeJellyServe is a simple and flexible web framework written in Python with native support for .svelte files.What works?Routing (dynamic routes, matchers, etc.)Svelte file compilation and populationSimple database integration (alpha)Messages (simpler websockets)What does not work/is planned?Testing utilityWiki through GitHub WikisThe code is spaghetti. But it works. Maybe i will rewrite it in the future.
Package: jellyshuf
jellyshufEssentially implements ncmpcpp's add random feature (default hotkey: `) through a script which grabs info from jellyfin api itself.
jellyfin-mpd (and by proxy jellyfin-mopidy) does not implement the required mpd commands for this ncmpcpp function to work.InstallArch Linux (AUR)paru -S jellyshuf(or any other AUR helper)Any system (pip)pip install jellyshuforgit clone https://github.com/deafmute1/jellyshuf.git
cd jellyshuf
pip install .Usagejellyshuf will asked for required information config info on first run (server url, username, password, cache settings).
Some advanced config options are not exposed viajellyshuf --config. You can edit these manually. You can use--empty-configto generate all options with their defaults at the config location.
The config file is located at$XDG_CONFIG_DIR/jellyshuf/config.json.
The jellyfin password is by default stored to the system keyring if available.Please note there is some time required to fetch items from jellyfin when they have not yet been cached to disk. This is mainly noticable with usingsongs; on large libraries there may be notcable lag even when using disk cache.This program currently requires the optionalbumartistsortin mopidy-jellyfin to be set totrue(this is the default setting).jellyshuf --helpUSAGE: jellyshuf <FLAGS> TYPE NUMBER
    
TYPE is one of artists, albums, songs 
    
FLAGS: 
    --stdout            Instead of adding retrieved paths to mpd queue, emits them to stdout (line separated)
    --interactive|-i    If not in stdout mode, interactively confirms albums before adding them;
                            jellyshuf runs until NUMBER has been added to queue.
    --random|-r         Set mpd to random mode after adding new items
    --start|-s          Start mpd after adding new items
    --clear|-c          Clear mpd queue before adding items
    --config            Run config (overwriting any existing info) then exit
    --empty-config      Generate an empty config file at config location.
    --version           Print version and exit
    --help|-h           Display this message and exit
Package: je-load-density
LoadDensityDocumentationLoadDensity Doc Click Here!Project Kanbanhttps://github.com/orgs/Integration-Automation/projects/2/views/1Load automation.Easy setup user template.Load Density script.Generate JSON/HTML/XML report.1 sec / thousands requests.Fast spawn users.Multi test on one task.Specify test time.OS Independent.Remote automation support.Project & Template support.installpip install je_locust_wrapperrequirepython 3.8 or laterTest onwindows 10 ~ 11osx 10.5 ~ 11 big surubuntu 20.0.4raspberry pi 3B+All test in test dirArchitecture Diagram
Package: je-load-density-dev
LoadDensityDocumentationLoadDensity Doc Click Here!Project Kanbanhttps://github.com/orgs/Integration-Automation/projects/2/views/1Load automation.Easy setup user template.Load Density script.Generate JSON/HTML/XML report.1 sec / thousands requests.Fast spawn users.Multi test on one task.Specify test time.OS Independent.Remote automation support.Project & Template support.installpip install je_locust_wrapperrequirepython 3.8 or laterTest onwindows 10 ~ 11osx 10.5 ~ 11 big surubuntu 20.0.4raspberry pi 3B+All test in test dirArchitecture Diagram
Package: je-mail-thunder
MailThunderDocumentationTODONoticeDefault is using Google service provide, but you can change init setting to choose what service provide you want to use.We need set the mail_thunder_content.json on current working dir.{"user":"example@gmail.com","password":"password"}Set application password:https://support.google.com/accounts/answer/185833Enable IMAP:https://support.google.com/mail/answer/7126229?hl=enProject Kanbanhttps://github.com/orgs/Integration-Automation/projects/2/views/1Quickly Mail automation.SMTP support.IMAP4 support.Mail Thunder script.Automatically output all mail content as a file.Automatically send mail.Automatically send file.OS Independent.Remote automation support.Project & Template support.Detailed log file.Scheduler.installpip install je_mail_thunderRequirespython 3.8 or later
Package: je-mail-thunder-dev
MailThunderDocumentationTODONoticeDefault is using Google service provide, but you can change init setting to choose what service provide you want to use.We need set the mail_thunder_content.json on current working dir.{"user":"example@gmail.com","password":"password"}Set application password:https://support.google.com/accounts/answer/185833Enable IMAP:https://support.google.com/mail/answer/7126229?hl=enProject Kanbanhttps://github.com/orgs/Integration-Automation/projects/2/views/1Quickly Mail automation.SMTP support.IMAP4 support.Mail Thunder script.Automatically output all mail content as a file.Automatically send mail.Automatically send file.OS Independent.Remote automation support.Project & Template support.Detailed log file.Scheduler.installpip install je_mail_thunderRequirespython 3.8 or later
Package: jemawa
_  ___  __  __    _   __      __   _
 _ | || __||  \/  |  /_\  \ \    / /  /_\
| || || _| | |\/| | / _ \  \ \/\/ /  / _ \
 \__/ |___||_|  |_|/_/ \_\  \_/\_/  /_/ \_\

Mentimeter ManipulatorI know this is stupid but its fun, my company using this to vote "something" for a fun event, so I think it will be fun to makes a good laugh for a day in front everyone, so thats it, I create this tools only for fun.This tools is created experimented for the mentimeter platform.DISCLAIMER or USE AT YOUR OWN RISK, These tools should be considered for educational and research purposes only, this tools is made not to violate the law or abuse the system. Any action you take by using this tools is strictly at your own risk. The creator is not responsible for any actionTL;DR version :Click the video to see how it work.How to use ?we publish on pypi, you could run jemawa by install with this commandpip install jemawaafter that you can runjemawacommandjemawa <mentimeter vote page link or menti code> <optional command>examplejemawa https://www.menti.com/alg3v6yduhsrorjemawa 26876868Optional Command list:lsto list all the question alongside with IDslide_idto direct vote to the slideCurrently Slide Type we can spam is:Multiple ChoiceRanking TypeWordcloudOpen EndedScalesQ&A2x2 grid voteCustom page voteNow you can vote on any page not by only presented page, to do this you can run thisjemawa <link> questionsto list the questions, after that get the question ID and run thisjemawa <link> <questionID>so it will continue like normalHow this is work?alright so you want to know, actually you can spam vote by creating a new session or a new identifier to every vote, you know its like whenver you want to vote, just simply open a new private browser, and vote.so this is how program work.We need to get which page is presented by presenterget the content of the vote, ID and labelchoose the ID to vitetell the tools much vote you wantbot will get a new identifier for votingand just vote.What is jemawa ?indonesian word for 'arrogant'Developmentto run the development, use thepython dev.py ..Contributors