Saravanan666/pypi-org huggingface dataset:
Package: jankflix
Jankflix===============A graphical user interface (GUI) and command line interface (CLI) for easily downloading tv shows favorite video linking and video hosting sites.Want to watch episode 2 of season 3 of Avatar the Last Airbender?Using either the CLI or the GUI you can do this faster than possible in a browser, and you get to keep the file afterward!The key is a couple very important abstraction layers that makes the program both relatively reliable amid the shifting sands of changing website layouts.* **Link sites** are the term we've given to websites like 1channel.ch and tv-links.eu that provide links to websites which host the files.* **Host sites** are the websites which actually host the sites. Currently supported host sites include: putlocker, and gorillavid among others.Adding support for another host site is as easy as creating a class in the host site folder, which is integrated automatically into the framework.The benifits of this approach include:* Easy to add support for new sites* Robust against layout changes of a host site* Host site code is reused between link site callsInstallation------------* Clone the repository and run setup.py. This installs the jankflix package, plus provides two callable commands: **jankflix** and **cjankflix*** Verify that the default media players for opening flv, mp4, and avi files are what they should be. Media players which handle incomplete video files are preferred as the files will be streaming from a site.* From there, just run:$ jankflix[gui pops up]or alternatively:$ cjankflixWhat show do you want to watch: avatar0 : Watch Avatar: The Last Airbender (2005)Automatically choosing Watch Avatar: The Last Airbender (2005)Accessing show pageSeasons:  1, 2, 3Which season do you want to watch: 2Which episode do you want to watch: 3Do you want to (0) save or (1) run the episode: 1Run with which program? (vlc): [press enter or alternatively enter another media player](from here, the program should start downloading the fileanother option:$ cjankflix -s 2 -e 3 -c vlc avatarNote: This library requires BeautifulSoup, PyQt4
Package: jankigen
JANKIGENGenerate Anki decks from Japanese textFeaturesCLI and GUIGenerate decks from directoriesGenerate deck from single text fileCard order is shuffled to prevent text understanding (enabled by default)Kanji card and Word cardsKanji cards are ordered to be before corresponding word cardsCustom user dictionariesLimitations/Known issuesIt is sloooow (some library i'm using don't fit this purpose, there is quite a work to do for this)RequirementsPython 3.7+InstallpipinstalljankigenExample commands:# Decks are generated in the same folder of the parsed file/directory# Run GUI modejankigen# Generate one anki deck for this filejankigentext_file.txt# Generate one anki deck for each filejankigendirectory_with_txts--disable_shuffle_card--enable_deck_per_text_file--disable_gen_global_deck_for_all_filesjankigen --help

usage: jankigen [-h] [--disable_shuffle_card [DISABLE_SHUFFLE_CARD]] [--enable_deck_per_text_file [ENABLE_DECK_PER_TEXT_FILE]]
                [--disable_gen_global_deck_for_all_files [DISABLE_GEN_GLOBAL_DECK_FOR_ALL_FILES]]
                [--user_dict USER_DICT] [--user_dict_en USER_DICT_EN]
                path

Generate anki deck from file

positional arguments:
  path                  File or directory with text files

optional arguments:
  -h, --help            show this help message and exit
  --disable_shuffle_card [DISABLE_SHUFFLE_CARD]
                        Shuffles cards to prevent text understanding/spoiler
  --enable_deck_per_text_file [ENABLE_DECK_PER_TEXT_FILE]
                        If searching in a directory, create an anki file for each text file found
  --disable_gen_global_deck_for_all_files [DISABLE_GEN_GLOBAL_DECK_FOR_ALL_FILES]
                        Generate a global deck for all text files
  --user_dict USER_DICT
                        Simplified janome dictionary. A csv file as <surface form>,<part-of-speech>,<reading>
  --user_dict_en USER_DICT_EN
                        Match entries of user_dict with corresponding translations. <surface
                        form>,<reading>,<english_translation>Buildpython presetup.py
python setup.py sdist
Package: janomecabdic
This is an add-on package for janomehttps://mocobeta.github.io/janome/.Janome can use compiled dictionaries for MeCabhttps://taku910.github.io/mecab/via janomecabdic.RequirementsMeCab and MeCab dictionary (utf-8 encoded)Python 3.5+Cython and C++ (optional)janomeInstrationInstall MeCab and MeCab dictionary.
(e.g.: Ubuntu/Debian)sudo apt install mecab mecab-ipadic-utf8Install C++ compiler and Cython
(e.g.: Ubuntu/Debian),
as you like.sudo apt install build-essential
pip install cythonInstall janome and janomecabdic.pip install janome janomecabdicExample (use /etc/mecabrc defined dictionary)Sample code>>> from janome.tokenizer import Tokenizer
>>> from janomecabdic import MeCabDictionary
>>> t = Tokenizer()
>>> t.sys_dic = MeCabDictionary()
>>> for token in t.tokenize('すもももももももものうち'):
...     print(token)
...
すもも  名詞,一般,*,*,*,*,すもも,スモモ,スモモ
も      助詞,係助詞,*,*,*,*,も,モ,モ
もも    名詞,一般,*,*,*,*,もも,モモ,モモ
も      助詞,係助詞,*,*,*,*,も,モ,モ
もも    名詞,一般,*,*,*,*,もも,モモ,モモ
の      助詞,連体化,*,*,*,*,の,ノ,ノ
うち    名詞,非自立,副詞可能,*,*,*,うち,ウチ,ウチNeologd example (tokenize with a specific dictionary)Install Neologd (e.g. Ubuntu/Debian)sudo apt install mecab mecab-ipadic-utf8 libmecab-dev
git clone --depth 1 git@github.com:neologd/mecab-ipadic-neologd.git
cd mecab-ipadic-neologd
echo `mecab-config --dicdir`"/mecab-ipadic-neologd"
./bin/install-mecab-ipadic-neologd -nSample code>>> from janome.tokenizer import Tokenizer
>>> from janomecabdic import MeCabDictionary
>>> t = Tokenizer()
>>> t.sys_dic = MeCabDictionary('/usr/lib/mecab/dic/mecab-ipadic-neologd')
>>> for token in t.tokenize('8月3日に放送された「中居正広の金曜日のスマイルたちへ」(TBS系)で、1日たった5分でぽっこりおなかを解消するというダイエット方法を紹介。キンタロー。のダイエットにも密着'):
...     print(token)
...
8月3日  名詞,固有名詞,一般,*,*,*,8月3日,ハチガツミッカ,ハチガツミッカ
に      助詞,格助詞,一般,*,*,*,に,ニ,ニ
放送    名詞,サ変接続,*,*,*,*,放送,ホウソウ,ホーソー
さ      動詞,自立,*,*,サ変・スル,未然レル接続,する,サ,サ
れ      動詞,接尾,*,*,一段,連用形,れる,レ,レ
た      助動詞,*,*,*,特殊・タ,基本形,た,タ,タ
「      記号,括弧開,*,*,*,*,「,「,「
中居正広の金曜日のスマイルたちへ        名詞,固有名詞,一般,*,*,*,中居正広の金曜日のスマイルたちへ,ナカイマサヒロノキンヨウビノスマイルタチヘ,ナカイマサヒロノキンヨービノスマイルタチヘ
」(     記号,一般,*,*,*,*,」(,*,*
TBS     名詞,固有名詞,一般,*,*,*,TBS,ティービーエス,ティービーエス
系      名詞,接尾,一般,*,*,*,系,ケイ,ケイ
)       記号,一般,*,*,*,*,),*,*
で      助動詞,*,*,*,特殊・ダ,連用形,だ,デ,デ
、      記号,読点,*,*,*,*,、,、,、
1日     名詞,固有名詞,一般,*,*,*,1日,ツイタチ,ツイタチ
たった  副詞,助詞類接続,*,*,*,*,たった,タッタ,タッタ
5分     名詞,固有名詞,一般,*,*,*,5分,ゴフン,ゴフン
で      助詞,格助詞,一般,*,*,*,で,デ,デ
ぽっこりおなか  名詞,固有名詞,一般,*,*,*,ぽっこりおなか,ポッコリオナカ,ポッコリオナカ
を      助詞,格助詞,一般,*,*,*,を,ヲ,ヲ
解消    名詞,サ変接続,*,*,*,*,解消,カイショウ,カイショー
する    動詞,自立,*,*,サ変・スル,基本形,する,スル,スル
という  助詞,格助詞,連語,*,*,*,という,トイウ,トユウ
ダイエット方法  名詞,固有名詞,一般,*,*,*,ダイエット方法,ダイエットホウホウ,ダイエットホウホー
を      助詞,格助詞,一般,*,*,*,を,ヲ,ヲ
紹介    名詞,サ変接続,*,*,*,*,紹介,ショウカイ,ショーカイ
。      記号,句点,*,*,*,*,。,。,。
キンタロー。    名詞,固有名詞,一般,*,*,*,キンタロー。,キンタロー,キンタロー
の      助詞,連体化,*,*,*,*,の,ノ,ノ
ダイエット      名詞,サ変接続,*,*,*,*,ダイエット,ダイエット,ダイエット
に      助詞,格助詞,一般,*,*,*,に,ニ,ニ
も      助詞,係助詞,*,*,*,*,も,モ,モ
密着    名詞,サ変接続,*,*,*,*,密着,ミッチャク,ミッチャク
Package: janos
This is a package for the solver JANOS. You can find additional details onJANOS's website.Release History·janos 0.0.9`:Updates:fix bugs when discretizing the logistic regression function.janos 0.0.5:Updates:includes examples and data files;automatically install required packages;janos 0.0.4: JANOS's initial release. Released on Nov 8, 2019.
Package: janrain-python-api
Python interface to theJanrain CaptureAPI.InstallDownload and install the most recent stable version usingpip:pip install janrain-python-apiTo use the unstable developement version, download the package by cloning the git repository:git clone https://github.com/janrain/janrain-python-api.git
cd janrain-python-api
python setup.py installBasic UsageLow-Level API CallsUsejanrain.capture.Apito make low-level calls to the API.fromjanrain.captureimportApidefaults={'client_id':"YOUR_CLIENT_ID",'client_secret':"YOUR_CLIENT_SECRET"}api=Api("https://YOUR_APP.janraincapture.com",defaults)result=api.call("entity.count",type_name="user")print(result)ExceptionsExceptions are derived fromJanrainApiExceptionwhich includes error
responses from the API. A try/catch bock should wrap any functions or methods
that call the Janrain API.importsysfromjanrain.captureimportApi,ApiResponseErrorfromrequestsimportHTTPErrordefaults={'client_id':"YOUR_CLIENT_ID",'client_secret':"YOUR_CLIENT_SECRET"}api=Api("https://YOUR_APP.janraincapture.com",defaults)try:result=api.call("entity.find",type_name="user")exceptApiResponseErroraserror:# Janrain API returned an error responsesys.exit(str(error))exceptHTTPErroraserror:# Python 'requests' library returned an errorsys.exit(str(error))Argument ParserThe library includes a subclass of the Pythonargparseconfigured to
accept credentials for authenticating with the Janrain API. This can be used to
simplify passing in credentials in custom command-line scripts.fromjanrain.captureimportcliparser=cli.ApiArgumentParser()args=parser.parse_args()api=parser.init_api()Which can then invoke from the command-line as follows:python myscript.py  --api-url=[YOUR_CAPTURE_URL] \
                    --client-id=[YOUR_CLIENT_ID] \
                    --client-secret=[YOUR_CLIENT_SECRET] \Command-Line UtilityThe package installs an executable namedcapture-apifor making
API calls from the command-line.Authenticate with the API by passing--api-url,--client-id,
and--client-secret, then pass the API call, and then any parameters to
send to the API as key=value pairs after the--parametersargument.ExamplesPassing the authentication credentials:capture-api --api-url=[YOUR_CAPTURE_URL] \
            --client-id=[YOUR_CLIENT_ID] \
            --client-secret=[YOUR_CLIENT_SECRET] \
            entity.count --parameters type_name=userEnclose JSON values in single outer-quotes and double inner-quotes:capture-api --api-url=[YOUR_CAPTURE_URL] \
            --client-id=[YOUR_CLIENT_ID] \
            --client-secret=[YOUR_CLIENT_SECRET] \
            entity.find --parameters type_name=user \
            attributes='["displayName","email"]'Enclose filters in double outer-quotes and single inner-quotes:capture-api --api-url=[YOUR_CAPTURE_URL] \
            --client-id=[YOUR_CLIENT_ID] \
            --client-secret=[YOUR_CLIENT_SECRET] \
            entity.find --parameters type_name=user \
            filter="email = 'demo@janrain.com' and birthday is null"VersioningThis software follows Semantic Versioning convention.http://semver.org/Copyright © 2014 Janrain, Inc. All Rights Reserved.
Package: jansbckernel
jansbckernelA very simple and dirty jupyter kernel forGNU bc.
This kernel is a work in progress, so far variables and functions do not carry over to later cells.Dev Installationinstall bc from your distro's package managerdownload/clone this projectopen shell in project folder and install dev buildpip install -e ./then install kernelspecjansbckernelorjupyter kernelspec install --user jansbckernelUninstalljupyter kernelspec uninstall jansbckernelpip uninstall jansbckernel
Package: janscalckernel
janscalckernelA simple and robust jupyter kernel implementation ofcalc, because sometimes you just want to calculate.Installationinstall calc from your distro's package manager or fromhere.get the kernel module via pippip install janscalckernelthen install kernelspecjanscalckernelDev Installationdownload/clone this projectopen shell in project folderpip install -e ./jupyter kernelspec install --user janscalckernelUninstalljupyter kernelspec uninstall janscalckernelpip uninstall janscalckernel
Package: jansevakernel
jansevakernelA jupyter kernel implementation ofeva.Installationinstall eva (i.e. from the Arch community repository)get the kernel module via pippip install jansevakernelthen install kernelspecjansevakernelDev Installationdownload/clone this projectopen shell in project folderpip install -e ./jupyter kernelspec install --user jansevakernelUninstalljupyter kernelspec uninstall jansevakernelpip uninstall jansevakernel
Package: janssqlitekernel
janssqlitekernelA simple SQLite3 kernel for jupyter.
Created using IPython's kernel and pexpect's REPLWrapper subclasses.
You cannot span commands over multiple inputs.
If you forget a semicolon at the end, the kernel will append it for you.
This feature is disabled for the SQLite dot-commands.Installationinstall SQLite3 from your distro's package managerget the kernel module via pippip install janssqlitekernelthen install kernelspecjanssqlitekernelDev Installationdownload/clone this projectopen shell in project folderpip install -e ./jupyter kernelspec install --user janssqlitekernelUninstalljupyter kernelspec uninstall janssqlitekernelpip uninstall janssqlitekernel
Package: janus
Mixed sync-async queue, supposed to be used for communicating between
classic synchronous (threaded) code and asynchronous (in terms ofasyncio) one.LikeJanus godthe queue
object from the library has two faces: synchronous and asynchronous
interface.Synchronous is fully compatible withstandard queue, asynchronous one
followsasyncio queue design.Usage example (Python 3.7+)importasyncioimportjanusdefthreaded(sync_q:janus.SyncQueue[int])->None:foriinrange(100):sync_q.put(i)sync_q.join()asyncdefasync_coro(async_q:janus.AsyncQueue[int])->None:foriinrange(100):val=awaitasync_q.get()assertval==iasync_q.task_done()asyncdefmain()->None:queue:janus.Queue[int]=janus.Queue()loop=asyncio.get_running_loop()fut=loop.run_in_executor(None,threaded,queue.sync_q)awaitasync_coro(queue.async_q)awaitfutqueue.close()awaitqueue.wait_closed()asyncio.run(main())Usage example (Python 3.5 and 3.6)importasyncioimportjanusloop=asyncio.get_event_loop()defthreaded(sync_q):foriinrange(100):sync_q.put(i)sync_q.join()asyncdefasync_coro(async_q):foriinrange(100):val=awaitasync_q.get()assertval==iasync_q.task_done()asyncdefmain():queue=janus.Queue()fut=loop.run_in_executor(None,threaded,queue.sync_q)awaitasync_coro(queue.async_q)awaitfutqueue.close()awaitqueue.wait_closed()try:loop.run_until_complete(main())finally:loop.close()Communication channelsGitHub Discussions:https://github.com/aio-libs/janus/discussionsFeel free to post your questions and ideas here.gitter chathttps://gitter.im/aio-libs/LobbyLicensejanuslibrary is offered under Apache 2 license.ThanksThe library development is sponsored by DataRobot (https://datarobot.com)
Package: janus-client
JanusWebRTC gateway Python async client.Installpipinstalljanus-clientRequires Python >=3.7 <3.11NOTE:MacBook Air M1 macOS Ventura requires Python >=3.8DescriptionEasily send and share WebRTC media through Janus WebRTC server.This client is usingaiortcfor WebRTC communication and subsequentlyPyAVfor media stack.✅ Features ✅Connect to Janus server using:WebsocketHTTPAuthentication with shared static secret (API key) and/or stored tokenSupport Admin/Monitor API:Generic requestsConfiguration related requestsToken related requestsSupport Janus plugins:EchoTest pluginVideoCall plugin (Please refer toeg_videocall_in.pyandeg_videocall_out.py)VideoRoom pluginSimple interfaceMinimum dependencyExtendable Janus transportExamplesSimple Connect And Disconnectimportasynciofromjanus_clientimportJanusSession,JanusEchoTestPlugin,JanusVideoRoomPlugin# Protocol will be derived from base_urlbase_url="wss://janusmy.josephgetmyip.com/janusbasews/janus"# ORbase_url="https://janusmy.josephgetmyip.com/janusbase/janus"session=JanusSession(base_url=base_url)plugin_handle=JanusEchoTestPlugin()# Attach to Janus sessionawaitplugin_handle.attach(session=session)# Destroy plugin handleawaitplugin_handle.destroy()This will create a plugin handle and then destroy it.Notice that we don't need to call connect or disconnect explicitly. It's managed internally.Make Video Callsimportasynciofromjanus_clientimportJanusSession,JanusVideoCallPluginfromaiortc.contrib.mediaimportMediaPlayer,MediaRecorderasyncdefmain():# Create sessionsession=JanusSession(base_url="wss://janusmy.josephgetmyip.com/janusbasews/janus",)# Create pluginplugin_handle=JanusVideoCallPlugin()# Attach to Janus sessionawaitplugin_handle.attach(session=session)# Prepare username and media streamusername="testusernamein"username_out="testusernameout"player=MediaPlayer("desktop",format="gdigrab",options={"video_size":"640x480","framerate":"30","offset_x":"20","offset_y":"30",},)recorder=MediaRecorder("./videocall_record_out.mp4")# Register myself as testusernameoutresult=awaitplugin_handle.register(username=username_out)# Call testusernameinresult=awaitplugin_handle.call(username=username,player=player,recorder=recorder)# Wait awhile then hangupawaitasyncio.sleep(30)result=awaitplugin_handle.hangup()# Destroy pluginawaitplugin_handle.destroy()# Destroy sessionawaitsession.destroy()if__name__=="__main__":try:asyncio.run(main())exceptKeyboardInterrupt:passThis example will register to the VideoCall plugin using usernametestusernameout. It will then call the user registered using the usernametestusernamein.A portion of the screen will be captured and sent in the call media stream.
The incoming media stream will be saved intovideocall_record_out.mp4file.Documentationhttps://janus-client-in-python.readthedocs.io/ExperimentsFFmpeg support for VideoRoom plugin has now been moved toexperimentsfolder, together with GStreamer support.
Package: janus-core
janus-coreTools for machine learnt interatomic potentialsDevelopmentInstallpoetry(Optional) Create a virtual environmentInstalljanus-corewith dependencies:gitclonehttps://github.com/stfc/janus-corecdjanus-core
pipinstall--upgradepip
poetryinstall--withpre-commit,dev,docs# install extra dependenciespre-commitinstall# install pre-commit hookspytest-v# discover and run all testsLicenseBSD 3-Clause LicenseFundingContributors to this project were funded by
Package: janus-dtnaas
Janus ControllerA container (Portainer Docker) controller with profiles for common Data Transfer
Node (DTN) capabilities. Support DTN-as-a-Service deployments.Build Instructionspython -m buildUpload to PyPi usingtwine upload dist/*Install Instructionsgit clone https://github.com/esnet/janus.git
cd janus
pip3 install -e .
Package: janusexp
InstallThis repository is based purely on notebooks and creates the
installation package following below described development procedure.pipinstalljanusexpHow to use this repo without code developmentexample notebooks can be stored innotebooks, they then will be
added to the automatically generated documentation.I will soon add an exampleexamplenotebook, so that you can see
the best layout for it. :)How to developOne time installation procedure for the required toolschange to environment you are developing in (conda/venv/whatever)pip install nbdevcd janus-nbexposurenbdev_install_hooks# to enable automatic cleaning of notebooks
at commit for this reponbdev_install_quartoto install the quarto documentation tools (or
install it yourself, seehttps://quarto.org/docs/get-started/index.html)This requiressudo, you can either trust it, I checked it, or
install the quarto tools yourself from above link, e.g. via a
tarball that doesn’t require sudo).pip install -e .# to install the source codes into your current
Python env in ‘editable mode’Regular develop procedureMake changes in notebooks in thenotebooks folder only, following
the rules ofnbdevThings we want to offer as an API for the tool users should go tonotebooks/apifolder.nbdev_prepare# to export notebooks into python library, and
clean notebooksIf any new files were added:git add *git commit -m "commit message"git push
Package: janus-gateway
Python client forJanus.devSetup avenv:$mkvirtualenvjanus(janus)$pipinstall-e.[test]and test it:(janus)$py.testtest/--covjanus--cov-reportterm-missing--pep8usageTypical usage is to create a representation of your JanusPlugin:classMyPlugin(janus.Plugin):name='janus.plugin.krazyeyezkilla'defsup(self,greets)self.send_message({'wat':greets})my_plugin=MyPlugin()setup aSession:session=janus.Session('ws://127.0.0.1',secret='janusrocks')session.register_plugin(my_plugin)keep it alive:session_ka=janus.KeepAlive(session)session_ka.daemon=Truesession_ka.start()and then use your plugin:my_plugin.sup('dawg')releaseTests pass:py.testtest/--covjanus--cov-reportterm-missing--pep8so update__version__injanus.py. Commit and tag it:gitcommit-am"release v{version}"gittag-av{version}-m"release v{version}"gitpush--tagsandtraviswill publish it topypi.
Package: janus-highvar
Janus provides Wyrmwood High Variancedicedice roller functions. These dice maintain the same average roll as "standard" Dungeons and Dragons dice, but they have individual values skewed towards higher or lower rolls. Janus utilizes a random selector to roll the dice.These dice are intended for "do or die" situations, where the party will either succeed or fail in heroic fashion.In order to use the functions:janus [d4|d6|d8|d10|d12|d20|d100]
Package: janus-llm
OverviewJanus (janus-llm) uses LLMs to aid in the modernization of legacy IT systems. The repository can currently do the following:Chunk code of over 100 programming languages to fit within different model context windows and add to aChromavector database.Translate from one programming language to another on a file-by-file basis using an LLM with varying results (with thetranslate.pyscript).Translate from a binary file to a programming language using Ghidra decompilation.Do 1-3 with a CLI tool (janus).RoadmapPrioritiesScripts interacting with Chroma Vector DB for RAG translation and understanding.Evaluation of outputs in CLI using LLM self-evaluation or static analysis.Installationpipinstalljanus-llmInstalling from SourceClone the repository:gitclonegit@github.com:janus-llm/janus-llm.gitNOTE: Make sure you're using Python 3.10 or 3.11.Then, install the requirements:curl-sSkLhttps://install.python-poetry.org|python-exportPATH=$PATH:$HOME/.local/bin
poetryinstallContributingSee ourcontributing pages
Package: janusmskit
Python Microservices LibraryPyMS, Python MicroService, is aMicroservice chassis patternlike Spring Boot (Java) or Gizmo (Golang). PyMS is a collection of libraries, best practices and recommended ways to build
microservices with Python which handles cross-cutting concerns:Externalized configurationLoggingHealth checksMetricsDistributed tracingPyMS is powered byFlask,ConnexionandOpentracing.Get started withInstallationand then get an overview with theQuickstart.DocumentationTo know how to use, install or build a project see thedocs.Installationpipinstallpy-ms[all]QuickstartSee ourquickstart webpageCreate a project from scaffoldSee ourCreate a project from scaffold webpageHow To contributeWe appreciate opening issues and pull requests to make PyMS even more stable & useful! SeeThis docfor more details.