Saravanan666/pypi-org huggingface dataset:
Package: iwort
Iwort - An intelligent Wortiwort is a Python library for advanced text processing and linguistic analysis. Utilizing modern machine learning techniques, Iwort aims to provide tools that are both powerful and accessible, making it an ideal choice for both researchers and developers in the field of natural language processing.InstallationpipinstalliwortUsageimportIwort# Example usage# This will be replaced with actual usage examplesContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.LicenseMIT
Package: iw-parse
iw_parseParse the output of iwlist scan to get the name, address, quality, channel, and encryption type of all networks broadcasting within your Wireless NIC's reach.Dependenciespip- If you don't have pip installed, followed the link.Installationpipinstalliw_parseUsageiwlist<INTERFACE_NAME>scan|iw_parseReplace<INTERFACE_NAME>with the system name for your wireless NIC. It is usually something likewlan0. The commandiwconfigwill list all of your network interfaces.Example:iwlistwlan0scan|iw_parseThe result should look something like:Name             Address             Quality   Channel   Encryption
wireless1        20:AA:4B:34:2C:F5   100 %     11        WEP
wireless2        00:26:F2:1E:FC:03    84 %     1         WPA v.1
wireless3        00:1D:D3:6A:3C:60    66 %     6         WEP
wireless4        20:10:7A:E5:02:98    64 %     1         WEP
wireless5        CC:A4:62:B7:D2:B0    54 %     8         WPA v.1
wireless6        30:46:9A:53:3C:76    47 %     11        WPA v.1
wireless7        A0:21:B7:5F:84:B0    44 %     11        WEP
wireless8        04:A1:51:18:E8:E0    41 %     6         WPA v.1Example from Python shell:>>>importiw_parse>>>networks=iw_parse.get_interfaces(interface='wlan0')>>>printnetworks[{'Address':'F8:1E:DF:F9:B0:0B','Channel':'3','Encryption':'WEP','Name':'Francis','Bit Rates':'144 Mb/s','Signal Level':'42','Name':'Francis','Quality':'100'},{'Address':'86:1B:5E:33:17:D4','Channel':'6','Encryption':'Open','Bit Rates':'54 Mb/s','Signal Level':'72','Name':'optimumwifi','Quality':'100'},...AcknowledgementsThe vast majority of iw_parse was written by Hugo Chargois.Licenseiw_parse is free--as in BSD. Hack your heart out, hackers.
Package: iwPiWeather
Installation:You can either get the source code and include it in your application
manlually, or use can use pip instead.pip install iwPiWeatherOr depending on your raspberry config for python3 you might need to runpip3 install iwPiWeatherUse example:Include your package, define the pins and initialize the threadimport iwPiWeather

displayPinout = { "rs": 22, "en": 17, "d7": 18, "d6": 23, "d5": 24, "d4": 25 }
weather = iwPiWeather.weatherDisplay(apiKey='passyouroowmapikey', poolRate=120, dispPins=displayPinout, autoStart=True)You can pass the following arguments in the constructor:apiKey- Required field, you need to provide the OpenWeatherMap API
key.poolRate- Time to wait between each call to the OpenWeatherMap
API.dispPins- Layout of the display pins connectionautoStart- If this is toggled off, the thread will start in sleep
mode, and no calls will be made until the thread is manually started.The created weather object will be actually a thread that runs in the
background. So you can integrate this functionality in your application,
this will run as a background process in a separate thread.You can temporarily pause the display update thread by callingweather.stopWatch()which will allow you for example to stop pooling
and displaying the weather data on the display and use the display for
something else in your integration.To restart the thread and keep reprinting the weather data you can useweather.startWatch()To stop the thread and cleanup the object you can callweather.stopThread(). This will kill the thread and you can safely
stop the application.
Package: iw.recipe.cmd
WARNING: This package is deprecated. You should usecollective.recipe.cmdContentsChange historytrunk (2008-04-22)0.3 (2008-04-22)0.2 (2008-04-22)Detailed DocumentationSupported optionsExample usageContributorsDownloadCode repository:https://ingeniweb.svn.sourceforge.net/svnroot/ingeniweb/iw.recipe.cmd/trunkQuestions and comments tosupport@ingeniweb.comReport bugs athttp://trac.ingeniweb.com/Change historytrunk (2008-04-22)xxx [Ingeniweb]0.3 (2008-04-22)apply last version of the recipe template
[gawel]0.2 (2008-04-22)run commands in one process
[gawel]win32 tests compat
[gawel]Detailed DocumentationSupported optionsThe recipe supports the following options:on_installtrue if the commands must run on installon_updatetrue if the commands must run on updatecmdsa set of command linesshella valid interpreter (POSIX only)Example usageWe need a config file:>>> cfg = """
... [buildout]
... parts = cmds
...
... [cmds]
... recipe = iw.recipe.cmd
... on_install=true
... cmds= %s
... """

>>> test_file = join(sample_buildout, 'test.txt')
>>> cmds = 'echo "bouh" > %s' % test_file
>>> write(sample_buildout, 'buildout.cfg', cfg % cmds)Ok, so now we can touch a file for testing:>>> print system(buildout)
Installing cmds.

>>> 'test.txt' in os.listdir(sample_buildout)
TrueAnd remove it:>>> test_file = join(sample_buildout, 'test.txt')
>>> if sys.platform == 'win32':
...    cmds = 'del %s' % test_file
... else:
...    cmds = 'rm -f %s' % test_file
>>> write(sample_buildout, 'buildout.cfg', cfg % cmds)

>>> print system(buildout)
Uninstalling cmds.
Installing cmds.

>>> 'test.txt' in os.listdir(sample_buildout)
FalseWe can run more than one commands:>>> if sys.platform == 'win32':
...     cmds = '''
... echo "bouh" > %s
... del %s
... ''' % (test_file, test_file)
... else:
...     cmds = '''
... echo "bouh" > %s
... rm -f %s
... ''' % (test_file, test_file)

>>> test_file = join(sample_buildout, 'test.txt')
>>> if sys.platform == 'win32':
...     cmds = 'del %s' % test_file
... else:
...     cmds = 'rm -f %s' % test_file
>>> write(sample_buildout, 'buildout.cfg', cfg % cmds)

>>> print system(buildout)
Updating cmds.

>>> 'test.txt' in os.listdir(sample_buildout)
FalseWe can also run some python code:>>> cfg = """
... [buildout]
... parts = py py2
...
... [py]
... recipe = iw.recipe.cmd:py
... on_install=true
... cmds=
...   >>> sample_buildout = buildout.get('directory', '.')
...   >>> print sorted(os.listdir(sample_buildout))
...   >>> os.remove(os.path.join(sample_buildout, ".installed.cfg"))
...   >>> print sorted(os.listdir(sample_buildout))
... [py2]
... recipe = iw.recipe.cmd:py
... on_install=true
... cmds=
...   >>> def myfunc(value):
...   ...     return value and True or False
...   >>> v = 20
...   >>> print myfunc(v)
... """

>>> write(sample_buildout, 'buildout.cfg', cfg)Ok, so now we run it:>>> print system(buildout)
Uninstalling cmds.
Installing py.
['.installed.cfg', 'bin', 'buildout.cfg', 'develop-eggs', 'eggs', 'parts']
['bin', 'buildout.cfg', 'develop-eggs', 'eggs', 'parts']
Installing py2.
TrueContributorsGael PasgrimaudDownload
Package: iw.recipe.fetcher
ContentsWhat is iw.recipe.fetcher ?How to use iw.recipe.fetcher ?What is iw.recipe.fetcher ?Download an url to a local directory.How to use iw.recipe.fetcher ?The recipe download from an http server:>>> server_data = tmpdir('server_data')
>>> write(server_data, 'file1.txt', 'test1')
>>> write(server_data, 'file2.txt', 'test1')
>>> write(server_data, 'file3.txt', 'test1')

>>> server_url = start_server(server_data)We need some buildout vars:>>> write('buildout.cfg', '''
... [buildout]
... parts=test1
...
... [test1]
... recipe=iw.recipe.fetcher
... urls=
...       %(server_url)s/file1.txt
... base_url=%(server_url)s
... files=
...       file2.txt
...       file3.txt
... ''' % dict(server_url=server_url))Now we can fetch some urls:>>> print system(buildout)
Installing test1.
<BLANKLINE>It works:>>> ls(sample_buildout, 'test1')
- file1.txt
- file2.txt
- file3.txt


>>> write('buildout.cfg', '''
... [buildout]
... parts=test2
...
... [test2]
... recipe=iw.recipe.fetcher
... urls=
...   http://www.example.com/file1.txt
... find-links=%(server_url)s
... ''' % dict(server_url=server_url))Now we can fetch some urls:>>> print system(buildout)
Uninstalling test1.
Installing test2.
<BLANKLINE>
Package: iw.recipe.template
ContentsWhat is iw.recipe.template ?How to use iw.recipe.template ?What is iw.recipe.template ?iw.recipe.template is a zc.buildout recipe to build template based
file/scriptsIt also provide some recipe to build Zope2, Zope3 and Squid vhosts config
file for apache.How to use iw.recipe.template ?We need a buildout config file:>>> server = start_server(test_dir)

>>> write(sample_buildout, 'buildout.cfg',
... """
... [buildout]
... parts = template.txt
...
... [template.txt]
... recipe = iw.recipe.template
... source = %s/template.txt_impl
... destination = %s/
... """ % (sample_buildout, sample_buildout))And a template:>>> template = join(sample_buildout, 'template.txt_impl')
>>> open(template, 'w').write('''My template is named "$name"''')Then, the recipe should work:>>> print system(buildout)
Installing template.txt.
template.txt: Generated file 'template.txt'.Here is the result:>>> print open(join(sample_buildout, 'template.txt')).read()
My template is named "template.txt"Now we can generate an executable:>>> write(sample_buildout, 'buildout.cfg',
... """
... [buildout]
... parts = script
...
... [script]
... recipe = iw.recipe.template:script
... source = %s/template.py_impl
... destination = %s/
... """ % (sample_buildout, sample_buildout))We need a small template with a python script:>>> template = join(sample_buildout, 'template.py_impl')
>>> open(template, 'w').write('''
... import sys
... print 'this is the script named "$name"'
... ''')Run buildout again:>>> print system(buildout)
Uninstalling template.txt.
Installing script.
script: Generated script 'script'.Here is the result:>>> print open(join(sample_buildout, 'script')).read()
#!/.../bin/python
<BLANKLINE>
import sys
print 'this is the script named "script"'
<BLANKLINE>

>>> print system(join(sample_buildout, 'script'))
this is the script named "script"
Package: iw.sql
ContentsWhat is iw.sql ?How to use iw.sql ?What is iw.sql ?iw.sql provides a zope 3 utility on the top of z3c.sqlalchemy one, with
some extra features:when a SQL server is restarted, any session in memory will fail on next
query. iw.sql prevents it by providing a session wrapper that knows
how to relaunch itHow to use iw.sql ?Explain here how the package is used. Points to doctests here !
Package: iw.subscriber
ContentsWhat is iw.subscriber ?How to use iw.subscriber ?buildout configurationWhat is iw.subscriber ?This package allow Plone users to subscribe to contents. Then they will be
notified on all creation/modification on this contents.How to use iw.subscriber ?You need a clock server. Add something like this to your zope.conf:<clock-server>
  # path_to_plone_site is the real path to your plone site
  method /path_to_plone_site/iw_subscriber_tick
  period 60
  user admin
  password xxx
  # You need your *real* host here
  host www.example.com
</clock-server>Or if you have a Virtual Host:<clock-server>
  # path with a VirtualHost. same as apache.
  method /VirtualHostBase/http/www.example.com:80/portal/VirtualHostRoot/iw_subscriber_tick
  period 60
  user admin
  password xxx
</clock-server>buildout configurationIf you use buildout, you just need to add the clock server part in the
zope-conf-additional section of your plone.recipe.zope2instance.In addition you can use the iw.recipe.sendmail to send mails via zope.sendmail
(an asynchronous mail queue system).Here is a simple example:[buildout]
parts=
  zopeinstance
  mailer

[zopeinstance]
recipe=plone.recipe.zope2instance
...
zope-conf-additional=
  <clock-server>
    method /portal/iw_subscriber_tick
    period 60
    user admin
    password xxx
  </clock-server>

[mailer]
recipe=iw.recipe.sendmail
zope2location=${zopeinstance:location}
host=smtp.example.com
Package: iw.subversion
ContentsWhat is iw.subversion ?svn_check_sourceWhat is iw.subversion ?This package contains helpers for SVN integration.
To install it, just run:$ python setup.py installsvn_check_sourceIn a community project, opened to various contributors, there are a few things
to take care of in order not to break the code. I am not talking about
code reviewing but about bad code editing that brakes it all.Most frequent errors are:<tab> insertions, that get mixed with space-based indentationcarriage return insertion, before line feeds with some weird windows editorsInstead of tracking the developers that commited such things,
and send them an army of white rabbits, an automatic code check
is way better. It is not a good idea though, to clean up incoming code.
The best thing to do is to block unwanted changes and warn the
commiters, so they learn about it.iw.subversionprovides asvn_check_sourceconsole script to do it.
This script has to be called in the pre-commit hook script
(look up in SVN documentation). The call should look like:svn_check_source "$REPOS" "$TXN" || exit 1
Package: iw.updatezope
ContentsWhat is iw.updatezope ?How to use iw.updatezope ?What is iw.updatezope ?This package is used to upgrade a version with a new buildout.>>> clean_buildout()
>>> ls(buildout)
binHow to use iw.updatezope ?Given a tarball you have previously prepared withiw.releaser, you
can useiw.updatezopeto practice a safe upgrade:>>> from iw.updatezope.update_zope import main
>>> main(my_tarball, buildout)
Starting deployement
Copying the tarball to the distant server
Stopping Zope
Making a backup
Deploying...
Relaunching

>>> ls(buildout)
DEPLOYED.txt
binYou can even do it through ssh, as long as your user has the rights,
and the proper environement:>>> clean_buildout()
>>> main(my_tarball, buildout, '127.0.0.1')
Starting deployement
Copying the tarball to the distant server
Stopping Zope
Making a backup
Deploying...
RelaunchingBe careful to have a ssh-key properly configured, otherwise you will
have tons of password prompts here !
Package: iwut
iWutFriendlier tracebacks, collapsing frames with library code, inline variable values, and adding context.Installationpip install iwutNotebook%load_ext iwutGlobal Usage:You can turn on wut globally to catch and re-render all tracebacks.%wut onYou can likewise turn off wut with%wut off.Case-by-case Usage:Once you hit an error, you can use wut to retroactively re-parse the exception. For example, you may have the following> 1/0
---------------------------------------------------------------------------
ZeroDivisionError                         Traceback (most recent call last)
/tmp/ipykernel_165/2354412189.py in <module>
----> 1 1/0

ZeroDivisionError: division by zeroIn the next cell, simply use the line magic%wutThis will pretty print a friendlier traceback. You can alternatively, prepend the cell magic on a faulty cell, like this:%%wut
1 / 0
Package: iwwb.eventlist
Project id:iwwb.eventlistAuthor:NiteoWeb Ltd., Syslab.com GmbHURL:http://www.iwwb.de/Docs:http://readthedocs.org/iwwbeventlistSource:https://github.com/collective/iwwb.eventlistFramework:Plone 4.1SummaryThis package provides a Plone interface to the event search offered byInfoWeb Weiterbildung.
It makes use of their web interfaces described athttp://www.iwwb.de/wss/sucheIWWBServer.phpSeeIWWB creditsfor more information about the
content provider.This package will be useful mostly to German users, as it explicitly targets a German site.An example of where this package is used (with further UI customizations) can be seen on the German sitegefaehrdungsbeurteilung.de.Changelog0.2.2 (2014-11-04)When sorting by date, don’t choke on empty date [pysailor]0.2.1 (2012-10-31)Minor correction in the docs [pysailor]Added EU-date sorting for the results, credits tohttp://datatables.net/plug-ins/sorting,
author: Robert Sedovsek [pysailor]Bugfix for the default start date [pysailor]0.2 (2012-10-30)Unescape HTML entities in the results [pysailor]0.1 (2012-10-23)Initial release.
[jcerjak, plamut, zupo, pysailor]LicenseCopyright (c) 2012, NiteoWeb Ltd.
All rights reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.Neither the name of NiteoWeb Ltd. nor the names of its contributors may
be used to endorse or promote products derived from this software
without specific prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL NITEOWEB LTD. BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Package: iwx
iwxis a collection of enhanced controls for wxPythonMini-DemosPlot module# -*- coding: utf-8 -*-
"""
Plotting in wxPython like Matplotlib
"""

import numpy as np
import wx
from iwx.plot import Figure, Axes


def test():
    n = 100 # Number of points
    x = np.linspace(0,3*np.pi,n)
    y1 = np.cos(x) + np.random.random(n)
    y2 = np.sin(x) + np.random.random(n)

    fig = Figure()
    ax = fig.add_axes()
    ax.plot(x,y1, color="#00ffff", legend="Y1", width=2)
    ax.plot(x,y2, color="#ff00ff", legend="Y2", width=3)
    ax.set_xlabel("X")
    ax.set_ylabel("y")
    ax.set_title("Graphics")
    ax.grid()
    ax.legend()
    fig.show()

if __name__ == '__main__':
    app = wx.App()
    test()
    app.MainLoop()and obtains:InstallationUsing pippip install iwx
Package: ixai
ixai: Incremental Explainable Artificial IntelligenceThis is the first iteration of our incremental explanation package.Currently, it includes two explanation methods: PFI and SAGE.Please look at the examples in theexamplesdirectory.Please help us in improving our work by contributing or pointing to issues. We will update this iteration soon with further information.🛠 Installationixaiis intended to work withPython 3.8 and above. Installation can be done viapip:pipinstallixai📊 QuickstartBasic Classification>>>fromriver.metricsimportAccuracy>>>fromriver.ensembleimportAdaptiveRandomForestClassifier>>>fromriver.datasets.synthimportAgrawal>>>fromixai.explainerimportIncrementalPFI>>>stream=Agrawal(classification_function=2)>>>feature_names=list([x_0forx_0,_instream.take(1)][0].keys())>>>model=AdaptiveRandomForestClassifier(n_models=10,max_depth=10,leaf_prediction='mc')>>>incremental_pfi=IncrementalPFI(...model_function=model.predict_one,...loss_function=Accuracy(),...feature_names=feature_names,...smoothing_alpha=0.001,...n_inner_samples=5...)>>>training_metric=Accuracy()>>>for(n,(x,y))inenumerate(stream,start=1)...y_pred=model.predict_one(x)# inference...training_metric.update(y,y_pred)# update score...incremental_pfi.explain_one(x,y)# explaining...model.learn_one(x,y)# learning...ifn%1000==0:...print(f"{n}: Accuracy:{training_metric.get():.3f}, PFI:{incremental_pfi.importance_values}")1000:Accuracy:0.785,PFI:{'age':0.22,'elevel':0.18,'zipcode':-0.07,'salary':0.04,'commission':0.05,'loan':-0.06,'car':0.02,'hyears':0.03,'hvalue':0.03}2000:Accuracy:0.841,PFI:{'age':0.26,'elevel':0.21,'zipcode':-0.01,'salary':0.02,'commission':0.03,'loan':-0.02,'car':0.02,'hyears':0.04,'hvalue':0.02}3000:Accuracy:0.921,PFI:{'age':0.28,'elevel':0.24,'zipcode':-0.00,'salary':0.00,'commission':0.01,'loan':-0.01,'car':0.01,'hyears':0.01,'hvalue':0.00}
Package: ixau-pyexos
pyexospyexos is a config manipulation utility for Extreme Networks devices, which enables the theory of config merge and replace.Installation$pipinstall-egit+https://github.com/ixaustralia/pyexos#egg=pyexosUsagefrompyexosimportEXOSdevice=EXOS(ip='10.0.0.1',username='dev',password='dev')device.get_running_config()
Package: ixbrlparse
ixbrl-parseA python module for getting useful data out of iXBRL™ and XBRL™ files. The library is at an early stage - feedback and improvements are very welcome.Full documentation is available atixbrl-parse.readthedocs.ioFor more about the iXBRL™ and XBRL™ standards, see thespecification siteandXBRL International. This tool is not affiliated with XBRL International.ChangelogRequirementsThe module requiresBeautifulSoupandlxmlto parse the documents.word2numberis used to process the
numeric items with thenumsenwordsformat.How to installYou can install from pypi using pip:pip install ixbrlparseHow to useYou can run the module directly to extract data from an iXBRL™ file.ixbrlparseexample_file.html# orpython-mixbrlparseexample_file.htmlWhile primarily designed for iXBRL™ files, the parser should also work
for XBRL™ files.The various options for using this can be found through:python-mixbrlparse-h# optional arguments:#   -h, --help            show this help message and exit#   --outfile OUTFILE     Where to output the file#   --format {csv,json,jsonlines,jsonl}#                         format of the output#   --fields {numeric,nonnumeric,all}#                         Which fields to outputYou can also use as a python module (seethe documentationfor more details)DevelopmentThe module is setup for development usinghatch.Run testsTests can be run withpytest:hatchruntestTest coverageRun tests then report on coveragehatchruncovRun tests then run a server showing where coverage is missinghatchruncov-htmlRun typing checkshatchrunlint:typingLintingRuff should be run before committing any changes.To check for any changes needed:hatchrunlint:styleTo run any autoformatting possible:hatchrunlint:fmtRun all checks at oncehatchrunlint:allPublish to pypihatchbuild
hatchpublish
gittagv<VERSION_NUMBER>
gitpushoriginv<VERSION_NUMBER>AcknowledgementsDeveloped byDavid KaneofKane Data LtdOriginally developed for a project withPower to Changelooking at how to extract data from
financial documents of community businesses.Thanks to the following users for their contributions:@avyfain@wcollinscw@ajmarks@adobrinevski@JWFBXBRL™ and iXBRL™ are trademarks of XBRL International, Inc. All rights reserved.The XBRL™ standards are open and freely licensed by way of the XBRL International License Agreement. Our use of these trademarks is permitted by XBRL International in accordance with the XBRL International Trademark Policy.