Saravanan666/pypi-org huggingface dataset:
Package: nukecontexts
nukecontextsis a library of composable context managers for Nuke to manage the state of complex compositing scripts in code.Full DocumentationInstallationTo installnukecontexts, type:$pipinstallnukecontextsOpen Nuke’sinit.pyfile and add:nuke.pluginAddPath('/path/to/your/local/python/site-packages')Getting StartedThe most common use case fornukecontextsis automated rendering of multiple states of a compositing script. For example two different output formats, jpg and png.importnukefromnukecontextsimportctxrender_node=nuke.toNode('Write1')withctx.set_attr(render_node,'file_type','jpeg'):nuke.execute(render_node.name(),1,1,1)withctx.set_attr(render_node,'file_type','png'):nuke.execute(render_node.name(),1,1,1)The power ofnukecontextscomes with composable contexts, usingmultiple_contexts(). Arbitrarily complex, varying states of the compositing script can be defined and used to automatically generate different results.merge_node=nuke.toNode('Merge1')grade_node=nuke.toNode('Grade1')switch_node=nuke.toNode('Switch1')ctx1=ctx.enable([merge_node,grade_node])ctx2=ctx.set_attr(grade_node,'white',2.0)ctx3=ctx.set_attr(switch_node,'which',0)ctx4=ctx.disable(merge_node)withctx.multiple_contexts([ctx1,ctx2,ctx3]):"""Render with the merge_node and grade_node enabled, the
    grade_node's white attribute set to 2.0 and the switch_node's switch
    position set to 0."""nuke.execute(render_node.name(),1,1,1)withctx.multiple_contexts([ctx3,ctx4]):"""Render with the switch_node's switch position set to 0 and the
    merge node disabled; the grade_node's gain value remains at the
    original value."""nuke.execute(render_node.name(),1,1,1)
Package: nukedatastore
A library for basic data persistence in NukeFull DocumentationInstallationTo installnukedatastore, type:$pipinstallnukedatastoreOpen Nuke’sinit.pyfile and add:nuke.pluginAddPath('/path/to/your/local/python/site-packages')Getting StartedTo get started withnukedatastore, type in the Nuke Script Editor:importnukedatastoreNukeDataStoreTo initialise aNukeDataStore, type:ds=nukedatastore.NukeDataStore('data_store')To store data in theNukeDataStore, type:ds['project_data']={'id':1234,'name':'project name'}To list all available keys in theNukeDataStore, type:ds.list()# ['project_data']To retrieve stored data from theNukeDataStore, type:ds['project_data']# {'id': 1234, 'name': 'project name'}ANukeDataStorecan be frozen, to freeze, type:ds.freeze()Any further attempt to set data on theNukeDataStorewill result in
an error:ds['color_data']={'id':'AB-123','name':'White'}# nukedatastore.NukeDataStoreError: Cannot mutate frozen NukeDataStoreTo un-freeze, type:ds.unfreeze()NukeAPICacheWorking with theNukeAPICacheis very similar. To register an API, type:api_cache=nukedatastore.NukeAPICache('api_cache')api.cache.register('project_data','https://project.your.domain.com')To read the cached API data, type:api_cache['project_data']To update the API data, type:api_cache.update('project_data')To diff existing API data with new API data, type:api_cache.diff('project_data')# {'project_data': {'values_changed': {"root['headers']['X-Request-Id']": {'new_value': u'f5800c5e-4edb-4509-8339-4bcdf0b32732', 'old_value': u'd8ed6737-e5c8-49aa-b42e-58eb2ba472b9'}}}}
Package: nuketemplate
A toolkit to build Nuke scripts with flexible templates, based on Jinja 2Full DocumentationInstallationTo installnuketemplate, type:$pipinstallnuketemplateOpen Nuke’sinit.pyfile and add:nuke.pluginAddPath('/path/to/your/local/python/site-packages')Getting StartedPlease see theGetting Startedsection of the documentation.
Package: nukeuuid
A unique identifier library for Nuke. UUIDs are stored on nodes and therefore
persist Nuke sessions. UUIDs can be used to track nodes throughout the
compositing process.Full DocumentationInstallationTo installnukeuuid, type:$pipinstallnukeuuidOpen Nuke’sinit.pyfile and add:nuke.pluginAddPath('/path/to/your/local/python/site-packages')Getting StartedTo get started withnukeuuid, type in the Nuke Script Editor:importnukeuuidDefine a dictionary of UUIDs to be set, with the keys defining the UUID name
and the values defining the UUID values.kw={'':'fca7201e-b53d-4918-9ab0-bb4ec5590f3c','utility':'5f2d525d-3e00-4bc5-88c4-794ad87f5699'}To create and set the UUID attributes on a node (or a list of nodes), type:nukeuuid.set(node,**kw)To retrieve all nodes matching a specific UUID pattern, type:kw={'':'fca7201e-b53d-4918-9ab0-bb4ec5590f3c','utility':'5f2d525d-3e00-4bc5-88c4-794ad87f5699'}matched_nodes=nukeuuid.get_nodes(**kw)
Package: nuki-sesami
Nuki SesamiOpen an electric door equipped with anNuki 3.0 Prosmart lock.RequirementsThe following components are required when using this package:Nuki 3.0 Pro smart lock(or similar)ERREKA Smart Evolution Proelectric door controller (or similar)Raspberry Pi(or similar) withRaspbian BullsEye(or later) installedWaveshare RPi relay board(or similar)mqttbrokermosquitto, running on the sameRaspberry PiboardPushbutton connected to the relay boardInstallation and setupThe package can be installed on theRaspberry PIboard as per usual:pip3installnuki-sesamiInstallation and configuration of themosquittobroker:sudoaptupdate
sudoaptinstallmosquitto
sudosystemctlenablemosquitto
mosquitto_passwd/etc/mosquitto/passwdnuki<secret1>
mosquitto_passwd/etc/mosquitto/passwdsesami<secret2>Ensuremqttis enabled and running on the Nuki Smart Lock using the smartphone app.
Use the same credentials as above for the nuki user.Activatenuki-sesamias systemd service:sudonuki-sesami-systemd%USER<nuki-device-id>-H<mqtt-broker-hostname>-Usesami-P<secret2>In theBATSprogramming menu of the ERREKA door controller ensure the external switch for manual changing the operating mode
is activated:FunctionFC01== OFF, the door will be inopen/closemode when switch is in positionIFunctionFC07== ON, the door will be inopen and holdmode when switch is in positionIIUse wiring connection as depicted in the diagram below:UsageOnce the system has been setup as described above, the smartlock can be operated as per usual using theNukismartphone app
and/or otherNukiperipherals; like for instance theNuki Fob.
As soon as the smartlock state changes fromunlatchingtounlatchedthe electric door will be opened by means
of the relay board using a short on/off puls onRelay CH1.The relay board can also be operated manually using a pushbutton. This is useful when the door needs to be opened without
theNukiapp orNukiperipherals and/or change the door operating mode.
The pushbutton logic can be as follows:pushbutton-openholdWhen pressing the pushbutton once the smartlock will be unlatched and the door will be opened
and held open (openhold mode) until the pushbutton is pressed again (defaultlogic).pushbutton-openWhen pressing the pushbutton once the smartlock will be unlatched and the door will be opened. After a
few seconds the door will automaticaly be closed again.pushbutton-toggleWhen pressing the pushbutton once the smartlock will be unlatched and the door will be opened. If during
the opening phase the pushbutton is pressed again, the door will be kept open (openhold mode) until the pushbutton is pressed again.
Otherwise the door will be closed again after a few seconds.Please note that when the system starts up, the door will be inopen/closemode; i.e.Relay CH3will be active andRelay CH2will be inactive. This is to ensure the door can be opened and closed as per usual. When the system is in inopenholdmode
the relay states will be flipped; i.e. theRelay CH3will be inactive andRelay CH2will be active.
Package: nuklear
NUCLEARNUCLEAR (NUCLeotide AssembleR) is a Python package designed primarily to generate oligonucleotide sequences from one or several mono-nucleotide explorations returned by the MCSS docking method.In a single job, users can request one of two exclusive explorations: either
a molecular hotspots search (to gain insights into the most accessible regions of the receptor) or an oligonucleotide search. In the latter case, the oligo-nucleotide sequence and the receptor region to consider can also be specified.InstallationCreate and activate a new virtual environment with your preferred tool (here we use conda), and then install NUCLEAR from PyPI using pip.conda create -n nuclear
source activate nuclear
pip install -r requirements.txt nuklearAfter installation, you should be able to run NUCLEAR as follows:$ nuclear path-to-config-file.cfgDocumentationThe extensive documentation of the project will be soon available.ChangelogAll notable changes to this project will be documentedin this file.ContributingPlease read thecontributor's guideif you are interested in advancing the project.NoteThis project has been set up using PyScaffold 4.5. For details and usage
information on PyScaffold seehttps://pyscaffold.org/.
Package: nulink-click
modify click features to support get the origin input parametes in program for [nulink](https://www.nulink.org/). Forked by [click](https://github.com/pallets/click/releases/tag/8.1.2) version 8.1.2.Nulink click is a Python package for creating beautiful command line interfaces
in a composable way with as little code as necessary. It’s the “Command
Line Interface Creation Kit”. It’s highly configurable but comes with
sensible defaults out of the box.It aims to make the process of writing command line tools quick and fun
while also preventing any frustration caused by the inability to
implement an intended CLI API.Click in three points:Arbitrary nesting of commandsAutomatic help page generationSupports lazy loading of subcommands at runtimeInstallingInstall and update usingpip:$ pip install -U nulink-clickA Simple Exampleimportnuclick@click.command()@click.option("--count",default=1,help="Number of greetings.")@click.option("--name",prompt="Your name",help="The person to greet.")defhello(count,name):"""Simple program that greets NAME for a total of COUNT times."""for_inrange(count):click.echo(f"Hello,{name}!")if__name__=='__main__':hello()$ python hello.py --count=3
Your name: Click
Hello, Click!
Hello, Click!
Hello, Click!DonateThe Pallets organization develops and supports Click and other popular
packages. In order to grow the community of contributors and users, and
allow the maintainers to devote more time to the projects,please
donate today.LinksDocumentation:https://click.palletsprojects.com/Changes:https://click.palletsprojects.com/changes/PyPI Releases:https://pypi.org/project/click/Source Code:https://github.com/pallets/clickIssue Tracker:https://github.com/pallets/click/issuesWebsite:https://palletsprojects.com/p/clickTwitter:https://twitter.com/PalletsTeamChat:https://discord.gg/pallets
Package: nulink-web3
nulink-web3Fix Web3.py bugs fornulink. Forked byweb3.pyversion 6.0.0b1.A Python library for interacting with Ethereum, inspired byweb3.js.Python 3.6+ supportQuickstartGet started in 5 minutesortake a tourof the library.DocumentationFor additional guides, examples, and APIs, see thedocumentation.
Package: null
Implements thenull object pattern.Provides:aNullsingleton that can be used likeNone(but is notNoneand
is not equal toNone)aNullListthat returnsNullinstead of raisingIndexErroraNullDictthat returnsNullinstead of raisingKeyErroranullify()routine that converts mappings and sequences to the nullified
variantanunsetsingleton for clearing up APIs to distinguish between a keyword
argument that is set by the user asNoneand simply not set by the userHow do I run the tests?The easiest way would be to extract the source tarball and run:$ python test/test_null.pyChange Log0.6.1MANIFEST.inwill forever be my favourite gotcha of Python packagingPEP8-fied the sources0.6.0long overdue Python 3 support0.5.0initial published versionAuthorsGlued together byŁukasz Langa.
Package: nullability
nullabilityPass nullable arguments that may not exist.Usage>>>Nullable(1).value1>>>print(Nullable(None).value)None>>>Nullable.if_not_none(1)Nullable(value=1)>>>print(Nullable.if_not_none(None))NoneUsecase example:>>>fromdataclassesimportdataclass>>>fromtypingimportOptional>>>fromnullabilityimportNullable>>>@dataclass...classFoo:...bar:Optional[int]...baz:Optional[int]......defupdate(...self,...bar:Optional[Nullable[int]]=None,...baz:Optional[Nullable[int]]=None,...):...ifbar:...self.bar=bar.value...ifbaz:...self.baz=baz.value...returnself>>>foo=Foo(bar=1,baz=2)>>>foo.update(bar=Nullable(3))Foo(bar=3,baz=2)>>>foo.update(baz=Nullable(None))Foo(bar=3,baz=None)>>>foo.update(bar=Nullable.if_not_none(None))Foo(bar=3,baz=None)>>>foo.update(bar=Nullable.if_not_none(4))Foo(bar=4,baz=None)
Package: nullable
nullableTyped Null supportimporttypingastfromdataclassesimportdataclassfromnullableimportNull,NullType,Nullable,NullableNoneOr# valid typehints:val:int|NullType=Nullval:Nullable[int]=Nullval:int|None|NullType=Nullval:NullableNoneOr[int]=Null# example usage:@dataclassclassSettings:is_cool:boolcountdown:t.Optional[int]defalter(self,*,is_cool:Nullable[bool]=Null,countdown:NullableNoneOr[int]=Null,)->None:ifis_coolisnotNull:self.is_cool=is_coolifcountdownisnotNull:self.countdown=countdown
Package: null-bot-api
NULL BOT API wrapperУстановкаpipinstall-Uhttps://github.com/lordralinc/null_bot_api/archive/master.zipилиpipinstallnull_bot_apiИспользованиеfromnull_bot_apiimportNullBotApiapi=NullBotApi()stickers=api.users.get_stickers()custom=api.make_request("section.method",data=dict(param1="foo",param2="bar"),dataclass=dict)# Асинхронное использованиеfromnull_bot_apiimportNullBotApiapi=NullBotApi()stickers=awaitapi.users.get_stickers_async()custom=api.make_request_async("section.method",data=dict(param1="foo",param2="bar"),dataclass=dict)МетодыМетоды предоставлены настранице.
Все методы следует преводить в snake_case.
Package: nulled-auth
Nulled.to releases authentication module for pythonRequirementsPython 3.6+InstallationInstall with pip:pip install nulled-authDocumentationDownload and install the package from pypi.com withpip install nulled-authInclude the package in your project:from nulled_auth import authCreate a new objectauthentication = auth.Auth(program_id='', program_secret='', minimum_group=auth.Ranks.NONE, minimum_likes=0, both_requirements=False)Mandatory fields:program_id:Definition:Program id provided by staffType:stringDefault value:No default valueprogram_secret:Definition:Program secret provided by staffType:stringDefault value:No default valueOptional fields:minimum_groupDefinition:Minimum user group to access applicationType:Enumauth.Ranks.NOVAauth.Ranks.AQUAauth.Ranks.VIPauth.Ranks.NONEDefault value:auth.Ranks.NONEminimum_likes(Default: 0):Definition:Minimum number of likes to access applicationType:integerDefault value:0both_requirementsDefinition:ifTrueWill make mandatory bothminimum_groupandminimum_likesrequirementsifFalseWill authenticate if it haves one of the 2 requirementsminimum_grouporminimum_likesType:booleanDefault value:TrueCheck ifkeyis valid for the authenticationauthentication.get_auth(key)Returnsboolean, [string]First return value:Either if it has passed the authentication process or notTrueorFalseSecond value value:In case of not passing the authentication it returns an array of 1 or more messages of why it didnt authenticateIn case of passing the authentication it returns an array with one message with the text:Success!Getting helpIn case there is any problem or cant get it to work, send a PM to 0x69 on Nulled.to
Package: nullpobug.chaser
動作環境Python2.7インストールeasy_installやpipでインストールしてください。$ pip install nullpobug.chaser簡単な使い方動かずサーチだけ実行するCHaserクラスを作ってみます。my_chaser.py:from nullpochaser.chasers.silent import SilentCHaser

class MyCHaser(SilentCHaser):
    passこれを動かすには次のようにコマンドを実行します。$ python -m nullpochaser.main --chaser=my_chaser.MyCHaser-pオプションでポート番号を指定できます。他のオプションを確認するには、--helpオプションを指定してください。$ python -m nullpochaser.main --help詳しくはソースを読んでください。
Package: nullpom
nullpomLibrary to easily run Null Importances.About Null ImportancesNull Importances is feature selection process using target permutation tests actual importance significance against the distribution of feature importances when fitted to noise (shuffled target).Detailpaperkaggle notebookjapanese articleOutputBasic usagefromnullpomimportrun_null_importanceresult=run_null_importance({"objective":"binary","seed":42},X_train=X_train,X_valid=X_valid,y_train=y_train,y_valid=y_valid,)Installpipinstallnullpom
Package: nullsmtp
nullsmtp========.. image:: https://travis-ci.org/MasterOdin/nullsmtp.svg?branch=master:target: https://travis-ci.org/MasterOdin/nullsmtp:alt: Build Statusnullsmtp is a fake SMTP server (written in python) which can be used for development. The server catches incoming mail,writes them to a file, and doesn't actually send it out to the intended recipients. All emails are saved to a directory(defaults to ``/var/log/nullsmtp``, but can be changed via flag) where each email address sent to gets its own folderand then emails are stored in that folder named ``{sender}.{time}.msg``. This is useful for debugging applicationswhere you don't want a GUI (as you're running a headless VM say), but still actually need to see the messages thatwere sent in the system, without having to worry about things getting bounced or whatever.Generally, you'd probably want to install this instead of something like sendmail or some other package that wouldhandle sending mail from your server.Requirements============nullsmtp relies on Python 3.3+ and just its standard library. Recommended to also have ``pip`` for installation.Installation============Recommended Installation is through PyPi::pip install nullsmtpOr if you've cloned the repository::python3 setup.py installUsage=====::usage: nullsmtp [-h] [--no-fork] [-H HOST] [-P PORT] [--mail-dir MAIL_DIR][-v]optional arguments:-h, --help            show this help message and exit--no-fork             Don't fork and run nullsmtp as a daemon. Additionally,this willprint all log messages to stdout/stderr andall emails to stdout.-H HOST, --host HOST  Host to listen on-P PORT, --port PORT  Port to listen on--mail-dir MAIL_DIR   Location to write logs and emails (defaults to~/.nullsmtp)-v, --version         show program's version number and exitBy default, you will need to use sudo as the server wants to bind itself to localhost and port 22.However, if you use a different port, then it will not require using sudo. However, note, that if the current runninguser of the script does not have access to create a directory/file within ``/var/log`` or ``/var/log/nullsmtp``, thenno emails will be written to file, but just through the console.If the mail directory is writeable to, then you should have the following directory structure::nullsmtp.logperson1@example.com/1492024232.person2@example.com.msg1492024462.person2@example.com.msg1493678462.person1@example.com.msgperson2@example.com/person1@example.com.1232421423.msgwhere ``nullsmtp.log`` a log file for the system, and then each folder represents a person's "inbox" and insideare messages from someone at a given timestamp (seconds from epoch).
Package: nullsmtpd
nullsmtpdnullsmtpd is a fake SMTP server (written in python) which can be used for development. The server catches incoming mail,
writes them to a file, and doesn’t actually send it out to the intended recipients. All emails are saved to a directory
(defaults to/var/log/nullsmtpd, but can be changed via flag) where each email address sent to gets its own folder
and then emails are stored in that folder named{sender}.{time}.msg. This is useful for debugging applications
where you don’t want a GUI (as you’re running a headless VM say), but still actually need to see the messages that
were sent in the system, without having to worry about things getting bounced or whatever.Generally, you’d probably want to install this instead of something like sendmail or some other package that would
handle sending mail from your server.Requirementsnullsmtpd relies on Python 3.5+ andaiosmtpd. Recommended to also havepipfor installation.InstallationRecommended Installation is through PyPi:pip install nullsmtpdOr if you’ve cloned the repository:python3 setup.py installUsageusage: nullsmtpd [-h] [--no-fork] [-H HOST] [-P PORT] [--mail-dir MAIL_DIR]
                [-v]

optional arguments:
  -h, --help            show this help message and exit
  --no-fork             Don't fork and run nullsmtpd as a daemon. Additionally,
                        this willprint all log messages to stdout/stderr and
                        all emails to stdout.
  -H HOST, --host HOST  Host to listen on
  -P PORT, --port PORT  Port to listen on
  --mail-dir MAIL_DIR   Location to write logs and emails (defaults to
                        ~/.nullsmtpd)
  -v, --version         show program's version number and exitBy default, you will need to use sudo as the server wants to bind itself to localhost and port 22.
However, if you use a different port, then it will not require using sudo. However, note, that if the current running
user of the script does not have access to create a directory/file within/var/logor/var/log/nullsmtpd, then
no emails will be written to file, but just through the console.If the mail directory is writeable to, then you should have the following directory structure:nullsmtpd.log
person1@example.com/
    1492024232.person2@example.com.msg
    1492024462.person2@example.com.msg
    1493678462.person1@example.com.msg
person2@example.com/
    person1@example.com.1232421423.msgwherenullsmtpd.loga log file for the system, and then each folder represents a person’s “inbox” and inside
are messages from someone at a given timestamp (seconds from epoch).
Package: nullspace-optimizer
Null Space Optimizernullspace_optimizeris a Python package implementing the null space
algorithm for nonlinear constrained optimization. It has been developped
in the context of topology optimization problems with the level-set and
the density method, but it can in principle be used for solving
arbitrary smooth nonlinear equality and inequality constrained
optimization problems of the form\begin{aligned}
\begin{aligned}
    \min_{x\in \mathcal{X}}&  \quad J(x)\\
    \textrm{s.t.} & \left\{\begin{aligned}
 g_i(x)&=0, \text{ for all } 1\leqslant i\leqslant p,\\
 h_j(x)  &\leqslant  0, \text{ for all }1\leqslant j \leqslant q,\\ 
        \end{aligned}\right.
\end{aligned}
\end{aligned}{.align-center width="400px"}Official documentationOfficial documentationContribute and supportIssue tracker:https://gitlab.com/florian.feppon/null-space-optimizer/-/issuesSource code:https://gitlab.com/florian.feppon/null-space-optimizerIf I am not responding on the issue tracker, feel free to send me an
email to florian.feppon[at]kuleuven.beCitationPlease cite either of the following references when using this source:Feppon F., Allaire G. and Dapogny C.Null space gradient flows for
constrained optimization with applications to shape optimization.2020. ESAIM: COCV, 26 90doi:10.1051/cocv/2020015Feppon F.Density based topology optimization with the Null Space
Optimizer: a tutorial and a comparison(2023). Submitted. HAL
preprinthal-04155507.@article{feppon2020optim,author={{Feppon, F.} and {Allaire, G.} and {Dapogny, C.}},doi={10.1051/cocv/2020015},journal={ESAIM: COCV},pages={90},title={Null space gradient flows for constrained optimization with applications to shape optimization},url={https://doi.org/10.1051/cocv/2020015},volume=26,year=2020}@unpublished{feppon:hal-04155507,TITLE={{Density based topology optimization  with the Null Space Optimizer: a tutorial and a comparison}},AUTHOR={Feppon, F},URL={https://hal.science/hal-04155507},NOTE={working paper or preprint},YEAR={2023},MONTH=Jul,KEYWORDS={Nonlinear constrained optimization ; density based topology optimization ; Null space gradient flows ; Python},PDF={https://hal.science/hal-04155507/file/bound_constraints%20%281%29.pdf},HAL_ID={hal-04155507},HAL_VERSION={v1},}LicenceThe Null Space Optimizer is a free software distributed under the terms
of the GNU General Public LicenceGPL3.
Package: nulltk
nulltknulltkis a wrapper for tkinter that extends its base functionality.
Namely to provide some more widgets based on the original set and improve ease of styling.Installation:pip install --upgrade nulltkDevelopment installation (recommended):git clone git@github.com:nhammond129/nulltk.git
pip install -e nulltk/Dependenciesnulltksupports Python 3.9+, and used modules are listed inrequirements.txt.Example UsageSeeexamples/for usage.