Saravanan666/pypi-org huggingface dataset:
Package: nubopy
NUBONUBO, short for Newcastle University Bayesian optimisation, is a Bayesian
optimisation framework for the optimisation of expensive-to-evaluate black-box
functions, such as physical experiments and computer simulations. It is
developed and maintained by theFluid Dynamics LabatNewcastle University. NUBO focuses primarily on
transparency and user experience to make Bayesian optimisation easily
accessible to researchers from all disciplines. Transparency is ensured by
clean and comprehensible code, precise references, and thorough documentation.
User experience is ensured by a modular and flexible design, easy-to-write
syntax, and careful selection of Bayesian optimisation algorithms. NUBO allows
you to tailor Bayesian optimisation to your specific problem by writing the
optimisation loop yourself using the provided building blocks. Only algorithms
and methods that are sufficiently tested and validated to perform well are
included in NUBO. This ensures that the package remains compact and does not
overwhelm the user with an unnecessary large number of options. The package is
written inPythonbut does not require expert
knowledge of Python to optimise your simulations and experiments. NUBO is
distributed as an open-source software under theBSD 3-Clause licence.Thanks for considering NUBO. If you have any questions, comments, or issues
feel free to email us atm.diessner2@newcastle.ac.uk. Any feedback is highly
appreciated and will help make NUBO better in the future.Install NUBOInstall NUBO and all its dependencies directly from thePython Package IndexPyPIusing thePython package managerpipwith the
following code. We recommend the use of a virtual environment.Spip install nubopyCite NUBOIf you are using NUBO for your research, please cite as:Mike Diessner, Kevin Wilson, and Richard D. Whalley. "NUBO: A Transparent Python Package for Bayesian Optimisation," arXiv preprint arXiv:2305.06709, 2023.If you are using Bibtex, please cite as:@article{diessner2023nubo,
         title={NUBO: A Transparent Python Package for Bayesian Optimisation},
         author={Diessner, Mike and Wilson, Kevin and Whalley, Richard D},
         journal={arXiv preprint arXiv:2305.06709},
         year={2023}
}
Package: nucdens
NUCDENSLibrary for online accessing, reading and writing Compton densities.When using the data files or software, please cite the original work:H.~W.~Griesshammer, J.~A.~McGovern, A.~Nogga and D.~R.~Phillips,
``Scattering Observables from One- and Two-Body Densities: Formalism and Application to $\gamma,{}^3$He Scattering,''
Few Body Syst. \textbf{61} (2020) no.4, 48 doi:10.1007/s00601-020-01578-w [arXiv:2005.12207 [nucl-th]].InstallationThe source code and examples are available athttps://jugit.fz-juelich.de/a.nogga/nucdensity.The easiest way to install is using pip:pip install nucdensUsageThe package provides an interface to download the data files from our repository and to read the files and test. More advanced options will be documented later. Jupyter notebook testing the access can be found intests. Some examples are inexamples.For downloading specific files to a local directory, e.g.,$HOME/work/denstestusefrom nucdens import access
testdf=access.database(workdir=os.environ["HOME"]+"/work/denstest")This downloads a pandas dataframe with the available density files and stores it intotestdf. The pandas dataframe can be printed usingimport pandas as pd  
pd.set_option('display.max_columns', None)
print(testdf.pddf)Downloading density files of, e.g., row 36 and 4 of the table is done byimport os 
# get file info from table 
row=testdf.pddf.loc[[36]]
densid=row.to_dict('records')[0]
# retrieve file
hashname,uniquename=testdf.get_file(**densid)
# print name and file size 
print("hashname:    ",hashname)
print("filesize:    ",os.path.getsize(hashname))
print("uniquename:  ",uniquename)The files are downloaded and gunzipped. They are partly also compressed using the ZFP compressors (seehttps://github.com/LLNL/zfp). Using the files might require to install the corresponding HDF plugins (https://github.com/LLNL/H5Z-ZFP). The local files will be first stored under theirhashname. However, the python method also returns a suggestion for a unique file nameuniquenamethat includes the parameters of the file.  If wanted, users may rename the file using the provideduniquename.The file from the example is two-body density. You can read in and get some basic properties using the densfile2b constructordensity2b=access.densfile2b(hashname,printlevel=1)One-body densities can be tested similarly using the densfile1b constructordensity1b=access.densfile1b(hashname,printlevel=1)
Package: nuc-fwhm
nuclear_fwhmFull Width at Half Maximum(FWHM) value for required equipment.The highest value of COUNTS: Y2
Its respective CHANNEL number: X2The value of half maximum is at the half of heighest peak
The first value is the point to the left side of the peakThis is a point on the left side of the peak
The COUNT value closest to and lower than half of max, with channel number LESS than highest count channel number: Y1
Its respective channel number: X1The channel number for count value closest and lowest to half of max, with channel number LESS than highest count channel numberThis is the point to the right side of the peak
The COUNT value closest to and lower than half of max, with channel number GREATER than highest count channel number: Y3
Its respective channel number: X3The channel number for count value closest and lowest to half of max, with channel number GREATER than highest count channel numberUSING INSTRUCTIONS:in the required code "from nuc_fwhm import fwhm"to use the function "fwhm(-six numbers as arguments)"the six numbers are X1, X2, X3, Y1, Y2, Y3 i.e. fwhm(X1, X2, X3, Y1, Y2, Y3)
Package: nuclai
InstallationSetup Python 3.4 or above in a virtual environment:# All platforms.
> python -m venv --system-site-packages pyenv

# Windows 7/8/10.
> pyenv/Scripts/activate.bat
# MacOSX and Linux.
> source pyenv/bin/activateInstall this tool from PIP directly with this short command:> pip install nuclaiTest the script to make sure everything works as expected:> nuclai --helpUsage> nuclai install <package>
Package: nuclearcraft-designer
NuclearCraft DesignerGenerates multiblock designs for NuclearCraft.InstallationNuclearCraft Designer can be installed via pip using the following command:pipinstallnuclearcraft-designerUsageDesign the best rotor blade sequence of length 10 optimized for 400% expansion using a maximum of 1 SiC-SiC-CMC blade.fromnuclearcraft_designer.overhauledimportturbine_rotor_bladeif__name__=="__main__":gen=turbine_rotor_blade.designer.RotorBladeSequenceDesigner().design_generator(10,4.0,{"sic_sic_cmc":1})seq=[]forseqingen:pass# Print the best sequence.forbladeinseq:print(blade.name,end=" ")print()Design the best dynamo coil configuration with a side length of 3 and a shaft width of 1:fromnuclearcraft_designer.overhauledimportturbine_dynamo_coilif__name__=="__main__":gen=turbine_dynamo_coil.designer.DynamoCoilConfigurationDesigner().design_generator(3,1,{"connector":0# Enabling connectors can lead to invalid designs.})seq=[]forseqingen:passforyinrange(seq.dims[0]):forxinrange(seq.dims[1]):print(seq[y,x].name,end=" ")print()OR-Tools Powered DesignersCertain NuclearCraft Designer designers have OR-Tools powered alternatives. They are generally faster than the normal designers, but are less reliable and may have fewer features.OR-Tools is not a required dependency. Use the following command to install it:pipinstallortoolsThe above usage examples can be done as follows (with missing features omitted):fromnuclearcraft_designer.overhauledimportturbine_rotor_bladeif__name__=="__main__":status,sequence=turbine_rotor_blade.beta_designer.RotorBladeSequenceDesigner().design(10,4.0,{"sic_sic_cmc":1})print(status)forbladeinsequence:print(blade.name,end=" ")print()Note that the OR-Tools powered designer can design 7x7 turbines in a reasonable amount of time, while the normal designer can't do so for 5x5 turbines.fromnuclearcraft_designer.overhauledimportturbine_dynamo_coilif__name__=="__main__":status,configuration=turbine_dynamo_coil.beta_designer.DynamoCoilConfigurationDesigner().design(7,1,{"connector":0# Enabling connectors can lead to invalid designs.})print(status)foryinrange(configuration.dims[0]):forxinrange(configuration.dims[1]):print(configuration[y,x].name,end=" ")print()
Package: nucleAR-fwhm
nuclear_fwhmFull Width at Half Maximum(FWHM) value for required equipment.The highest value of COUNTS: Y2
Its respective CHANNEL number: X2The value of half maximum is at the half of heighest peak
The first value is the point to the left side of the peakThis is a point on the left side of the peak
The COUNT value closest to and lower than half of max, with channel number LESS than highest count channel number: Y1
Its respective channel number: X1The channel number for count value closest and lowest to half of max, with channel number LESS than highest count channel numberThis is the point to the right side of the peak
The COUNT value closest to and lower than half of max, with channel number GREATER than highest count channel number: Y3
Its respective channel number: X3The channel number for count value closest and lowest to half of max, with channel number GREATER than highest count channel numberUSING INSTRUCTIONS:in the required code "from nuc_fwhm import fwhm"to use the function "fwhm(-six numbers as arguments)"the six numbers are X1, X2, X3, Y1, Y2, Y3 i.e. fwhm(X1, X2, X3, Y1, Y2, Y3)
Package: nuclear-rose
ROSE - TheReduced-OrderScatteringEmulatorROSE makes it easy to build and train a scattering emulator. The projectFor any bug reports or feature requests, please make use of the Github issues tab on the repository. We also welcome all pull requests for software, documentation, and user-contributed tutorials!InstallationTo install, run the followingpip install nuclear-roseUsageThe primary class isReducedBasisEmulator. To create an instance, minimally, an instance of theInteractionclass, a set of training points, the energy, and angular momentum need to be specified.For a full set of examples walking through emulation and calibration, check thetutorialsdirectory.
Package: nuclearstate
Nuclear - Reactive state management for pythonAtoms and DerivesThe base element in nuclear is called an atom. You can create one withatom({starting value}).To create a derivative of an atom (or of another derivative) you can user thederivative({source})function.To get or set any atoms or derivatives, you can use the.set()and.get()methods.To add reactions to changed, you can use the.react()method.Example program:base = atom(10) #Creates an atom with value 10
derived = derive(lambda: base.get() * 2) #Creates a derive which will always be equal to base * 2
derived.react(lambda: print('The value of derived was changed))

print(base.get()) # prints 10
print(derived.get()) # prints 20

base.set(20) # prints 'The value of derived was changed'
print(derived.get()) # prints 40Events and MessagesTo allow nuclear to implicitly send events and message, you must initialise it withnuclear.init(globals()).To create a class that can recieve and send messages, it needs to inherit fromReceiver.To respond to events or messages, you can add methods to your class that follow the format:For events,on_{your event name}For messages,receive_{your message name}Then to send events and messages you can use:For events,broadcast({your event name})For messages,send({your message name}, {data})Example program:nuclear.init(globals())

class TestClass(Receiver):
    def __init__(self):
        pass
    def on_TestEvent(self):
        print('Test Event received')
    def receive_TestMessage(self, data):
        print(f'TestMessage sent data {data}')

test1 = TestClass()

broadcast('TestEvent') # prints 'Test Event received'
send('TestMessage', 200) # prints 'TestMessage sent data 200'You can also change the format withnuclear.format({events}, {messages}).Event ModesThe event mode can be changed witheventMode({chosen mode})explicit: Best performance: If you use this mode, you must tag every object that will receive an event or message withnuclear.event_r({event name}, {object})ornuclear.message_r({message name}, {object}).described: Second best performance: If you use this mode, you must run thenuclear.scan()function after you have initialised your objects.predicted: Second worst performance: Automatically calls the scan function when you call your first event or message. May not work if you're objects are initialised after the function is called.implicit: Worst performance: The default option, will always work.
Package: nuc-led
Intel NUC7i[x]BN and NUC6CAY LED ControlThis is a simple python library for ease of integration and use of the kernel modulehere(forked from original work bymilesp20) designed for Intel NUC7i[x]BN and NUC6CAY kits.UsageThis library exposes two classes RingLED and PowerLED to represent the two leds on the NUC which have methods to control their brightness, color and style.Brightness:LED brightness may be set using theset_brightness(level)method where level may take any integer value between0and100Colour:LED color may be set using theset_color(new_color)wherenew_colormay take the values in the following tableLED ColorpowerringamberXcyanXblueXXgreenXoffXXpinkXredXwhiteXyellowXStyle:LED style may be set using theset_style(option)whereoptionmay take the values in the following tableBlink/Fade OptionDescriptionblink_fast1Hz blinkblink_medium0.5Hz blinkblink_slow0.25Hz blinkfade_fast1Hz blinkfade_medium0.5Hz blinkfade_slow0.25Hz blinknonesolid/always on
Package: nuclei
.. raw:: html<embed><p align="center"><img width="300" src="https://github.com/yngtodd/nuclei/blob/master/img/nuclei.png"></p></embed>--------------------------.. image:: https://img.shields.io/pypi/v/nuclei.svg:target: https://pypi.python.org/pypi/nuclei.. image:: https://img.shields.io/travis/yngtodd/nuclei.svg:target: https://travis-ci.org/yngtodd/nuclei.. image:: https://readthedocs.org/projects/nuclei/badge/?version=latest:target: https://nuclei.readthedocs.io/en/latest/?badge=latest:alt: Documentation Status.. image:: https://pyup.io/repos/github/yngtodd/nuclei/shield.svg:target: https://pyup.io/repos/github/yngtodd/nuclei/:alt: Updates======Nuclei======2018 Kaggle Data Science Bowl* Documentation: https://nuclei.readthedocs.io.Features--------* TODOCredits---------This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template... _Cookiecutter: https://github.com/audreyr/cookiecutter.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage=======History=======0.1.0 (2018-01-18)------------------* First release on PyPI.
Package: nucleic
nucleicAnalysis and plotting library for base substitution spectra and signatures.❯pipinstallnucleicFeatures:Model DNA and variant alleles within their local context using an elegant APICombine single nucleotide variants into spectrums of mutagenesisFetch COSMIC signatures of mutation as well as other published signaturesSVG plotting functions for displaying single nucleotide variant spectrumsRead the documentation at:nucleic.readthedocs.iofromnucleicimportfetch_cosmic_signaturesfromnucleic.figuresimportplot_stratton_spectrumsignatures=fetch_cosmic_signatures()canvas,(ax1,ax2)=plot_stratton_spectrum(signatures['Signature 24'])
Package: nucleiparser
Nuclei parserANucleioutput parser for CLIInstallationpipinstallnucleiparserManually installationgit clone https://github.com/sinkmanu/nucleiparser
cd nucleiparser
python3 setup.py installUsageUsage: nparse [options]

Options:
  -h, --help            show this help message and exit
  -f FILE, --file=FILE  FILE with json output. If no FILE, uses stdin
  -c COLUMNS, --colums=COLUMNS
                        Columns to print (e.g. template-id,url,info.severity)
  -s SORT, --sort-by=SORT
                        Sort by arg (e.g. info.severity)
  -P, --pretty          Pretty print (default)
  -C, --csv             CSV print

  FILTER OPTIONS:
    --fs=FILTER, --filter-severity=FILTER
                        Filter level of severity (unknown, info, low, medium,
                        high, critical). Comma separated list for more than
                        one
    --ft=FILTER, --filter-template=FILTER
                        Filter by template-id. Comma separated list for more
                        than one
    --fu=FILTER, --filter-url=FILTER
                        Filter by url. Comma separated list for more than one
    --fh=FILTER, --filter-host=FILTER
                        Filter by host. Comma separated list for more than oneExamplescat example.com_nuclei.json |  nparse                               
+---------------------------------+---------------------------------------------+---------------+
|           template-id           |                     url                     | info.severity |
+---------------------------------+---------------------------------------------+---------------+
|          options-method         |        https://investor.example.com         |      info     |
|          generic-tokens         |        https://investor.example.com         |    unknown    |
|      aws-cloudfront-service     | https://api-weighted-production.example.com |      info     |
|      xss-deprecated-header      |        https://investor.example.com         |      info     |
|      aws-cloudfront-service     |           https://go.example.com            |      info     |
|      aws-cloudfront-service     |        https://clk.email.example.com        |      info     |
|      aws-cloudfront-service     |         https://eclick.example.com          |      info     |
|        aws-bucket-service       |          http://tools.example.com           |      info     |
|        aws-bucket-service       |           https://get.example.com           |      info     |
|      aws-cloudfront-service     |           https://get.example.com           |      info     |
|        aws-bucket-service       |           http://beta.example.com           |      info     |
|      aws-cloudfront-service     |         https://drivers.example.com         |      info     |
|        aws-bucket-service       |          https://take.example.com           |      info     |
|      aws-cloudfront-service     |          https://take.example.com           |      info     |
[REDACTED]HackingPull requests are welcome.LicenseGPL
Package: nucleon
Nucleon is a web microframework, for creating light, fast RESTful services for server-to-server operations.Problem DomainNucleon was created to simplify the process of creating “back end services” - components that provide REST and AMQP interfaces to each other, to front-end web applications, and rarely to the end user. It is not intended to generate HTML, provide developer utilities like users/cookies/sessions, perform internationalisation, and so on - Django (or your microframework of choice) is already excellent at this.This kind of back end service components need to beDistributed - for the purposes of scalability and availablity.Fast - because the back end may be performing dozens of operations for each front-end request.RESTful - because it provides a universal, simple interface that works with off-the-shelf caches, load balancers, etc.Not limited to REST - specifically, it should be possible to loosely couple components over AMQP.REST is primarily useful for synchronous operations - “Do this now and hand me back the result.”AMQP gives loose coupling between components - “Something has happened, you may want to deal with it” or “Do this as soon as possible.”About NucleonNucleon largely consists of glue between existing Python components, primarily gevent, paste, psycopg2, and an AMQP library called Puka.It is deliberately kept simple, with as few layers of indirection as possible. This comes with limitations:There is no ORM included. ORMs obfuscate what queries are actually being executed, and fail to expose the most powerful database features.
We don’t use any kind of database abstraction layer, and thus (so far) only PostgreSQL is supported.For more information,check out the documentation.
Package: nucleopy
nucleopyScientific Python library to easily work with nucleotide data. Users can createDNAandRNAobjects and easily manipulate them
for use in scientific programming.AuthorRohan KoodliTo Usepip install nucleopySee theexamplesfolder for example use cases for nucleopy.Creating a nucleotide objectr=RNA('AGGCUUUACA')d=DNA('ATCGGATCCG')Functionsd.complement()# TAGCCTAGGCd.isComplement('TAAGCG')# Falser.toDNA()# AGGCTTTACARNA-specific functions (requiresViennaRNAinstallation)r.Viennafold()r.ViennaTargetEnergy('(((....)))')
Package: nucleotide
DescriptionAn Scons library which wraps interface of various compilers in to one
universal. Nucleotide allow us to make Scons files avoiding to
explicitly state: platform, compiler, compilerâ€™s version.Quick example:Next line set RTL:settings.accumulate('RTL',{'type':'static','configuration':'debug'})and replace:if(os.platform=='win32'):if(retrieve_compiler_name()=='msvc'):flag='M'if('dynamic'==retrieve_RTL_type()):flag+='D'if('static'==retrieve_RTL_type()):flag+='T'if('debug'==retrieve_configuration_type()):flag+='d'if('release'==retrieve_configuration_type()):passenv.append(CPPFLAGS,[flag])if(retrieve_compiler_name()=='cygwin'):env.append(LINKFLAGS,'-static')if(retrieve_compiler_name()=='mingw'):env.append(LINKFLAGS,'-static')else:if(os.platform=='linux'):if(retrieve_compiler_name()=='gcc'):env.append(LINKFLAGS,'-static').........Install:Start command line and type:pip install nucleotideWant to see more:Wiki page
Package: nucleotides-to-matrices
Nucleotides To MatricesUtility functions for conversion between IUPAC nucleotide codes and one-hot-like encoded sequence matrices, with extensions for RNA.Free software: MIT licenseDocumentation:https://nucleotides-to-matrices.readthedocs.io.FeaturesConversion between strings of single-character IUPAC nucleotides and one-hot-like encodingsIncludes degenerate, gap, and RNA codesCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2022-09-20)First release on PyPI.
Package: nucleus-sdk
NucleusNOTE!Nucleus isalpha-stagesoftware. It means nucleus hasn't been security audited and programming APIs and data formats can still change.Nucleus is a collection of low-level tools for decentralized media management, that simplifies the processing, storage, and distribution of multimedia. Its key features include:Metadata harvesting: Simplify the extraction and collection of metadata associated with multimedia resources.Multimedia processing: Robust tools for processing multimedia content, including transcoding and image manipulation.Multimedia storage: Enables secure and efficient storage of multimedia files within the IPFS ecosystem.Metadata distribution: Facilitates seamless distribution of metadata across federated networks.Web3 instruments: Integrates with Web3 technologies, leveraging blockchain and smart contracts.HelpSeedocumentationfor more details.InstallingTry nucleus! Install is simple using pip:pip install nucleus-sdkBefore usingnucleus, FFmpeg and IPFS must be installed:Check the official docs toinstall IPFS.There are a variety of ways to install FFmpeg, such as theofficial download links, or using your package manager of choice (e.g.sudo apt install ffmpegon Debian/Ubuntu,brew install ffmpegon OS X, etc.).ExamplesFull PipelineDevelopmentSome available capabilities for dev support:Install:make installTests:make testDebug:make debugLint:make lintLint Fix:make formatNote: Runmake helpto check for more capabilities.More infoCheck our roadmap atsynapsemedia.ioFollow us ontwitter|redditGet in touch with us onslack|discordFor help or reporting bugs, please create anissue.