Saravanan666/pypi-org huggingface dataset:
Package: nolearn-utils
# nolearn-utils[![Build Status](https://travis-ci.org/felixlaumon/nolearn_utils.svg?branch=master)](https://travis-ci.org/felixlaumon/nolearn_utils)Iterators and handlers for nolearn.lasagne to allow efficient real-time image augmentation and training progress monitoring## Real-time image augmentation- `ShuffleBatchIteratorMixin` to shuffle training samples- `ReadImageBatchIteratorMixin` to transform image file path into image as color or as gray, and with specified image size- `RandomFlipBatchIteratorMixin` to randomly (uniform) flip the image horizontally or verticaly- `AffineTransformBatchIteratorMixin` to apply affine transformation (scale, rotate, translate) to randomly selected images from the given transformation options - `BufferedBatchIteratorMixin` to perform transformation in another thread automatically and put the result in a buffer (default size = 5)- `LCNBatchIteratorMixin` to perform local contrast normalization to images- `MeanSubtractBatchIteratorMixin` to subtract samples from the pre-calculated meanExample of using iterators as below:train_iterator_mixins = [ShuffleBatchIteratorMixin,ReadImageBatchIteratorMixin,RandomFlipBatchIteratorMixin,AffineTransformBatchIteratorMixin,BufferedBatchIteratorMixin,]TrainIterator = make_iterator('TrainIterator', train_iterator_mixins)train_iterator_kwargs = {'buffer_size': 5,'batch_size': batch_size,'read_image_size': (image_size, image_size),'read_image_as_gray': False,'read_image_prefix_path': './data/train/','flip_horizontal_p': 0.5,'flip_vertical_p': 0,'affine_p': 0.5,'affine_scale_choices': np.linspace(0.75, 1.25, 5),'affine_translation_choices': np.arange(-3, 4, 1),'affine_rotation_choices': np.arange(-45, 50, 5)}train_iterator = TrainIterator(**train_iterator_kwargs)The `BaseBatchIterator` is also modified from `nolearn.lasagne` to provide a progress bar for training process for each iteration## Handlers- `EarlyStopping` stops training when loss stop improving- `StepDecay` to gradually reduce a parameter (e.g. learning rate) over time- `SaveTrainingHistory` to save training history (e.g. training loss)- `PlotTrainingHistory` to plot out training loss and validation accuracyover time after each iteration with matplotlib## ExamplesExample code requires `scikit-learn`### MNIST`example/mnist/train.py` should produce a model of about 99.5% accuracy in less than 50 epoch.MNIST data can be downloaded from[Kaggle](https://www.kaggle.com/c/digit-recognizer).### CIFAR10CIFAR10 images can be downloaded from [Kaggle](https://www.kaggle.com/c/cifar-10/data). Place the downloaded data as follows:examples/cifar10├── data│   ├── train│   |   ├── 1.png│   |   ├── 2.png│   |   ├── 3.png│   |   ├── ...│   └── trainLabels.csv└── train.py`example/cifat10/train.py` should produce a model at about 85% accuracy at 100 epoch. Images are read from disk and augmented at training time (from another thread)## TODO- [ ] Embarrassingly parallelize transform## LicenseMIT & BSD
Package: noload
NoLOAD: Non Linear Optimization by Automatic DifferentiationWe are happy that you will use or develop the NoLOAD.
It is anOpen Sourceproject located on GitLab athttps://gricad-gitlab.univ-grenoble-alpes.fr/design_optimization/noloadIt aims atsolving constrained optimizationproblem for the design of engineering systemsProject PresentationNoLOAD:Please have a look to NoLOAD presentation :https://noload.readthedocs.io/en/latest/A scientific article presenting NoLOAD is available here:Agobert Lucas, Hodencq Sacha, Delinchant Benoit, Gerbaud Laurent, Frederic Wurtz, “NoLOAD, Open Software for Optimal Design and Operation using Automatic Differentiation”, OIPE 2020, Poland, 09-2021.https://hal.archives-ouvertes.fr/hal-03352443Please cite us when you use NoLOAD.NoLoad' CommunityPlease use the git issues system to report an error:https://gricad-gitlab.univ-grenoble-alpes.fr/design_optimization/noloadOtherwise you can also contact de developer team using the following email adress:benoit.delinchant@G2ELab.grenoble-inp.frInstallation HelpYou can install the library as a user or as a developer. Please follow the corresponding installation steps below.PrerequisitePlease install Python 3.6 or laterhttps://www.python.org/downloads/Installation as a userPlease install NoLOAD with pip using the command prompt.If you are admin on Windows or working on a virtual environmentpip install noloadIf you want a local installation or you are not adminpip install --user noloadIf you are admin on Linux:sudo pip install noloadLaunch the examples to understand how the NoLOAD works:python noload/01-UnconstrainedMonoObjective.py
python noload/02-ConstrainedMonoObjective.py
python noload/03-ConstrainedMultiObjective.pyEnjoy your time using NoLOAD !Library Installation RequirementsAutograd >= 1.3
Matplotlib >= 3.0
Scipy >= 1.2
Pandas >= 1.3.5
tk >= 0.1.0
openpyxl >= 3.1.2Main Authors:B. DELINCHANT, L. GERBAUD, F. WURTZPartners:Vesta-System:http://vesta-system.fr/Acknowledgments:LicenceThis code is under the Apache License, Version 2.0
Package: nomad-camels-driver-agilent-34401a
NOMAD-CAMELS Driver for Agilent 34401ADriver of the Agilent 34401A digital multimeter written for the measurement softwareNOMAD-CAMELS.FeaturesThis driver currently supports measuring the DC and AC voltage and current, as well as resistance measurements in 2- and 4-wire configuration.The settable configuration is the number of PLC for a measurement.DocumentationFor more information and documentation visit the NOMAD-CAMELSdocumentation.
Package: nomad-camels-driver-cam-control-pylablib
NOMAD-CAMELS Driver for PyLabLibs Cam-ControlConnects to the server of Cam-Control to save, snap and request frames. Written for the measurement softwareNOMAD-CAMELS.More information on how to use it can be foundhereChangelog0.1.4Improved frame acquisition. Increased speed and made it more stable.0.1.3Changedgrab_backgroundto wait for the background to be grabbed before continuing.Changedget_single_frameandget_background_frameto wait for the frames to actually be available and then read them.Added device setting that allows you to choose if you want to overwrite the exposure time set in the GUI.0.1.2Removedread_waitas it is no longer needed.Changed the end of the file name when using suffixes to betime.time()and notdatetime.date.today()0.1.1Optimized reading of frames into python. Drastically increased reading speed.0.1.0Core functions. Not optimized.DocumentationThe backbone of this driver is the cam-control software byPyLabLib. The software must be running and set up toallow server communication.
CAMELS then connects to the server and sends requests to the server. You must set up cam-control via its own GUI and you can then use CAMELS to actually save images with the exact settings from the GUI.
Currently you can set the exposure time, save snapshots locally and save continuous frames locally as well as save frames into the HDF5 files of CAMELS. You can also save the background image which is currently being subtracted. The direct saving of frames to HDF5 files is quite slow as the server takes some time to answer (about 1 second per frame even for low exposure times of < 100 ms).For more information and documentation visit ourGitHub.iopage.
Package: nomad-camels-driver-demo-instrument
NOMAD-CAMELS Driver a Demo DeviceSimulated demo device for testing, written for the measurement softwareNOMAD-CAMELS.FeaturesThis instrument simulates a 3-fold axis, where the read values of the detectors all deliver values of a Gaussian peak, depending on the axis' motor-value.Configurable are the shape of the Gaussians and noise-values for the detector-readout and motor.DocumentationFor more information and documentation visit the NOMAD-CAMELSdocumentation.
Package: nomad-camels-driver-keithley-2182a
NOMAD-CAMELS Driver for Keithley Nanovoltmeter 2182aThis is a basic driver designed to be able to control the Keithley nanovoltmeter
2182a in NOMAD-CAMELS. This integration does not fully cover the device's
capabilities, but it can be used as a base to develop a more feature-rich driver
for this device.Useful LinksNOMAD-CAMELS DocumentationNOMAD-CAMELS: create new instrument drivers documentationKeithley nanovoltmeter 2182a manual
Package: nomad-camels-driver-keithley-6221
NOMAD-CAMELS Driver for Keithley Current Source 6221This is a basic driver designed to be able to control the Keithley current
source 6221 in NOMAD-CAMELS. This integration does not fully cover the device's
capabilities, but it can be used as a base to develop a more feature-rich driver
for this device.Useful LinksNOMAD-CAMELS DocumentationNOMAD-CAMELS: create new instrument drivers documentationKeithley current source 6221 manual
Package: nomad-camels-driver-lakeshore-f41
NOMAD-CAMELS Driver for Lakeshore teslameter F41This is a basic driver designed to be able to control the Lakeshore teslameter
F41 in NOMAD-CAMELS. This integration does not fully cover the device's
capabilities, but it can be used as a base to develop a more feature-rich driver
for this device.Useful LinksNOMAD-CAMELS DocumentationNOMAD-CAMELS: create new instrument drivers documentationLakeshore teslameter F41 manual
Package: nomad-camels-driver-mechonics-cu30cl
NOMAD-CAMELS Driver for Mechonics CU30CLDriver of the Mechonics CU30 closed loop piezo controller written for the measurement softwareNOMAD-CAMELS.InstallationTo use this driver you need the .dll-files provided by mechonics. We do not upload these files to our GitHub. To make sure everything works, copy the files "Servo3AxWrap.dll" and "Servo3AxUSB2.dll"/"Servo3AxUSB2_x64.dll" to the folder of this driver. You can get these files from Mechonics.FeaturesThis driver includes a python wrapper for the C-based instrument-dll.Positions for all 3 axes may be set and read. The stage's time constant and speed can be set as well.The stage-control of NOMAD-CAMELS is fully supported.DocumentationFor more information and documentation visit the NOMAD-CAMELSdocumentation.
Package: nomad-camels-driver-pi-stage-e709
NOMAD-CAMELS Driver for PI stage E709Driver for the E709 piezo stage by Physik Instrumente (PI) written for the measurement softwareNOMAD-CAMELS.InstallationThis driver needs the vendor's .dll files.
Make sure you have the PI software suite installed (seePI-Homepage).FeaturesProvides reading / setting the current position of the stage. Closed loop mode can be turned on and off.
A function forDocumentationFor more information visit thedocumentation.
Package: nomad-camels-driver-rhode-and-schwarz-smp-02
NOMAD-CAMELS Driver for Rhode and Schwarz Microwave Amplifier SMP 02This is a basic driver designed to be able to control the
Rhode and Schwarz microwave amplifier SMP 02
in NOMAD-CAMELS. This integration does not fully cover the device's
capabilities, but it can be used as a base to develop a more feature-rich driver
for this device.Useful LinksNOMAD-CAMELS DocumentationNOMAD-CAMELS: create new instrument drivers documentationRhode and Schwarz microwave amplifier SMP 02 manual
Package: nomad-camels-driver-swabianinstruments-timetagger
NOMAD-CAMELS Driver for SwabianInstruments TimeTaggerDriver for the TimeTagger by SwabianInstruments written for the measurement softwareNOMAD-CAMELS.InstallationTo use this driver, you need theTimeTagger software from SwabianInstruments.After the installation, if the driver does not yet work, locate the files "TimeTagger.py", "_TimeTagger.h" and "_TimeTagger.cxx" and copy them into the driver's directory.FeaturesCurrently supported measurement types are Countrate, Correlation and Count-Between-Markers.DocumentationFor more information visit thedocumentation.
Package: nomad-camels-driver-thorlabs-ddr-25
NOMAD-CAMELS Driver for Thorlabs Rotation Stage DDR 25This is a basic driver designed to be able to control the Thorlabs rotation
stage in NOMAD-CAMELS. Its implementation relies onpylablib. This integration
does not fully cover the device's capabilities, but it can be used as a base to
develop a more feature-rich driver for this device.Useful LinksNOMAD-CAMELS DocumentationNOMAD-CAMELS: create new instrument drivers documentationpylablib documentation on the rotation stageThorlabs rotation stage DDR 25 manual
Package: nomad-camels-driver-thorlabs-TLPM
NOMAD-CAMELS Driver for Thorlabs TLPMDriver for Thorlabs USB power-meters written for the measurement softwareNOMAD-CAMELS.InstallationTo use this driver, files from Thorlabs are needed. You can download the software provided by Thorlabs ontheir website. If the driver does not work right away after installing the software, locate the files "TLPM.py" and "TLPM_64.dll" and copy them to driver's directory. Make sure you use the TLPM drivers in the Thorlabs Driver Switcher.FeaturesThe wavelength can be set and the power can be read.DocumentationFor more information visit thedocumentation.
Package: nomad-camels-driver-trinamic-tmcm-1110
NOMAD-CAMELS Driver for Trinamic TMCM 1110Driver for the TMCM 1110 control board by Trinamic written for the measurement softwareNOMAD-CAMELS.FeaturesSetting and reading the steppers position. Support of different reference search modes, setting of acceleration and velocity.DocumentationFor more information visit thedocumentation.
Package: nomad-camels-driver-voltcraft-pps
NOMAD-CAMELS Driver for Voltcraft PPSDriver for communicating with a Voltcraft PPS power supply written for the measurement softwareNOMAD-CAMELS.Implements theVISA_Device,VISA_Signal_RO, andVISA_Signalclasses used in many device drivers.DocumentationFor more information and documentation visitthis page.
Package: nomad-camels-driver-zaber-rst240b-e08
NOMAD-CAMELS Driver for Zaber rotation stage RST240B E08This is a basic driver designed to be able to control the Zaber rotation stage
RST240B E08 in NOMAD-CAMELS. This integration does not fully cover the device's
capabilities, but it can be used as a base to develop a more feature-rich driver
for this device.Useful LinksNOMAD-CAMELS DocumentationNOMAD-CAMELS: create new instrument drivers documentationZaber rotation stage RST240B E08 manual
Package: nomad-camels-driver-zurich-instruments-mfli
NOMAD-CAMELS Driver for Zurich Instruments lock-in amplifier MFLIThis is a basic driver designed to be able to control the Zurich Instruments
lock-in amplifier MFLI in NOMAD-CAMELS. Its implementation relies onzhinst.
This integration does not fully cover the device's capabilities, but it can be
used as a base to develop a more feature-rich driver for this device.Some of the functionality accessible over the web interface is implemented.Other functionality, that concerns setting values can also be accessed via theset_doubleandset_intfunctions: call the channelset_doubleorset_intand pass a string of the path to the functionality of the lock-in (without the
device name) with a ':' and then the value you want to set. The string should
conform with this format: 'PATH/TO/FUNCTIONALITY:VALUE'. Do not forget the
inverted commas in CAMELS, otherwise it will be interpreted as python code.Many parameters that can be set, but do not need to be set via a variable, such
as the number of the harmonic you want to measure, are included in the
configuration to give a better overview.Useful LinksNOMAD-CAMELS DocumentationNOMAD-CAMELS: create new instrument drivers documentationZurich Instruments lock-in amplifier MFLI manual
Package: nomad-cbec-cli
This is the API descriptor for the Nomad CBEC, responsible for CBEC customer queries.&lt;br&gt;&lt;br&gt; Developed by &lt;a href&#x3D;&quot;https://samarkand.global&quot;&gt;Samarkand Global&lt;/a&gt; in partnership with &lt;a href&#x3D;&quot;https://www.sf-express.com/cn/sc/&quot;&gt;SF Express&lt;/a&gt;&lt;br&gt;&lt;br&gt; Install for node with &lt;br&gt;&#x60;npm install nomad_cbec_cli&#x60;&lt;br&gt;&lt;br&gt; Install for python with &lt;br&gt;&#x60;pip install nomad_cbec-cli&#x60;&lt;br&gt;  # noqa: E501
Package: nomad-cbec-id-cli
nomad-cbec-id-cliThis is the API descriptor for the Nomad CBEC, responsible for CBEC customer ID check.
Developed bySamarkand Global <https://samarkand.global>_This Python package is automatically generated by theOpenAPI Generatorproject:API version: 1.5.0Package version: 1.5.1Build package: org.openapitools.codegen.languages.PythonClientCodegenRequirements.Python >= 3.6Installation & Usagepip installIf the python package is hosted on a repository, you can install directly using:pipinstallgit+https://github.com/GIT_USER_ID/GIT_REPO_ID.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)Then import the package:importnomad_cbec_id_cliSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importnomad_cbec_id_cliGetting StartedPlease follow theinstallation procedureand then run the following:importtimeimportnomad_cbec_id_clifrompprintimportpprintfromnomad_cbec_id_cli.apiimporthealth_api# Defining the host is optional and defaults to https://nomad.samarkand-global.cn/cbec# See configuration.py for a list of all supported configuration parameters.configuration=nomad_cbec_id_cli.Configuration(host="https://nomad.samarkand-global.cn/cbec")# Enter a context with an instance of the API clientwithnomad_cbec_id_cli.ApiClient(configuration)asapi_client:# Create an instance of the API classapi_instance=health_api.HealthApi(api_client)try:# healthapi_response=api_instance.get_health()pprint(api_response)exceptnomad_cbec_id_cli.ApiExceptionase:print("Exception when calling HealthApi->get_health:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://nomad.samarkand-global.cn/cbecClassMethodHTTP requestDescriptionHealthApiget_healthGET/healthhealthHealthApiget_metricsGET/metricsmetricsUserApiid_checkGET/ididCheckDocumentation For ModelsApiResponseApiResponseDataDocumentation For Authorizationca_keyType: API keyAPI key parameter name: AuthorizationLocation: URL query stringAuthorpaul@samarkand.globalNotes for Large OpenAPI documentsIf the OpenAPI document is large, imports in nomad_cbec_id_cli.apis and nomad_cbec_id_cli.models may fail with a
RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:Solution 1:
Use specific imports for apis and models like:from nomad_cbec_id_cli.api.default_api import DefaultApifrom nomad_cbec_id_cli.model.pet import PetSolution 1:
Before importing the package, adjust the maximum recursion limit as shown below:import sys
sys.setrecursionlimit(1500)
import nomad_cbec_id_cli
from nomad_cbec_id_cli.apis import *
from nomad_cbec_id_cli.models import *
Package: nomad-deploy
# Nomad DeployA Python 3 script that renders Jinja template and schedules a new job on Nomad## BuildingEasy! Run:python setup.py sdist bdist_wheel && twine upload dist/*You have to be logged in and have the correct access right tonomad-deployin pip.## InstallingEven easier:pip install nomad-deployNownomad-deploycommand is available system-wide.## RunningAfter installingnomad-deploywith pip, running it is easynomad-deploy –varFile variables.yml template.nomadAvailable keys:
*–var “FOO=BAR”- set variable value, can be specified more than once to set more variables
*–varFile “variables.yml”- load variables from a Yaml file
*–render- output resulting template to stdout
*–dry- do not run the job, only test if resources can be allocated
*–recursive- if you’re using variables in the varFile, you can recursively re-render the template until there are no more substitutions you can make; this will break control statements in template file
Package: nomad-dev
Welcome to Nomad!Nomad is the easiest way to run any code on the cloud! Nomad is designed to be used with Prism projects, but it can be used to any arbitrary code (e.g., functions, scripts, Jupyter notebooks, or entire projects)!Getting StartedNomad can be installed viapip. Nomad requires Python >= 3.8.pip install --upgrade pip
pip install nomad-devThen, initialize a configuration file with thenomad initCLI command. This command will automatically prompt you for all the information needed to configure your cloud environment.$ nomad init

What type of cloud environment do you want to use [ec2]? ec2
What would you like the name of your configuration file to be (default: nomad.yml)?

<HH:MM:SS> | INFO | Building configuration file...
<HH:MM:SS> | INFO | Done!To run your project on your cloud environment, use thenomad buildcommand. Under the hood, this command:Builds the cloud environment according to instructions contained in the configuration file, andExecutes your project on the cloud.$ nomad build -f nomad.yml
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Created key pair my_cloud_agent
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Created security group with ID sg-XXXXXXXXXXXXXXXXX in VPC vpc-XXXXXXXXXXXXXXXXX
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Created EC2 instance with ID i-XXXXXXXXXXXXXXXXX
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Instance i-XXXXXXXXXXXXXXXXX is pending... checking again in 5 seconds
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Instance i-XXXXXXXXXXXXXXXXX is pending... checking again in 5 seconds
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Instance i-XXXXXXXXXXXXXXXXX is pending... checking again in 5 seconds
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Instance i-XXXXXXXXXXXXXXXXX is pending... checking again in 5 seconds
...
...
<HH:MM:SS> | INFO  | my_cloud_agent[run]    | Done!
<HH:MM:SS> | INFO  | my_cloud_agent[delete] | Deleting key-pair my_cloud_agent at /../../../my_cloud_agent.pem
<HH:MM:SS> | INFO  | my_cloud_agent[delete] | Deleting instance i-XXXXXXXXXXXXXXXXX
<HH:MM:SS> | INFO  | my_cloud_agent[delete] | Deleting security group sg-XXXXXXXXXXXXXXXXXAlternatively, you could use thenomad applycommand to first build the cloud environment and then usenomad runto actually run the code.Check out ourdocumentationto see the full list of CLI command and their usage!Cloud environmentsNomad currently supports the following cloud environments (which we call "Agents"):ec2Product RoadmapWe're always looking to improve our product. Here's what we're working on at the moment:Additional Agents: GCP Virtual Machines, EMR clusters, Databricks clusters, and more!Managed service: Managed platform to easily view, manage, and schedule your different cloud deploymentsLet us know if you'd like to see another feature!
Package: nomade
Python Migration Manager for Humans :camel:Nomade is a simple migration manager tool that aims to be easy to integrate with any ORM (e.g.SQLAlchemy,Peewee,Pony) and database (e.g.SQLite,MySQL,PostgreSQL). It is basically a command-line interface (CLI) tool that manages migrations (Python files) by applying changes to the database schema and storing the current migration ID.This tool was inspired byalembic(if you are using SQLAlchemy as ORM you should consider using alembic).Note: this project is still under development so you may find bugs. If you find any bug, feel free to contribute by creating an issue and/or submitting a PR to fix it.InstallationUsepipto install Nomade:$pipinstallnomadeQuick StartInitialize aNomadeproject:$nomadeinitIt will create the following project structure:.
├── nomade
│   ├── template.py.j2
│   └── migrations
└── pyproject.tomlDefineNomadesettings in thepyproject.tomlfile, for example:[tool.nomade]migrations="nomade/migrations"template="nomade/template.py.j2"connection-string="sqlite:///nomade.db"date-format="%d/%m/%Y"name-format="{date}_{time}_{id}_{slug}"Then, create your first migration:$nomademigrate"Create first table"Implement theupgradeanddowngradefunctions in the migration file.Then apply the migration to the database:$nomadeupgradeheadTo discover moreNomadefeatures please read the documentation or call for help:$ nomade --help

Usage: nomade [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  current    Show the current migration.
  downgrade  Downgrade migrations.
  history    Show migrations history.
  init       Init a Nomade project.
  migrate    Create a new migration.
  stamp      Stamp a specific migration to the database.
  upgrade    Upgrade migrations.
  version    Show Nomade version.How to ContributeCheck for open issues or open a fresh one to start a discussion around a feature idea or a bug.Become more familiar with the project by reading theContributor's Guide.