Saravanan666/pypi-org huggingface dataset:
Package: onigurumacffi
onigurumacffipython cffi bindings for the oniguruma regex engineinstallationpipinstallonigurumacffiwheels should be available on pypi in most casesto build from source,libonig-devmust be installed prior to installationapithe api is currentlyvery limited(basically just enough to support what I
needed).compile(pattern: str) -> _Patternmake a compiled patterncompile_regset(*patterns: str) -> _RegSetmake a compiled RegSetOnigSearchOptionan enum listing the search-time options for onigurumathe current set of options are:classOnigSearchOption(enum.IntEnum):NONE=...NOTBOL=...NOTEOL=...POSIX_REGION=...CHECK_VALIDITY_OF_STRING=...NOT_BEGIN_STRING=...NOT_BEGIN_POSITION=..._Pattern.match(s: str, start: int = 0, flags: OnigSearchOption = OnigSearchOption.NONE) -> Optional[_Match]match a string using the pattern.  optionally setstartto adjust the offset
which is searched from_Pattern.search(s: str, start: int = 0, flags: OnigSearchOption = OnigSearchOption.NONE) -> Optional[_Match]search a string using the pattern.  optionally setstartto adjust the offset
which is searched from_Pattern.number_of_captures() -> intreturn the number of captures in the regex_RegSet.search(s: str, start: int = 0, flags: OnigSearchOption = OnigSearchOption.NONE) -> Tuple[int, Optional[_Match]]search a string using the RegSet.  optionally setstartto adjust the offset
which is searched fromthe leftmost regex index and match is returned or(-1, None)if there is no
match_Match.group(n: int = 0) -> strreturn the string of the matched group, defaults to 0 (the whole match)_Match[n: int] -> stra shorthand alias for_Match.group(...)_Match.start(n: int = 0) -> intreturn the character position of the start of the matched group, defaults to 0
(the whole match)_Match.end(n: int = 0) -> intreturn the character position of the end of the matched group, defaults to 0
(the whole match)_Match.span(n: int = 0) -> intreturn(start, end)character position of the matched group, defaults to 0
(the whole match)_Match.expand(s: str) -> strexpand numeric groups insvia the groups in the match
Package: onion-gpio-sysfs
gpio-sysfsLibraries to control GPIOs using the sysfs interfaceCompatibilityNow comptatible with all versions of Python !Installpip install onion-gpio-sysfsUsageimport onionGpio

    # instantiate a GPIO object
    gpio0 = onionGpio.OnionGpio(0)
    # set to output direction with zero (LOW) being the default value
    gpio0.setOutputDirection(0)
    # get the vaule
    gpio0.getValue()For further examples look at python/examples/ folder.AuthorWritten byhttps://github.com/greenbreakfastPython3 code adaptation byhttps://github.com/jduplPyPi package byhttps://github.com/grizmin
Package: onion-network
🧅 Onion NetworkOnion-structured networks are special kinds of scale-free networks with special topologies.They tend to possess a high degreeassortativity. It makes it possible to decompose them into layers of same-degree nodes, hence the name.This property gives them strong resilience tonode deletionattacks.This library can help you explore these networks, giving access to both a generation and visualization method.AlgorithmA generative algorithm producing synthetic scale-free networks with onion structure is implemented as described in the paper:Onion structure and network robustness.Note: This algorithm can fail under certain circumstances. Therefore amax_trialnumber has been added so that the process can be tried different times until a viable solution is found.VisualizationA side module allows plotting the generated graphs, radially separating onion layers.UsageInstallationYou can install the package usingpip.pipinstallonion-networkExample# Example usage of the onion generation and plotting.fromonion_networkimportplot_onion,onion_graphG=onion_graph(n=100,gamma=2.5,alpha=3,max_trial=100)plot_onion(G,cmap="tab20b")ReferencesPapersChan, H., & Akoglu, L. (2016). Optimizing network robustness by edge rewiring : A general framework. Data Mining and Knowledge Discovery, 30(5), 1395‑1425.https://doi.org/10.1007/s10618-015-0447-5Chujyo, M., & Hayashi, Y. (2022). Adding links on minimum degree and longest distance strategies for improving network robustness and efficiency. PLOS ONE, 17(10), e0276733.https://doi.org/10.1371/journal.pone.0276733Hayashi, Y. (2018). A new design principle of robust onion-like networks self-organized in growth. Network Science, 6(1), 54‑70.https://doi.org/10.1017/nws.2017.25Liu, X., Sun, S., Wang, J., & Xia, C. (2019). Onion structure optimizes attack robustness of interdependent networks. Physica A: Statistical Mechanics and Its Applications, 535, 122374.https://doi.org/10.1016/j.physa.2019.122374Louzada, V. H. P., Daolio, F., Herrmann, H. J., & Tomassini, M. (2013). Smart Rewiring for Network Robustness. Journal of Complex Networks, 1(2), 150‑159.https://doi.org/10.1093/comnet/cnt010Wu, Z.-X., & Holme, P. (2011, août 9). Onion structure and network robustness. ArXiv.Org.https://doi.org/10.1103/PhysRevE.84.026106Blog articleThe Onion Topology
Package: onionpp
onionppembed tor in your applicationrequirementslinuxlibevent-devliblzma-devlibssl-devlibzstd-devzlib1g-devwindowscpp build tools (visual studio)featuresstart torwith inline configurationpython bindingsusage#include"onionpp.h"intmain(){onionpp::Tortor;// use the tor socks portreturn0;}
Package: onion-proctor
ProctorProctor is an HTTP proxy that will distribute requests across a number of Tor
circuits, in a round-robin fashion.The Tor circuits are monitored for their health and restarted as appropriate.This is highly experimental software that likely misses a lot of corner
cases. The main author is a newbie in the subject matter, and while he had a
lot of fun doing this thing (which works well for his own use), use it at your
own risk.Installation and usageInstallation:$ python setup.py installThis will start proctor on port 8080 with 2 Tor circuits:$ proctorCreditsInspiration came from this article from Sebastian Wain over at Data Big Bang:<http://blog.databigbang.com/distributed-scraping-with-multiple-tor-circuits/>This package is built on top of two awesome projects:pymiproxy (Nadeem Douba)<https://github.com/allfro/pymiproxy>SocksiPy-branch (several people, original author was Dan-Haim)<http://code.google.com/p/socksipy-branch/>
Package: onion-props
__ONION_PROPS__ONION_PROPS is a simple python module meant to simplify interaction with java .properties files.It provides the benefit of being able to parse properties hierarchically to provide a more robust way of storing and using properties.Currently it provides the ability to:* load properties from a file (and interact with it as you would a normal dictionary)* interact (add/delete/edit) with properties* save properties to a fileONION_PROPS also supports comments, you can specify whether or not to include comments within any interactor method as well as whether or not to include a timestamp.USAGE:To import base parser class:```from onion_props.onion_props import PropParser```NOTE:To add properties to the parser object, it is advised that you also import:```from onion_props.onion_props import Property, Properties```As they are the custom data storage classes PropParser uses.It is possible to add properties as standard dictionary key-values, but in order to add comments, you must import the `Property` class.Changelog (Onion_props)=======================0.2.1------- Changed name from prop_parser to onion_parser to accommodate for pypi0.2.2------- Removed integrated modules from install_requires to allow proper installation0.2.3------ Fixed another dumb error so that now installation can actually be achieved
Package: onions
onionOnions have layersGo through all the layers of an onionfind each onion layerimportonionsonions.have_layers.a.b.c.d...here_it_is()see what's there at the end...If you're a CHEATERimportonionsonions.have_layers.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.congratulations.you.just.wasted.your.time.but.heres.a_message.for_you.here_it_is()credits for this useless moduleHYKANTUS
Package: onion-server
Onion-Server - Dot-Onion and hidden services manager and clientOnion-Server provides a client for fast and easy hidden services management. Used for managing services in one session. Services include (.onion) deep web hosting on a local machine.Installationpython-mpipinstallonion-serverOS SupportLinuxRequirementsonion-server requires tor services. Tor can be download usingapt$aptinstalltorUSAGERunning Onion-Server$sudoonion# or$sudopython-monion_serverTo run onion-server, typesudo onionorsudo python -m onion_serverin the terminal and run.COMMANDSserver$server.<command>start- start serverstop- stop serverscan- scan server for unrecorded changesreboot| restart - restart or reboot servertor$tor.<command>start- start tor servicestop- stop tor servicehttp$http.<command>start- start http servicestop- stop http serviceweb$web.<command>info- display web services statusdir[ path ] - set new web files dir$web.dir<path>set[ status ] - set web status$web.set<command>online- set web service onlineoffline- set web service offlineconfig$config.<command>del- delete config filecreate- create the config fileOthers$<command>reset- reset serverscan- update all running services on the serverstatus- display server services statushelp- display help messageupdate- update onion-serverexit- quit serverNOTICE:In case of any error or information email me.eirasmx@pm.me:- Change Log -:0.0.1-- [ 13 JUNE 2023 ][ NOTICE ][ ! ] - Initial Release0.0.2-- [ 06 JULY 2023 ][ ADDED ][+] Config file delete[+] Config file create[+] Server reset[+] Server restart[ FIXED ][+] Hostname unchanged after error0.0.3-- [ 07 JULY 2023 ][ NOTICE ][+] Readme Update[ ADDED ][+] Help Command[+] Update Command
Package: onion-w1-sysfs
w1-sysfsOne Wire protocol library using the sysfs interfaceCompatibilityNow comptatible with all Python 3 versions.Installpip install onion-w1-sysfsUsageOneWire# python
    Python 3.6.9 (default, Dec 06 2019, 16:28:06)
    [GCC 7.3.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from OneWire import OneWire
    >>> w1 = OneWire(0)
    >>> w1.read_device()
    ['85 01 4b 46 7f ff 0c 10 31 : crc=31 YES\n', '85 01 4b 46 7f ff 0c 10 31 t=24312\n']
    >>> w1.read_device()[1].split('=')[1].rstrip()
    '24312'
    >>>AuthorPyPi package byhttps://github.com/grizmin
Package: onipkg-api
OniDev's Helper Para Consumo das API'sRetorna objeto json da requisição das API's trabalhadas até o momento.Como testar sua contribuíção antes de enviar uma PRPrimeiramente faça a desinstalação do pacote presente em suavenv.pipuninstallonipkg_apiApós a desinstalação, instale o pacote atráves do código fonte modificado.pipinstall-e<path>/onipkg_api/Teste a implementação feita em um projeto terceiro ou até mesmo usando os códigos de teste disponíveis. Após testar o código atual faça a desinstalação do pacote novamente.pipuninstallonipkg_apiApós o teste crie sua PR e envie para avaliação.
Se deseja que sua PR vire uma nova release, não se esqueça de mudar nosetup.pyna opção version adicione o nome da
próxima versão proposta para o pacote.Como criar uma nova release do projetoUma vez que sua contribuição for aprovada via PR você está preparado para criar uma nova release do projeto.O primeiro passo é criar uma nova tag com base no commit que foi aprovado. Para isso na branch master execute o comando:gittag-a<tag_name>-m"<comentário descritivo da tag>"Exemplos detag_name:v1.2,v1.2.3ouv1.2-betaCom a tag criada faça o seu envio para o repositório noGitHub.gitpushorigin<tag_name>Com a tag enviada podemos seguir para a criação de uma release.
Essa pode ser criada diretamente pelo github com os seguintes passos:Vá no repositório do projeto no GitHub na aba Code.Acesse o menu Releases presente, normalmente, no lado direito.Clique na opção Tags para ver a listagem de tags.Clique nos três pontinhos a direita na tag que você acabou de criar.Selecione a opção create release.Adicione um nome na release (pode ser o mesmo nome da tag) e uma descrição para as novas features da tag.
Package: onium
Onium is a small utility to inject Hebrew support (automatic RTL) into
Slack’s desktop app. Onium does this by modifying Slack’s app.asar
(Slack application code) and changes the Slack app itself.What is Onium?Onium fixes one of Slack’s most glaring issues for users in countries
whose script is written Right-to-left. It does so by injecting code into
Slack that modifies the displayed text to correctly show Right-to-left
words.The Slack app is built using Electron, which essentially wraps a
Chromium browser and a Node.js server together. Onium modifies the HTML
displayed by the Chromium browser to properly support Hebrew (and RTL)
languages.Onium does this by modifying Slack’s internal code (creating a “Fixed”
solution), until Slack adds a new update.RequirementsYou need Python 2.7 or 3.5 or later to run Onium. Onium should work on
Windows, Mac and Linux.Quick startOnium can be installed using pip:$ python -m pip install oniumAs long as python’s scripts folder is in your path, simply run$ oniumUsageOnium supports various command line parametersusage: onium [-h] [-l LOCATION] [--no-kill] [--no-start] [-b BACKUP]
                   [-f] [-d]

Inject hebrew support plugin into Slack's tab inside an electron app. This
program injects the Chrome's hebrew_slack plugin into any electron (desktop)
version of the slack app

optional arguments:
  -h, --help            show this help message and exit
  -l LOCATION, --location LOCATION
                        Location of application to run, or auto, local
                        (Windows only), store (Windows only) [default: auto]
  --no-kill             Do not attempt to kill original application before
                        starting
  --no-start            Do not attempt to start application (assume already
                        running)
  -b BACKUP, --backup BACKUP
                        Name to use save original slack app backup. This will
                        never overwrite an existing backup file. Fails if file
                        already exists and not used with -f [default:
                        app.asar.orig]
  -f, --force           Proceed even if backup file already exists [default:
                        False]
  -d, --debug           Pass --remote-debugging-port=9222 to enable rendered
                        debugger with chromeContribute / Join the conversationOnium is an open-source project distributed under the MIT license.
Basically means go wild.Development is taking place athttps://github.com/yonatan-mitmit/oniumPlease report issueshereLicenseOnium is licensed under the terms of the MIT License (see the file
LICENSE.txt).AcknowledgementShlomi Matichin for hisslack_hebrewpluginYuval Raz and Lital Lechtman for Mac port and testingAmi Chayun for Linux port
Package: onixcheck
Onixcheck - Book Trade Metadata ValidationIntroductionONIX for Booksis an international XML
standard for the publishing and book trade industry.onixcheckis a Python library and command line tool for validating ONIX
metadata. It allows you to validate ONIX versions 2.1 and 3.0.8 against the
official XML Schema.Free software: BSD licenseInstallationOn Windows you can download the standalone binary command line tool:onixcheck-0.9.7_win.zipIf you have Python or PyPy installed on your system you can do the usual:pip install onixcheckQuickstartCommand line usage examplesValidate all .xml, .onx, .onix files in current directory:onixcheckValidate a single onix file:onixcheck myonixfile.xmlValidate all .xml files in /onixdata and its subdirectories:onixcheck --path /onixdata --ext xml --recursiveShow help:onixcheck -hUsing onixcheck as a python libSimple usage withonixcheck.validate:>>>importonixcheck>>>errors=onixcheck.validate('src/onixcheck/data/invalid_onix3_ref.xml')>>>print(errors[0].short)ERROR - SCHEMASV - invalid_onix3_ref.xml:4:0 - Element 'SentDateTime': This element is not expected. Expected is ( Sender ).errorsis either a list ofMessageobjects (INVALID file) or an empty list (VALID file)Documentationhttps://onixcheck.readthedocs.org/DevelopmentTo run the all tests run:toxContributions/suggestions are welcome.Changelog0.9.7 (2021-09-29)Update Onix 3 to Revision 8 and Code List issue 540.9.6 (2019-05-26)Python 3.6 and 3.7 compatibilityUpdate Onix 3 to Revision 6 and Code List issue 450.9.5 (2016-08-19)Update Onix 3 to Code List issue 34Remove build artifacts from source distribution0.9.4 (2016-07-15)Fix issue with windows console output encodingUpdate windows build to pyinstaller 3.10.9.3 (2016-05-10)Update ONIX 3.0 Schemas to Revision 3Add support for RELAX NG and custom schema validationsAdded validator name to short message output0.9.2 (2016-04-11)Fix ExtentType in custom validation profileFix false alarm with multiple Price elements in custom profile0.9.1 (2016-04-11)Inital support for custom validation profilesCustom Google Play Books onix 3.0 validation profile0.9.0 (2016-03-27)Added Python 3.5 testing / supportUpdate to ONIX to Code List Issue 32 / 2016-01-240.8.1 (2015-07-23)More extensive documentation0.8.0 (2015-07-23)Added CLI-support for fast directory traversal validationSecured XML-Parsing via defusedxmlCatch basic XML syntax errorsWindows standalone binary builds0.4.0 (2015-07-18)First release on PyPI.
Package: onkyrimote
onkyrimoteA python-library and command line utility for controlling Onkyo receivers that support the RI protocol.Installationonkyrimote can be installed via pip.pipinstallonkyrimote
onkyrimote--helpYou may also check-out the repository and set thePYTHONPATH=.environment variable set.# inside the checked-out repository directoryPYTHONPATH=.onkyrimote--helpUsageWith a Raspberry Pionkyrimote is modular, but currently only supportspigpiomeaning that your receiver has to be connected to a Raspberry Pi. Thanks to pigpiod you can run onkyrimote directly on the Pi or on another computer, if the Pi is reachable via network [1].You’ll need the pigpio python library to continue. You can (and should) install it with your systems package manager (e.g.apt install python3-pigpioon Debian, Raspbian, and Raspberry Pi OS) or you may also use pip (pip install pigpio).If you havesuccessfully connected your receiver to your Raspberry Pithe following command should turn it on. In case you have a different device, this command might not work. You can look at the onkyrimote help –onkyrimote --help– for a list of supported devices. Contributions with new devices are welcome too!onkyrimote--gpio17--deviceonkyo_txsr304power_onIf you want use onkyrimote via the network, you can set thePIGPIO_ADDRandPIGPIO_PORTenvironment variables. The following command does the same as above but pigpiod is running on a host with the IP-Address192.168.0.16and on port8765(instead of the default8.8.8.8):PIGPIO_ADDR=192.168.0.16PIGPIO_PORT=8765onkyrimote--gpio17--deviceonkyo_txsr304power_on[1]: Many distributions start pigpiod in a way that it cannot be reached via network, but only locally. If that is the case for you, you can edit the corresponding systemd unit. Runsystemctl edit pigpiodand include the following configuration in the editor that is opened:[Service]
ExecStart=
ExecStart=/usr/bin/pigpiodWith another platformNo other backends have been implemented yet. Feel free to contribute one!AcknowledgementsThanks go out to theonkyo-rpiandonkyo-riprojects that have similar goals and have been used for reference!
Package: onlaw-api-client
onlaw_api_clientpython client for api.onlaw.dkinstallationstd usagesimplypip install onlaw_api_clientFor a minimal example seeexamples/query.pydevelopmentclone the repo :git clone https://github.com/Onlaw/onlaw_api_client.gitvenv:python3 -m venv venvactivate:source venv/bin/activateupdate dependencies:pip-compile requirements.dev.in > requirements.dev.txtinstall:pip install -r requirements.dev.txtsync dependencies:pip-sync requirements.dev.txtinstall onlaw api client from local source:pip install -e .install pre-commit hooks:pre-commit installnew dependenciesAdd them tosetup.pyininstall_requires.To generate a newrequirements.txt:pip-compiletesting packagebuild package (remember if neccesary to change version insetup.py):make pypitestcreate new venv and activate it, and install package:pip install --index-url https://test.pypi.org/simple/ onlaw_api_client --upgrade --extra-index-url https://test.pypi.org/simple/ --no-deps. Note the--no-depsarguments which prevent dependencies to be installed. test.pypi does not have all packages and hence installation from test.pypi most likely fail.publish new packagebump version number insetup.pymake pypiprod
Package: onlineafspraken
Onlineafspraken.nl API clientAPI client for onlineafspraken.nlFree software: MIT licenseDocumentation:https://onlineafspraken.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-06-23)First release on PyPI.
Package: onlinebrief24
Installationpip install onlinebrief24Beispieleimportonlinebrief24c=onlinebrief24.Client('email@example.com','secret_password')c.login()c.upload('/tmp/filename1.pdf',duplex=False,color=False)c.upload('/tmp/filename2.pdf',registered='insertion',envelope='c4')c.disconnect()with-statementwithonlinebrief24.Client('email@example.com','secret_password')asc:c.upload('/tmp/filename1.pdf',duplex=False,color=False)c.upload('/tmp/filename2.pdf',registered='insertion',envelope='c4')Optionen für BriefOptionWerteVorbelegungBeschreibungcolorTrueFalseTrueFarbdruck ja/neinduplexTrueFalseTrueDuplexdruck ja/neinenvelopedin_langc4din_langUmschlagformat. DIN lang oder C4.distributionautonationalinternationalautoVersandzone. Automatisch, National, InternationalregisteredNoneinsertionstandardpersonalNoneEinschreiben: Nein, Einwurf-Einschreiben, Standard-Einschreiben, Einschreiben eigenhändigpayment_slipNonenationalsepaNoneZahlschein: Kein Zahlschein, Inlands-Zahlschein, SEPA-ZahlscheinCopyrightMIT License
Package: onlineChange
The 'onlineChange' python packageThe onlineChange python package is designed to quickest detect any change in distributions for online streaming data, supporting any user-specified distributions. It supports sequential Monte Carlo to perform Bayesian change point analysis, where theparameters before or after the change can be unknown. It also supports likelihood ratio based test to determine the stopping time (i.e. when change occurs).This is still an ongoing project by a group of researchers from the University of Minnesota. The published software here is an initial version that is ready to use.For questions and references, please contact Jie Ding atdingj@umn.eduA Quick Setup GuideGetting Started1. Install the 'onlineChange' package using pip# Installing test packagepython-mpipinstallonlineChange2. Import the Model and Experiment API classesfromonlineChangeimportstat,bayes,bayes_unknown_preUsing This PackageA quick guide of package can be foundhereAcknowledgmentThis research is funded by the Defense Advanced Research Projects Agency (DARPA) under grant number HR00111890040.