Saravanan666/pypi-org huggingface dataset:
Package: labscript-devices
thelabscript suite» labscript-devicesPlugin architecture for controlling experiment hardwareA modular and extensible plugin architecture to control experiment hardware using thelabscript suite.Thelabscript suitesupports a range of commercial and open-source hardware, and is modular by design. Adding support for new devices involves writing Python functions for a well-defined set of primitives to program instructions, and transition between buffered I/O and manual states. See thedocumentationfor more details on adding new devices.Supported hardwareThe following devices have been implemented in thelabscript suite:†AlazarTechPCI Express Digitizers (e.g.ATS9462; PR#41)LightCrafter DMDDigital Micro-mirror Device (PR#43)MOGLabs Agile RF Synthesizers(ARF/XRF)National Instruments Data Acquisition(DAQmx) devices:cDAQ-9184CompactDAQ ChassisPCI 6251Multifunction I/O DevicePCI 6533/6534High-Speed Digital Pattern I/OPCI-6713Analog Output DevicePCI-6733Analog Output DevicePCI-DIO-32HS High-Speed Digital I/OPCIe-6363Multifunction I/O DevicePCIe-6738Analog Output DevicePXI-6733PXI Analog Output ModulePXIe-6361PXI Multifunction I/O ModulePXIe-6535PXI Digital I/O ModulePXIe-6738PXI Analog Output ModuleUSB-6008Multifunction I/O DeviceUSB-6229Multifunction I/O DeviceUSB-6343Multifunction I/O DeviceQuicksyn FSW-0010Microwave Synthesizer (formerly PhaseMatrix)Note:Since v2.5.0 (June 2019),labscript_devices.NI_DAQmxcan be used to automatically generate a labscript device class foranyNI-DAQmx device! (PR#56)NovaTech DDS9m170MHz Four Channel Direct Digital Synthesized Signal Generator (seeblog post)OpalKelly XEM3001FPGA Boards used by the Cicero control system (PR#50)PineBlasterOpen-source Digital Pattern GeneratorPrawnBlasterOpen-source pseudoclock based on the $4 Raspberry Pi PicoSpinCoreProgrammable Pulse Generators and Direct Digital SynthesisPulseBlasterDDS-II-300-AWGPulseBlasterESR-PROPulseBlasterESR-CompactPCIPulseBlastere.g. SP2 Model: PB24-100-32kPulseBlasterUSBTektronix oscilloscopes(PR#61)ZaberMotion Controllers, e.g. linear translation stages (PR#85)Supported camerasThe following cameras are implemented by subclassinglabscript_devices.Camera, a Python-based camera server which can be controlled directly fromblacs.FLIRcameras (e.g.FlyCapture 2) using the free PyCapture2 API (PR#71)Andorcameras (PR#80)Basler pylon(PRs#69and#74).Any camera compatible with National InstrumentsIMAQdx(PRs#70,#72,#73,#77,#79,#83).This includes most cameras compliant with theGigE Visioninterface standard, such asAllied Visioncameras.† We do not endorse the use of any particular hardware.Installationlabscript-devices is distributed as a Python package onPyPIandAnaconda Cloud, and should be installed with other components of thelabscript suite. Please see theinstallation guidefor details.
Package: labscript-utils
thelabscript suite» labscript-utilsShared modules used by thelabscript suiteShared modules used by thelabscript suite. Includes a graphical exception handler, debug tools, configuration management, cross-platform filepath conversions, physical unit conversions and custom GUI widgets.Installationlabscript-utils is distributed as a Python package onPyPIandAnaconda Cloud, and should be installed with other components of thelabscript suite. Please see theinstallation guidefor details.
Package: lab-space
Lab-SpaceThis package provides user friendly tools for running multi-threaded experiments, saving and analyzing dataPlease see ourDocumentation,Github source code,
and install fromPyPICitationIf you are using this in your work, please cite as@misc{beard2023labspace,
    author = {Beard, Jared J.},
    title = {lab-space: A tool for easier experimentation},
    year = {2023},
    publisher = {GitHub},
    journal = {GitHub repository},
    howpublished = {\url{https://github.com/jaredjbeard/lab-space}},
}
Package: labssh
ssh-for-labA script which can directly login the lab's server without knowing the IP.The script works very simply. Check if the hostname is 'lab'. if so, find the newest IP address from the website, replace hostname with IP address, and then give the transformed command to 'os system'.InstallationpipinstalllabsshHow To Usejust print IPlabsshuse 'lab' as hostname to login lab's serverlabsshroot@labjust use as sshlabsshroot@172.26.153.20-p220
Package: labstep
Python SDK for working with the Labstep APIInstallationpip install labstepUsageimport labstep

# Login to your Labstep account
user = labstep.login('myaccount@labstep.com', 'mypassword')

# Get a list of your experiments
experiments = user.getExperiments(count=10)

# Get a specific experiment
my_experiment = experiments[0]

# Get a specific protocol
protocols = user.getProtocols()
my_protocol = protocols[0]

# Attach the protocol to the experiment
result = my_experiment.addProtocol(my_protocol)For full list of available methods see:https://labsteppy.readthedocs.io/en/latest/
Package: lab-student-survey
Lab Student SurveyPython package for lab student survey.
A single command fetches the spreadsheet generated from Google Forms and uploads the analysis results to Google Drive.UsageCreatestudent-lab-survey(or any name) project in Google Cloud Platform.EnableGoogle Drive APIin Google Cloud Platform.Create aService Accountin Google Cloud Platform.Download theService Accountcredentials as JSON in Google Cloud Platform and save it asservice-secrets.jsonin the working directory or set it asGDRIVE_SERVICE_ACCOUNTenvironment variable (via GitHub Secrets).Createstudent-lab-survey(or any name) folder in Google Drive.Add theService Accountemail to thestudent-lab-surveyfolder withEditorpermissions.Create aGoogle Formfor the lab student survey. The second question should be the name of the supervisor.Create aGoogle Sheetin thestudent-lab-surveyfolder from theGoogle Form.Createmetadata.csvandmetadata_group_name.csvin the working directory orstudent-lab-surveyfolder in Google Drive to specify the question groups. The former will be automatically generated in the working directory if it does not exist. The latter is optional.Environment VariablesSet theGoogle SheetID asLAB_STUDENT_SURVEY_FILE_IDenvironment variable (via GitHub Secrets).Set thestudent-lab-surveyfolder ID asLAB_STUDENT_SURVEY_FOLDER_IDenvironment variable (via GitHub Secrets). (Optional.) If not set, the parent folder ID of theGoogle Sheetwill be used.(Set theService Accountcredentials asGDRIVE_SERVICE_ACCOUNTenvironment variable (via GitHub Secrets).)Running commandslssGithub Actionsname:Run lab-student-surveyon:schedule:# every day at 00:00 UTC-cron:"00***"workflow_dispatch:jobs:run:runs-on:ubuntu-lateststeps:-uses:actions/checkout@v3-name:Install wkhtmltopdfrun:sudo apt-get install -y wkhtmltopdf-name:Install and run lab-student-surveyrun:pipx run lab-student-surveyenv:LAB_STUDENT_SURVEY_FILE_URL:${{ secrets.LAB_STUDENT_SURVEY_FILE_URL }}LAB_STUDENT_SURVEY_FOLDER_URL:${{ secrets.LAB_STUDENT_SURVEY_FOLDER_URL }}GDRIVE_SERVICE_SECRETS:${{ secrets.GDRIVE_SERVICE_SECRETS }}InstallationInstall this via pip or pipx (or your favourite package manager):pipxinstalllab-student-surveyAlternativesAs far as I could find, there is no repository on GitHub for this particular topic. Instead, you may want to check out the following alternative websites. However, as there are too few people in a lab, with the effect of diminishing anonymity, most of these websites do not seem to attract many reviews.国内理系研究室のクチコミサイト｜OpenLab:募集停止中, 投稿するとAmazonギフト券（100円）がもらえる, ほとんど情報なし(100程度?)LabBase 研究室サーチ:入力方法不明, 上よりも情報なし研究室ナビ: リンク切れForms研究室　口コミ -満載 -学べます - Search / X海外PI Review: 231 reviews (2021/09/21)GradPI: 329 reviews (2023/09/21), Must have a .edu or .ac.uk domain email address to even view the site.RMGA: 3 reviews? (2021/09/21)ratemypi.com, qcist.com: リンク切れ한국에너지공과대학교 에너지공학부 구근호 - 김박사넷: かなり多い(1000以上?)pi rate website phd site:www.reddit.com - Google SearchContributors ✨Thanks goes to these wonderful people (emoji key):This project follows theall-contributorsspecification. Contributions of any kind welcome!
Package: lab-text-processing
Lab Text ProcessingLabHacker's Toolbox to Text ProcessingInstallpip install lab-text-processingUsageFirst of all you need to install all mandatory nltk data:from lab_text_processing.nltk import download_modules
download_modules()from lab_text_processing.pre_processing import bow
bow, stem_reference = bow.('Texto que será transformado em uma Bag-of-Words',
                           extra_stopwords=('lista', 'de', 'stopwords', 'adicionais'))
Package: labtool
labtoolA tool to analyze lab report filesInstalling$pipinstalllabtoolUsage$labtool--help
usage:labtool[-h][-f{tab,csv,json}][-oOUTPUT][-v][files...]Atooltoanalyzecompatiblelabreportfiles.

positionalarguments:filesreportfilestoanalyze(PDF)optionalarguments:-h,--helpshowthishelpmessageandexit-f{csv,json,tab},--format{csv,json,tab}outputformat-oOUTPUT,--outputOUTPUToutputtofileinsteadofconsole-v,--verboseshowadditionalinfo
Package: labtools-arna
LabToolsThis is a Python Package written during the physics laboratory courses that I have
attended at the University of Pisa.It can be used for fitting data, make plots, formatting data for LaTex
documents and generating tables. It is fully compatible with the uncertainties package.InstallationThe easiest way to install LabTools is usingpip:pip install labtools-arnaIf you don't like pip you can just clone the repository and use the code directly.UsageTo use the packcage just type:import LabTools[explain better!]DocumentationsUnfortunately, there isn't structured documentation yet. There are many examples of usage in the repository I used for the Laboratory 3 Course at UniPi. You can find the source code athttps://gitlab.com/l.arnaboldi/laboratorio-3.If you would like to use this package and you have questions, feel free to write me an email (luca@arnaboldi.lu). I will be happy to help you with using LabTools!What are lab2 and lab1 verions?In the folderslab1andlab2there are old files I used in the lab before LabTools. All their functionalities have been reimplemented in LabTools, I keep them only for historical reasons.
Package: labtrade
labtradeA visual tool to support the development of strategies in Quantitative Finance.Getting StartedRequirementsPyQt5==5.15.6
PyQt5-sip==12.9.0
PyQt5-Qt5==5.15.2
pyqtgraph==0.11.0
pandas==1.1.5
numpy==1.19.5
sklearn==1.0.1Installationhttps://github.com/fab2112/labtrade.gitFeaturesSupport for develop strategies in Tecnhical analisys / Machine learning / Reinforcement learningFuture / Spot markets strategiesStrategy backtestAnalyse of performance / risk (Equity-curve / Drawndowns / Sharpe-Ratio / Sortino / Calmar)Market emulation (stop-loss, stop-gain, maker-fee's)Analyse of continue rates in real dataUser-friendly visual for quantitative analysis
Package: labugr
# LabUGRCompilation of functions for signal analysis in python.Easy to install and use multi-platform complete numeric computation environment for
python>=3.4.*. The aim of this library is to provide a smooth introduction to python
for first and second year students of the university of Granada, Spain through the
following classes: ‘Sistemas Lineales’ - ‘Linear Systems’ and ‘Señales digitals’ -
‘Digital Signals’.Includes functions and modules from the following packages: ‘numpy’, ‘mpmath’,
‘pyaudio’, ‘audioread’, ‘matplotlib’, ‘scipy’. As well as other functions created
by Luis Serra Garcia. This project is under the MIT license:Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Package: la-businesses
la-businessesDescriptionThis script downloads and processes the listing of all active businesses
currently registered with the City of Los Angeles Office of Finance.
An 'active' business is defined as a registered business whose owner has not
notified the Office of Finance of a cease of business operations.
Update Interval: Monthly.Data source:https://data.lacity.org/A-Prosperous-City/Listing-of-Active-Businesses/6rrh-rzuaThis script fetches the data and saves it locally as a CSV file. It also selects
a subset of businesses with operation starting date within the last NDAYS days
(default 30) and saves this as a separate CSV file. Finally, it creates and
saves a KML file from the subset, useful for importing into Google Maps or
similar software to visualize the distribution of recent businesses opened in
the Los Angeles area.InstallationInstall with pip. The package installs as a command-line script.pip install la-businessesUsageRun from the command line (it installs as as script). All downloaded and
generated files will be stored in a directoryfilesinside the current
working directory.usage: la-businesses [-h] [-u] [-d NDAYS]

optional arguments:
  -h, --help              show this help message and exit
  -u, --update            update data (default: False)
  -d NDAYS, --days NDAYS  started since NDAYS days ago (default: 30)Known issuesLocations with missing coordinates are omitted from KML fileThe script relies on coordinate data already provided in the downloaded dataset.
Some businesses contain addresses but no coordinates; in these cases, the
business is ignored when creating the KML (but is included in any saved CSV
file). Future implementations should include a function to look up location
coordinates from a given address (e.g., using the Open Street Maps API).Locations with no DBA name simply show NaN in the KML fileThe script could use better handling of business name / DBA combinations to
omit NaN from KML when it does not have a business name.No phone numbersThe data does not include any phone or email contact information; merging this
dataset with one that includes contact information would be more useful for
market research.
Package: lab-utils
READMELab Utils, a collection of useful Python modulesThis package contains several usefulmodulesto help build Python applications. All modules provide support
for a configuration file usingconfigparserand standardlogging.Available modules:database: simple interface to manage connections to a PostgreSQL databasesocket_comm: TCP server/client communication for daemon-like apps.DependenciesThe packagelab-utilshas the following pre-requisites:libpq, a C library that implements connections to the PostgreSQL
backend server. The python packagepsycopg2needed by the moduledatabaseis built around this library, and it is strongly recommended to have it installed. If for some reason you can't
install it or don't have access to it, aprecompiled binary packageis also available. Please notice that using precompiled binaries can lead toother problems.Python 3.6andpip 10.0are the minimum required versions to buildlab-utilsand its dependencies. It is recommended to
install and runlab-utils(and any other package, for that matter) under avirtual environment.PandasGetting StartedThese instructions will install the packagelab-utilsand let you import its modules in your own apps. It is
assumed that you have successfully installed theprerequisitesand are running inside a virtual
environment.Install the package and its dependenciespython -m pip install lab-utilsIf you don't have PostgreSQL and libpq installed, you can usepython -m pip install lab-utils --only-binary psycopg2Run some examples to test that everything workscd examples
python database/create_column.pyImport into your own appTo use a<module>from thelab_utilscollection in your own Python app, simply addfrom lab_utils import <module>ModulesAll the modules provided by the package provide support for:Usage of a configuration file via the<module>.config(filename)methodStandard Python logging.databaseThis module is a simple interface to manage connections to a PostgreSQL database based on thepsycopg2library. The main features are:Database connection and closingCreate a newTimescaleDBtableCheck if column and/or table exist in a given databaseCreate a new column in a table, with optional constraintssocket_commThis module implements a simple TCP server/client structure to develop daemon-like application.AuthorsCarlos Vigo-Initial work-GitLabContributingPlease read ourcontributing policyfor details on our code of
conduct, and the process for submitting pull requests to us.VersioningWe useGitfor versioning. For the versions available, see thetags on this repository.LicenseThis project is licensed under theGNU GPLv3 LicenseBuilt WithPyCharm Professional 2020- The IDE usedSphinx- DocumentationAcknowledgmentsNobody so far
Package: laby-bot
Laby BotA pure Python, text-interface clone and solver of the Laby gameWhat's it for?This package has a couple of purposes:To demonstrate howmodelingthe environment makes it easy to implement
planning and reasoning.To provide a useful toy problem for testing out other AI algorithms.InstallationLaby Bot can be installed by the command:pip install laby_botNOTE: The modules will still work, but some of the tests will fail without
the original Laby levels. You'll need to create a symlink to them. You can
find themhere.Quick StartPlaying the GameThelaby_bot.robotsubmodule is intended as a drop-in replacement for therobotmodule of the original Laby game. You can test your bot code out on a
given level like this:fromlaby_bot.robotimport*load_level('<path to laby level>.laby')show()# Paste your bot code here, minus the "from robot import *" line# that would normally appear at the top. All the standard robot# instructions available in the Laby game are provided.When you run the above code, the map will be printed out to the command line
after each move is taken by your bot.Running the SolverThelaby_bot.solversubmodule contains a generic solver for any (solvable)
Laby level. You can test it out on a randomly generated level like this:fromlaby_bot.robotimportgenerate_level,showfromlaby_bot.solverimportrungenerate_level()show()run()Or you can simply run it from the command line:python3 -m laby_bot
Package: labylib
Cosmetics API for LabymodModify LabyMod cosmetics programmatically with Python.Created by VicWlabylib or Victor Westerlund is in no way sponsored by or affiliated with LabyMod or LabyMedia GmbH.This program is offered as-is and might stop working at any timeInstallationDownload and installPython 3for your architecture.Install the latest version of labylib withpip3$python3-mpipinstalllabylib..or if that doesn't work$pip3installlabylibQuickstartImport a labylib Module from thelist of available modules.fromlabylibimport<MODULE>Each Module comes with a set of classes available to each cosmetic. Pick a class for your Module. (Visibility,Textureetc.)Initialize the class by passing it aPHPSESSIDHere's what it is and where to find it# Examplecape_vis=Cape.Visibility(PHPSESSID)Callupdate()with a value expected by the class. Just like Modules, the value expected depends on the class.# Examplecape_vis.update("show")Advanced UsageRequest headers, cookies and bodyEach class instance can be modified beforeupdate()is called to make changes to the request headers, cookies etc. You can even add additional encoded form data to the request body if necessary.labylib usesRequestsunder the hood and request parameters like headers and cookies can be modified in accordance withRequest's conventions.# This will send add a "foo=bar" cookie and header with the requestcape_vis.cookies["foo"]="bar"cape_vis.headers["foo"]="bar"cape_vis.update("show")To append form data to the request body of an instance:Forx-www-form-urlencodedrequests:Append form data with theaddEncodedFormData(key,value)method:# This will add "foo=bar" to the URL encoded payloadcape_vis.addEncodedFormData("foo","bar")cape_vis.update("show")Formultipart/form-datarequests:Append binary form data with theaddBinaryFormData(key,payload)method:# This will create a new payload boundary containing "foo=bar"cape_texture.addBinaryFormData(b"foor",b"bar")cape_texture.update("show")You can also appendimage/pngfiles by passing "file" as thekeyargument. You can either pass binary data directly as a BLOB topayloador usebOpen(<Path_to_PNG>)to load an image from disk:# This will create a new payload boundary with a "Content-Type: image/png" header and BLOB bodycape_texture.addBinaryFormData(b"file",cape_vis.bOpen("~/someImage.png"))cape_texture.update("~/myAwesomeTexture.png")ContributeIf you find any bugs with- or would like to suggest features to labylib, please submit them underIssuesPull requests to labylib are highly encouraged!LicenseGNU General Public License v3.0
Package: labyrinthine
LabyrinthineA no-dependency library to generate mazes.InstallationpipinstalllabyrinthineUsageimportmatplotlib.pyplotaspltimportnumpyasnpfromlabyrinthineimportdepth_firstmaze=depth_first(size=(31,21))plt.imshow(np.pad(maze,1,constant_values=1),cmap="binary")plt.axis("off")plt.savefig("maze.png",bbox_inches="tight",pad_inches=0)Parametersdepth_firstaccepts the following parameters:size: either a pair ofintspecifying width and height of the maze, or a
singleintfor a square one.start: a pair ofintdefining the starting point. Default value is(0, 0), the top-left corner of the maze.seed:int, optional. Default value isNone.The output is an integer matrix of the requested size, where1represents a
filled cell, thus a wall, and0represents an empty cell, thus a passage.:warning: HEADS UP!Due to the nature of the algorithm, it is warmly recommended to use odd width
and height values, so that the resulting matrix doesn't have a vertical and
horizontal border entirely filled with walls.DevelopmentMakefileis self-explanatory.