Saravanan666/pypi-org huggingface dataset:
Package: inne
iNNEiNNE - Isolation-based anomaly detection using nearest-neighbor ensembles.Based on the paper:Tharindu R., et al.Isolation-based anomaly detection using nearest-neighbor ensembles.Computational Intelligence (2018)Matlab code of iNNE:https://github.com/zhuye88/iNNEIntroduction to the paper:https://www.jianshu.com/p/379a5898beb6Abstract of the paper:The first successful isolation-based anomaly detector, ie, iForest, uses
trees as a means to perform isolation. Although it has been shown to
have advantages over existing anomaly detectors, we have identified 4
weaknesses, ie, its inability to detect local anomalies, anomalies with
a high percentage of irrelevant attributes, anomalies that are masked by
axis-parallel clusters, and anomalies in multimodal data sets. To
overcome these weaknesses, this paper shows that an alternative
isolation mechanism is required and thus presents iNNE or isolation
using Nearest Neighbor Ensemble. Although relying on nearest neighbors,
iNNE runs significantly faster than the existing nearest neighbor-based
methods such as the local outlier factor, especially in data sets having
thousands of dimensions or millions of instances. This is because the
proposed method has linear time complexity and constant space
complexity.Documentation, including tutorials, are available on ReadTheDocs athttps://inne.readthedocs.io.InstallingPyPI install, presuming you have an up to date pip.pipinstallinneFor a manual install of the latest code directly from GitHub:pipinstallgit+https://github.com/xhan97/inne.gitAlternatively download the package, install requirements, and manually run the installer:wgethttps://codeload.github.com/xhan97/inne/zip/refs/heads/masterunzipinne-master.ziprminne-master.zipcdinne-masterpipinstall-rrequirements.txtpythonsetup.pyinstallHow to use iNNEThe inne package inherits from sklearn classes, and thus drops in neatly
next to other sklearn  with an identical calling API. Similarly it
supports input in a variety of formats: an array (or pandas dataframe) of shape(num_samples x num_features).frominneimportIsolationNNEfromsklearn.datasetsimportmake_blobsdata,_=make_blobs(1000)clf=IsolationNNE(n_estimators=200,max_samples=16)clf.fit(data)anomaly_labels=clf.predict(data)Running the TestsThe package tests can be run after installation using the command:pipinstallpytestor, ifpytestis installed:pytestinne/testsIf one or more of the tests fail, please report a bug athttps://github.com/xhan97/inne/issuesPython VersionPython 3  is recommend  the better option if it is available to you.CitingIf you have used this codebase in a scientific publication and wish to
cite it, please use the following publication (Bibtex format):@article{bandaragoda2018isolation,title={Isolation-based anomaly detection using nearest-neighbor ensembles},author={Bandaragoda, Tharindu R and Ting, Kai Ming and Albrecht, David and Liu, Fei Tony and Zhu, Ye and Wells, Jonathan R},journal={Computational Intelligence},volume={34},number={4},pages={968-998},year={2018},publisher={Wiley Online Library}}How to contributeThanks for your interest in contributing to inne. A guide is shown in inne’sDocumentation.LicenseBSD license
Package: inner-class
This module add some useful features to Python inner classes :classMyOuter:@innerclassMyInner:defhello(self):print('Hello')outer attributeThe inner class gain an 'outer' attribute that reference its outer class.>>>MyOuter.MyInner.outer<class'__main__.MyOuter'>inner derivationWhen the outer class is derived, the inner class is also derived in order
to point at the derived outer class.classMyChildOuter(MyOuter):pass>>>MyChildOuter.MyInner.outer<class'__main__.MyChildOuter'>carried inheritanceWhen the inner class is redefined in an outer subclass, it will automatically
derivate from the inner class of the outer superclass.classMyChildOuter(MyOuter):classMyInner:pass>>>MyChildOuter.MyInner().hello()Helloinner instantiationthe outer attribute of an inner instance store it's outer instanceouter=MyOuter()>>>outer<__main__.MyOuterobjectat0x03BAA990>>>>outer.MyInner().outer<__main__.MyOuterobjectat0x03BAA990>
Package: innercoscmd
INNERCOSCMD
fork自腾讯云coscmd，修复相关API，用于支持innercos。底层依赖<http://git.code.oa.com/maysonshen/innercos-python-sdk-v5.git>欢迎大家PRCOSCMD介绍腾讯云COS命令行工具, 目前可以支持Python2.6与Python2.7以及Python3.x。安装指南使用pip安装pip install -U innercoscmd手动安装:python setup.py install使用方法使用coscmd，参照https://cloud.tencent.com/document/product/436/10976由于innercos与腾讯云cos有一定的差异,服务端check只有sha1，没有md5. 使用的时候请`–verify sha1`
Package: innercos-python-sdk-v5
本项目fork自腾讯云cos-python-sdk-v5, 适配接口使得支持innercos经查，innercos不同之处在于：
- server端返回ETag，使用sha1
- API使用多为小写，如uploadid，而不是uploadId
- innercos要求的头不一样，比如要求有Host由于是自身开发使用，不能做到每个API都完美测试，欢迎大家PR，一起完善。Qcloud COSv5 SDK介绍腾讯云COSV5Python SDK, 目前可以支持Python2.6与Python2.7以及Python3.x。安装指南使用pip安装pip install -U innercos-python-sdk-v5手动安装:python setup.py install使用方法使用python sdk，参照https://github.com/tencentyun/cos-python-sdk-v5/blob/master/demo/demo.pycos最新可用地域，参照https://cloud.tencent.com/document/product/436/6224python sdk 快速入门，参照https://cloud.tencent.com/document/product/436/12269python sdk 接口文档，参照https://cloud.tencent.com/document/product/436/12270
Package: innerhtml
innerhtmlHTML for humans.Authors@ArticOffInstallationInstall innerhtml with pip# Linux/macOSpython3-mpipinstall-Uinnerhtml# Windowspy-3-mpipinstall-UinnerhtmlUsage/Examplesimportrequestsfrominnerhtmlimportparseresponse=get("https://articoff.github.io/eggs/")page=parse(response.content)forelementinpage.elements:ifelement._type=="h1":print(element.content)frominnerhtmlimportparseHtmlwithopen("index.html","r")asfile:page=parseHtml(file)file.close()forelementinpage.elements:ifelement._type=="h1":print(element.content)FeedbackIf you have any feedback, please reach out to us onour discordLinksOfficial discord serverCodeSec Community
Package: innerself
InnerselfclassZen:@innerselfdef__init__(self,the,path,to,enlightenment):your_innerself=f'is{the}{path}{to}{enlightenment}'@innerself(readonly=True)defchaos(self,dont,let,the,anger,and_chaos,control,you):returnf'{you}{control}your own{path}{to}{enlightenment}'>>>zen=Zen('the','path','to','enlightenment')>>>zen.your_innerself'is the path to enlightenment'>>>zen.chaos("don't",'let','the','anger','and chaos','control','you')'you control your own path to enlightenment'>>>hasattr(zen,'enlightenment')True>>>hasattr(zen,'anger')FalseTo install:pip install innerself
Package: innertube
innertubePython Client for Google's Private InnerTube API. Works withYouTube,YouTube Music,YouTube Kids,YouTube Studioand more!AboutThis library handles low-level interactions with the underlying InnerTube API used by each of the YouTube services.Here are a few articles available online relating to the InnerTube API:Gizmodo - How Project InnerTube Helped Pull YouTube Out of the GutterFast Company - To Take On HBO And Netflix, YouTube Had To Rewire ItselfInstallationinnertubeusesPoetryunder the hood and can easily be installed from source or from PyPI usingpip.Latest Releasepip install innertubeBleeding Edgepip install git+https://github.com/tombulled/innertube@developUsage>>>importinnertube>>>>>># Construct a client>>>client=innertube.InnerTube("WEB")>>>>>># Get some data!>>>data=client.search(query="foo fighters")>>>>>># Power user? No problem, dispatch requests yourself>>>data=client("browse",body={"browseId":"FEwhat_to_watch"})>>>>>># The core endpoints are implemented, so the above is equivalent to:>>>data=client.browse("FEwhat_to_watch")Comparison with theYouTube Data APIThe InnerTube API provides access to data you can't get from the Data API, however it comes at somewhat of a cost(explained below).This LibraryYouTube Data APIGoogle account requiredNoYesRequest limitNoYesClean dataNoYesThe InnerTube API is used by a variety of YouTube services and is not designed for consumption by users. Therefore, the data returned by the InnerTube API will need to be parsed and sanitised to extract data of interest.EndpointsCurrently only the following core, unauthenticated endpoints are implemented:YouTubeYouTubeMusicYouTubeKidsYouTubeStudioconfig✓✓✓✓browse✓✓✓✓player✓✓✓✓next✓✓✓search✓✓✓guide✓✓get_transcript✓music/get_search_suggestions✓music/get_queue✓AuthenticationThe InnerTube API uses OAuth2, however this has not yet been implemented, therefore this library currently only provides unauthenticated API access.
Package: innoconv
innoConvConverter for interactive educational content.Please refer to thedocumentationfor installation and usage.RequirementsPython >=3.6PandocFor Tikz support:LaTeXpdf2svgQuickstart# Install innoconv locally using pip$pipinstall--userinnoconv# Convert some content$innoconv/path/to/contentDockerTheDocker imagehas all
dependencies bundled and works out-of-the-box. It allows you to call theinnoconvcommand inside a container.$dockerruninnodoc/innoconv--helpFor passing content into and receiving the result from the container, you can
use a volume.$cd/path/to/content
$dockerrun\-v$(pwd):/content\-u$(id-u$USER)\innodoc/innoconv.DevelopmenttoxDevelopment for innoConv relies ontox. It
handles virtualenv creation, running linters and test suites across different
Python versions and is also used in the CI pipeline.Make sure to have it installed.CommandsFor an exhaustive list of commands please have a look attox.ini.Using the innoconv command (dev version)Spawn a shell in a development environment.$tox-eshellOr directly start your current development version.$tox-eshell--innoconv/path/to/contentLintingAdhere tocode style blackandPEP8.$tox-elintersTestsRun unit and integration tests.$tox-epy38-unit,py38-integrationHTML coverage reportA coverage report will be created in./htmlcovand served via HTTP.$tox-epy38-unit,cov-html,serve-covDocumentationAfter building you can find the documentation indocs/build/htmland look at
it using a browser.$tox-edocs,serve-docs
Package: innodb-optimize
innodb-optimizeis a package for automatically calucalating
optimized InnoDB configurations, and generating an updatedmy.cnffile with those values.Installation# PyPi Installationpipinstallinnodb-optimize# GitHub Installationpipinstallgit+'https://github.com/Scraps23/innodb_optimize.git'UsageBasic OutputThe following command will output the generated configuration toSTDOUT. This is useful when using this tool in other scripts, such
as automating system deployments.innodb-optimizeStandard Commit LoopThe--commitflag should be included for an interactive run. The
user is first asked whether the configuration should be saved; there
is an option to print the generated config to console.If the configuration is read, the user is prompted for the same
question.If the configuration is saved, the user is prompted to restart MySQL;
there is an option to schedule the restart using bash’satprogram.innodb-optimize--commitStandard LoopAvailable Argumentsfile: Where the MySQL configuration file is located. Defaults to/etc/mysql/my.cnf.percent: Determines what percentage of the total memory will be
devoted to InnoDB engine usage. Defaults to 75%.memory: Allows the user to override the total memory amount
(i.e. a fixed amount is already pre-allocated which is not easily
accounted for in percentages). Only allows for kilobyte unit.commit: Is required to start the loop which will commit the
changes. Without it, the program only outputs the config to standard
out to allow for piping/redirecting the output as needed.
Package: innodb-space
This tool monitors a InnoDB tablespace wich a autoincrement with a maximum set.It compares the setting in the config file against the size of the file on the filesystem.It does not check the size of the data within the tablespace, it only checks if the
datafile is allowed to grow enough or not.Examples:$ ./innodb_check_free.py –critical 10000000 -c /etc/my.cnf
CRITICAL: Datafile ibdata1 is allowed to grow with 6291456 bytes, critical threshold is 10000000$ ./innodb_check_free_pynag.py -m /etc/my.cnf -c 10000000: -w 1000000:
WARNING: 2097152 is within warning range: 1000000: | ‘ibdata1_free’=2097152;;;;Notes on the tablespace settings in InnoDBIt looks like a size in KB is not actually supported (MySQL Bug #68282)All script use Python 3 except innodb_check_free_pynag.py as pynag doesn’t support Python3 yet
Package: innoldb
makpar-innovation-laboratoryinnoldbA simpleObject-Relation-Mappingfor a serverlessAWS Quantum Ledger Databasebackend, and a command line utility for querying tables on those ledgers.NOTE: The user or process using this library must have anIAM policy that allows access to QLDB.ORMThe idea behind theORMis to map document fields to native Python object attributes, so that document values can be accessed by traversing the object property tree.CRUD OPERATIONSfrominnoldb.qldbimportDocument# Create a document on `my_table` table.document=Document('my_table')document.field={'nested_data':{'array':['colllection','of','things']}}document.save()frominnoldb.qldbimportDocument# Load a document from `my_table` table.document=Document('my_table',id="123456")forvalindocument.field.nested_data.array:print(val)Queriesfrominnoldb.qldbimportQueryquery=Query('my-table').find_by(field_name='field value')fordocumentinquery:print(f'Document({document.id}).field_name ={document.field_name}')CLICRUD Operationsinnoldb--tableyour-table--insertcol1=val1col2=val2...
innoldb--tableyour-table--id123--updatecol1=newval1col2=newval2Queriesinnoldb--tableyour-table--findcolumn=thisRead The Docsinnoldb documentationCode Quality
Package: innosetup
RequirementsPython 2.5 or laterpy2exepywin32InnoSetupFeaturesYou can use your customized InnoSetup Script.installer metadata over setup() metadatagenerate AppId(GUID) from setup() metadata
See the innosetup.InnoScript.appid property.bundle exe and com dll and dependent libs and resourcesbundle msvcr and mfc and their manifestbundle all installed InnoSetup’s language file
(If there is no valid [Languages] section.)createwindowsexe’s shortcutregistercom_serverandservicecheck the Windows version with Python versionfix a problem py2exe.mf misses some modules (ex. win32com.shell)Examplefrom distutils.core import setup
import py2exe, innosetup

# All options are same as py2exe options.
setup(
    name='example',
    version='1.0.0.0',
    license='PSF or other',
    author='you',
    author_email='you@your.domain',
    description='description',
    url='http://www.your.domain/example', # generate AppId from this url
    options={
        'py2exe': {
            # `innosetup` gets the `py2exe`'s options.
            'compressed': True,
            'optimize': 2,
            'bundle_files': 3,
            },
        'innosetup': {
            # user defined iss file path or iss string
            'inno_script': innosetup.DEFAULT_ISS, # default is ''
            # bundle msvc files
            'bundle_vcr': True, # default is True
            # zip setup file
            'zip': False, # default is False, bool() or zip file name
            # create shortcut to startup if you want.
            'regist_startup': True, # default is False
            }
        },
    com_server=[
        {'modules': ['your_com_server_module'], 'create_exe': False},
        ],
    # and other metadata ...
    )Do the commandsetup.py innosetup.
Then you get InnoSetup script file nameddist\distutils.issand
the installation file nameddist\<name>-<version>.exe.Changes0.6.8fix a ‘MinVersion’ bug.0.6.6, 0.6.7update readme and setup script.0.6.5move download url to github.0.6.4move repository to github.add a setup.py script.0.6.3change versioning policy (remove build number).add utf-8 bom to .iss file by Jerome Ortais, thanx.pick upCOPYINGfile for[setup]/LicenseFileby Jerome Ortais, thanx.0.6.0.2addregist_startupoption for create shortcut to startup.0.6.0.1fix metadata and unicode by surgo, thanx.setDEFAULT_ISSto empty becauseInno Setup 5.3.9is released.fix a problem thatpy2exeincludes MinWin’s ApiSet Stub DLLs on Windows 7.0.6.0.0support bundling tcl fileschange OutputBaseFilename0.5.0.1improve update install support0.5.0.0add DEFAULT_ISS, manifest, srcname, srcnamesaddzipoptionfixbundle_files=1option problem (always bundle pythonXX.dll)addDefaultGroupName,InfoBeforeFile,LicenseFileinto[Setup]section0.4.0.0support service cmdline_style optionsrewrite codes around iss file0.3.0.0improve the InnoSetup instllation path detectionaddinno_setup_exeoption0.2.0.0handlepy2exe’s command optionsaddbundle_vcroption0.1.0.0first release
Package: innotescus
This is the client library for Innotescus, a platform for annotating, curating, and refining computer vision data for machine learning.Use this library to programmatically interact with your Innotescus account, including project and team member management, and image, video, and annotation imports and exports.Register An AccountAn Innotescus account isrequiredfor using this library.  Please visitinnotescus.appto register or request a free trial.DocumentationClient documentation is accessible from your account, once you've
registered.
Package: in-n-out
in-n-outPython dependency injection you can taste.A lightweight dependency injection and result processing framework
for Python using type hints. Emphasis is on simplicity, ease of use,
and minimal impact on source code.importin_n_outasinoclassThing:def__init__(self,name:str):self.name=name# use ino.inject to create a version of the function# that will retrieve the required dependencies at call time@ino.injectdeffunc(thing:Thing):returnthing.namedefgive_me_a_thing()->Thing:returnThing("Thing")# register a provider of Thingino.register_provider(give_me_a_thing)print(func())# prints "Thing"defgive_me_another_thing()->Thing:returnThing("Another Thing")withino.register_provider(give_me_another_thing,weight=10):print(func())# prints "Another Thing"This also supports processingreturnvalues as well
(injection of intentional side effects):@ino.inject_processorsdeffunc2(thing:Thing)->str:returnthing.namedefgreet_name(name:str):print(f"Hello,{name}!")ino.register_processor(greet_name)func2(Thing('Bob'))# prints "Hello, Bob!"AlternativesLots of other python DI frameworks exist, here are a few alternatives to consider:https://github.com/ets-labs/python-dependency-injectorhttps://github.com/google/pinjecthttps://github.com/ivankorobkov/python-injecthttps://github.com/alecthomas/injectorhttps://github.com/Finistere/antidotehttps://github.com/dry-python/returnshttps://github.com/adriangb/di
Package: innovationdiffusion
innovationdiffusionImplementation of the Bass Model for innovation diffusion.
Free software: MIT licenseFeaturesDerive p, q, m values via Nonlinear Least Squares estimationUse p, q, and m values to predict at-time and cumulative sales numbersUsing real and predicted values, show overlaid plots for comparisonModel summaryExampleLet’s demonstrate a small example on a sales dataset of gaming consoles for the period 2005 - 2017.CreditsDeveloped by Esfira Babajanyan.HistoryVersion 0.0.1 (2023-05-16)Initial release of the package.
Package: innovationmerge
InnovationMerge is an incredibly powerful Python library designed to revolutionize the creation of AI, IoT, and other cutting-edge projects that can seamlessly run on CPU, GPU, and Edge devices. With InnovationMerge, you can simplify and supercharge your development process, enabling you to bring your innovative ideas to life faster and more efficiently than ever before.AboutAuthor: innovationmergeVersion: 1.X.XDescription:Contains innovationmerge projects core components.This package will include core components required to build AI, IoT and other Applications.Requirements:Python > 3.7Install using pipInstall onRaspberryPipip install innovationmerge[rpi]Install onWindowspip install innovationmerge[windows]Install using PoetryInstall onRaspberryPipoetry add innovationmerge[rpi]Install onWindowspoetry add innovationmerge[windows]Install using sourceInstall onRaspberryPipoetry install --extras "rpi"Install onWindowspoetry install --extras "windows"ComponentsEdge Computing -EdgeObjectDetectionTfLiteObject Detection- Currently SSD and MobileNet models are supportedProjectsPredictive capture using Tensorflow and Raspberry PiDescription:This article explains how to segment audio into different regions using an open-source Python Library called pyAudioAnalysis.Code Link
Package: inoio
InoIOA small library for RX/TX with Arduino devices.Table of ContentsInstallationExampleInstallationTo install the library, simply run:pip install inoioExampleThe following snippet demonstrates how to use the library:importsysfrominoioimportInoIO,errorsdefmain()->None:conn=InoIO(port="/dev/ttyS2",baudrate=9600)try:conn.connect()excepterrors.InoIOConnectionError:sys.exit("Failed to connect")conn.write("A foo that bars")print(conn.read())conn.disconnect()if__name__=="__main__":main()Running this small program would return:Received message: A foo that barsAssuming the following code is uploaded to the device and the device is running:voidsetup(){unsignedintbaudrate=9600;::Serial.begin(baudrate);unsignedinttimeout_msec=10;::Serial.setTimeout(timeout_msec);}voidloop(){while(::Serial.available()>0){::Stringmessage=::Serial.readString();message.trim();::Serial.println("Received message: "+message);::Serial.flush();}}
Package: inol-rest
Requirements.Python 2.7 and 3.4+Installation & Usagepipinstallinol_rest## buildingcdinol_rest/src/inol_rest/staticgulp## running locallycdinol_rest/../setup_shell.shcdsrc./manage.pyrunserverThis is a microservice responsible for doing all of the inol calculationscurlcurl-XPOST--header'Content-Type: application/json'--header'Accept: application/json'--header'X-Fields: inol'-d'{ \
"max": 100, \
"reps": 1, \
"weight": 100 \
}''http://127.0.0.1:5000/api/inol/'Authorawalker125
Package: inoopa_utils
Inoopa's helpersThis repo contains helper functions we use in all of our python projects.This is pushed publicly to Pypi, so NEVER commit any secret hereHow to use this package in your codepipinstallinoopa_utilsHow to publish package to PypiAfter any code change,update the package versioninpyproject.toml.Then, at the root of the repo:# Login to Pypipoetryconfigpypi-token.pypi<PypiAPItokenhere># Build projectpoetrybuild# PublishpoetrypublishDocker imageThis repo's ci/cd is building an image stored atinoopa/python311.
This is because inoopa_utils usesdeepparsewhich requires Pytorch and some others dependencies.Those are long to install in a docker image, which enventually reflect on our bills.
To avoid this, we build the image once and build other images on top of it.
Package: inopaicli
Inopai CLIThis package is intended to help with inopai related automation tasksIt can be installed withpip install inopaicliCommandsThere are a lot of commands in the package.For list and more details check the commanddocumentationPluginsYou can add plugins to your project that has the package installed, that act as package commandsThe plugins folder must be calledinopaicli-pluginsand it has to be in your current working directoryFor developersHere are all theinstructionsa developer may need
Package: inorbit-cli
InOrbit CLIWelcome to the InOrbit Command Line Interface.Installinghttps://pypi.org/project/inorbit-cli/Make sure you deactivated the development virtual environment or you are using a different one with noinorbitpython package installed.pipinstallinorbit-cliUsageThe CLI requires an API key for authenticating against InOrbit's platform. For obtaining it, please go to theInOrbit developer console.$exportINORBIT_CLI_API_KEY="company_api_key"$inorbit--help
Usage:inorbit[OPTIONS]COMMAND[ARGS]...InOrbitCommandLineInterfacetoolTheInOrbitCLItoolenableroboteerstointeractwiththeInOrbitCloudplatforminordertomanagerobotconfigurationascode.

Options:--helpShowthismessageandexit.

Commands:describegetContributingSeeCONTRIBUTING.md