Saravanan666/pypi-org huggingface dataset:
Package: waveletspec
######################################################################################                              Waveletspec V-1.5                                    ######################################################################################A code to determine the atmospheric parameters of FGK stars fromechelle spectra.This code provide command line functions to load in, normalise and clean spectra froma variety of instruments. This code also compares wavelet coefficients to a grid ofstellar models to determine the best fitting atmospherioc parameters.Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~The spectral processing scripts are backended with iSpec scripts:>> http://adsabs.harvard.edu/abs/2014ASInC..11...85BI do not own their scripts and use them simply to pre-process spectra. I created apython 3 version of their scripts using 2to3:>> (https://docs.python.org/2/library/2to3.html)and changing a few module imports to their Python 3 counterparts.Trouble shooting~~~~~~~~~~~~~~~~~~~~~~~~~~1. If you are having gcc issues installing mlpy in Ubuntu, have a look at:https://stackoverflow.com/questions/11494179/gsl-error-while-installing-mlpyThe basic summary is that the experimental gsl headers need installing:>> sudo apt-get install libgsl0-devRunning the setup scripts again in a new terminal should install it.# waveletspec
Package: waveline
WaveLineDocumentation·ExamplesPython library to easily interface with Vallen SystemeWaveLine™ devicesusing the public APIs:linWave(prior names: conditionWave, FyrSonic)spotWaveGetting startedInstall the latest version fromPyPI:$pipinstallwavelineNote:wavelinerequires Python 3.6 or newer. On Linux systems,pipis usually mapped to Python 2, so usepip<version>(e.g.pip3orpip3.7) instead.
Alternatively, you can runpipfrom your specific Python version withpython<version> -m pip.Run examples:$pythonexamples/linwave_ae.py# if you have a linWave device$pythonexamples/spotwave_ae.py# if you have a spotWave deviceExplore furtherexamplesand have a look at thedocumentation.ContributingFeature requests, bug reports and fixes are always welcome!Development setupAfter cloning the repository, you can easily install the development environment and tools
(pylint,mypy,pytest,tox)
with. Using avirtual environmentis strongly recommended.$gitclonehttps://github.com/vallen-systems/pyWaveLine.git
$cdpyWaveLine# Create virtual environment in directory .venv$python-mvenv.venv# Activate virtual environment$source.venv/bin/activate# Linux$.venv\Scripts\activate# Windows# Install package (editable) and all development tools$pipinstall-e.[dev]# Run auto-formatter$black.# Run linter$ruffcheck.# Run the test suite in the current environment$pytest# Run the CI pipeline (checks and tests) for all targeted (and installed) Python versions with tox$tox# Build the documentation$cddocs
$sphinx-build._buildRun system testsSystem level tests are only available, if the targeted device can be discovered.Run system tests with a spotWave device:$pytesttests/system/spotwave--duration-acq1Measurement durations for long-term acquisition tests can be specified with the--duration-acqparameter (default: 1 second).Run system tests with a linWave device (a specific IP can be provided with the--linwave-ipargument, otherwise the first discovered device will be used):$pytesttests/system/linwave--duration-acq1--linwave-ip192.168.0.100
Package: wavelink
Wavelink is a robust and powerful Lavalink wrapper forDiscord.pyWavelink features a fully asynchronous API that's intuitive and easy to use.Migrating from Version 2 to Version 3:Migrating GuideFeaturesFull asynchronous design.Lavalink v4+ Supported with REST API.discord.py v2.0.0+ Support.Advanced AutoPlay and track recommendations for continuous play.Object orientated design with stateful objects and payloads.Fully annotated and complies with Pyright strict typing.Getting StartedSee Examples:ExamplesLavalink:GitHub,WebpageDocumentationOfficial DocumentationSupportFor support using WaveLink, please join the officialSupport ServeronDiscordInstallationWaveLink 3 requires Python 3.10+Windowspy-3.10-mpipinstall-UwavelinkLinuxpython3.10-mpipinstall-UwavelinkVirtual Environmentspipinstall-UwavelinkLavalinkWavelink3requiresLavalink v4.
See:LavalinkFor spotify support, simply install and useLavaSrcwith yourwavelink.PlayableNotesWavelink3is compatible with Lavalinkv4+.Wavelink has built in support for Lavalink Plugins including LavaSrc and SponsorBlock.Wavelink is fully typed in compliance with Pyright Strict, though some nuances remain between discord.py and wavelink.
Package: wavelinkcord
Wavelink is a robust and powerful Lavalink wrapper forDiscord.py.
Wavelink features a fully asynchronous API that’s intuitive and easy to use with built in Spotify Support and Node Pool Balancing.Features:Fully AsynchronousAuto-Play and Looping (With the inbuilt Queue system)Spotify SupportNode Balancing and Fail-overSupports Lavalink 3.7+DocumentationOfficial DocumentationSupportFor support using WaveLink, please join the officialsupport serveronDiscord.InstallationThe following commands are currently the valid ways of installing WaveLink.WaveLink 2 requires Python 3.10+Windowspy-3.10-mpipinstall-UWavelinkLinuxpython3.10-mpipinstall-UWavelinkGetting StartedSee also:Examplesimportdiscordimportwavelinkfromdiscord.extimportcommandsclassBot(commands.Bot):def__init__(self)->None:intents=discord.Intents.default()intents.message_content=Truesuper().__init__(intents=intents,command_prefix='?')asyncdefon_ready(self)->None:print(f'Logged in{self.user}|{self.user.id}')asyncdefsetup_hook(self)->None:# Wavelink 2.0 has made connecting Nodes easier... Simply create each Node# and pass it to NodePool.connect with the client/bot.node:wavelink.Node=wavelink.Node(uri='http://localhost:2333',password='youshallnotpass')awaitwavelink.NodePool.connect(client=self,nodes=[node])bot=Bot()@bot.command()asyncdefplay(ctx:commands.Context,*,search:str)->None:"""Simple play command."""ifnotctx.voice_client:vc:wavelink.Player=awaitctx.author.voice.channel.connect(cls=wavelink.Player)else:vc:wavelink.Player=ctx.voice_clienttracks=awaitwavelink.YouTubeTrack.search(search)ifnottracks:awaitctx.send(f'No tracks found with query: `{search}`')returntrack=tracks[0]awaitvc.play(track)@bot.command()asyncdefdisconnect(ctx:commands.Context)->None:"""Simple disconnect command.

    This command assumes there is a currently connected Player.
    """vc:wavelink.Player=ctx.voice_clientawaitvc.disconnect()Lavalink InstallationHead to the officialLavalink repoand give it a star!Create a folder for storing Lavalink.jar and related files/folders.Copy and paste the exampleapplication.ymltoapplication.ymlin the folder we created earlier. You can open the yml in Notepad or any simple text editor.Change your password in theapplication.ymland store it in a config for your bot.Set local to true in theapplication.ymlif you wish to usewavelink.LocalTrackfor local machine search options… Otherwise ignore.Save and exit.InstallJava 17(Windows)orJava 13+on the machine you are running.DownloadLavalink.jarand place it in the folder created earlier.Open a cmd prompt or terminal and change directorycdinto the folder we made earlier.Run:java-jarLavalink.jarIf you are having any problems installing Lavalink, please join the official Discord Server listed above for help.
Package: wavelink-stubs
wavelink-stubsThis package contains type stubs to provide more precise static types and type inference forwavelink 2. wavelink 3 doesn't need these stubs since it is fully type-annotated.Installationpipinstallwavelink-stubsVersion number schemeThe major and minor version ofwavelink-stubswill roughly match the major and minor version numbers of thewavelinkrelease the stubs represent.AcknowledgementsThank you to:Maintainers ofwavelinkfor the wonderful library.Bryan Forbes for providing a great reference with hisasyncpg-stubslibrary.
Package: wavemaker
This project lives atGitHub.InstallationYou need Python 3. I don’t want to support Python 2 for now. This is a pure
Python package with no other dependencies.I recommend you install the latest version fromPyPIwithpip:pip install wavemakerThe standard distutils installation works too:tar xzf wavemaker-*.tar.gz
cd wavemaker-*
python setup.py installUsageThe command line tool is calledmake_wave. This is how you use it:make_wave sine-wave.wavThere is more help built in:$ make_wave --help
usage: make_wave [-h] [--waveform {sine}] [--frequency FREQUENCY]
                [--amplitude AMPLITUDE] [--duration DURATION]
                [--sample_rate SAMPLE_RATE] [--sample_size {16}]
                output_path

Generate WAVE files.

positional arguments:
  output_path           The path to the resulting WAVE file

optional arguments:
  -h, --help            show this help message and exit
  --waveform {sine}     The shape of the signal being generated (default:
                        sine)
  --frequency FREQUENCY
                        The oscillating rate of the wave. A non-negative
                        float, in Hz (default: 440.0)
  --amplitude AMPLITUDE
                        The amplitude of the wave. A float between 0.0 and 1.0
                        (default: 1.0)
  --duration DURATION   The time duration of the signal. A non-negative float,
                        in seconds (default: 1.0)
  --sample_rate SAMPLE_RATE
                        The number of samples per second. A non-negative int,
                        in Hz (default: 44100)
  --sample_size {16}    The number of bits used to store each sample (default:
                        16)APIThere is a single public API function call. It takes the same arguments that the
command line tool does as keyword arguments. Please see the docstring for more:write_wave_file(output_path, waveform='sine', frequency=440.0, amplitude=1.0,
                duration=1.0, sample_rate=44100, sample_size=16)Basic usage:import wavemaker
wavemaker.write_wave_file('sine-wave.wav')Changesv0.1.0 - Jan 04, 2014First release.
Package: wavematic
WavematicSimple wave generatorRead the DocsInstallationpipwavematicis available onpip:pipinstallwavematicGitHubYou can also install the latest version of the code directly from GitHub:pipinstallgit+git://github.com/MicaelJarniac/WavematicUsageFor more examples, see thefull documentation.fromwavematicimportWave# TODO Fill examplesContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.More details can be found inCONTRIBUTING.Contributors ✨Micael Jarniac💻📖💡🤔🚧📦📆⚠️LicenseMIT
Package: waveml
wavemlOpen source machine learning library for performance of a weighted average  and linear transformations over stacked predictionsPippip install wavemlOverviewwaveml features four models:WaveStackingTransformerWaveRegressorWaveTransformerWaveEncoderWaveStackingTransformerPerforms Classical StackingCan be used for following objectives:RegressionClassificationProbability PredictionUsage examplefromwavemlimportWaveStackingTransformerfromcatboostimportCatBoostRegressorfromxgboostimportXGBRegressorfromlightgbmimportLGBMRegressorwst=WaveStackingTransformer(models=[("CBR",CatBoostRegressor()),("XGBR",XGBRegressor()),("LGBMR",LGBMRegressor())],n_folds=5,verbose=True,regression=True,random_state=42,shuffle=True)fromsklearn.datasetsimportload_bostonformsklearn.model_selectionimporttrain_test_splitX,y=load_boston(return_X_y=True)X_train,X_test,y_train,y_test=train_test_split(X,y,random_state=42,shuffle=True)SX_train=wst.fit_transform(X_train,y_train,prettified=True)SX_test=wst.transform(X_test,prettified=True)fromsklearn.linear_modelimportLinearRegressionlr=LinearRegression()lr.fit(SX_train,y_train)lr.predict(SX_test)Sklearn compatebilityfromsklearn.pipelineimportPipelinepipeline=Pipeline(steps=[("Stack_L1",wst),("Final Estimator",lr)])pipeline.fit(X_train,y_train)pipeline.predict(X_test)WaveRegressorPerforms weighted average over stacked predictionsAnalogue of Linear Regression without interceptLinear Regression:y = b0 + b1x1 + b2x2 + ... + bnxnWeihghted Average:y = b1x1 + b2x2 + ... + bnxnUsage examplefromwavemlimportWaveRegressorwr=WaveRegressor()wr.fit(SX_train,y_train)wr.predict(SX_test)Sklearn compatebilityfromsklearn.pipelineimportPipelinepipeline=Pipeline(steps=[("Stack_L1",wst),("Final Estimator",WaveRegressor())])pipeline.fit(X_train,y_train)pipeline.predict(X_test)WaveTransformerPerforms cross validated linear transformations over stacked predictionsUsage examplefromwavemlimportWaveTransformerwt=WaveTransformer()wt.fit(X_train,y_train)wt.transform(X_test)Sklearn compatebilitypipeline=Pipeline(steps=[("Stack_L1",wst),("LinearTransformations",WaveTransformer()),("Final Estimator",WaveRegressor())])WaveEncoderPerforms encoding of categorical features in the initial datasetfromwavemlimportWaveEncoderwe=WaveEncoder(encodeing_type="label")X_train=we.fit_transform(X_train)X_test=we.transform(X_test)
Package: wave-pay
Wave PayWave-Pay is a Python package that seamlessly allow merchants accept payments
on their Python based web apps.Detailed documentation is in the "docs" directory.Quick startInstall wave-paypip install wave-payIt is preferred that you store your API Keys as an environment variable then import Wave gateway instance and instantiatefrom wave_pay import WaveGateway
wave = WaveGateway(secret_key="<YOUR_SECRET_KEY>", public_key="<YOUR_PUBLIC_KEY>")start using the APInew_transaction = wave.Card.initiate("<ENCRYPTED_PAYLOAD>")
Package: waveplot-scanner
WavePlot is a system for storing data about audiofiles. Audio files can be scanned using this python script on any system
with libwaveplot installed, and the generated WavePlots will be uploaded
to a central server athttp://waveplot.netfor public viewing.In the future, this package may be renamed and additional functionality
included, such as matching previously untagged files and tagging those
files with metadata.This script is mainly intended to demonstrate how other applications might
use the libwaveplot library to make use of the WavePlot system themselves.
Package: wavepy
wavepywavepyis Python library for data analyses of coherence and wavefront measurements at synchrotron beamlines. Currently it covers: single-grating Talbot interferometry, speckle tracking, and scan of Talbot peaks for coherence analysis.Documentationhttps://wavepy.readthedocs.orgCreditsWe kindly request that you cite the followingarticlesif you use wavepy.List here the features.ContributeDocumentation:https://github.com/aps-xsd-opt-group/wavepy/tree/master/docIssue Tracker:https://github.com/aps-xsd-opt-group/wavepy/issuesSource Code:https://github.com/aps-xsd-opt-group/wavepyPrerequisitesThe following libraries should be installed in your system:FFTW3, see:http://www.fftw.org/download.htmlXraylib, see:https://github.com/tschoonj/xraylib/wiki/Installation-instructionsDXchange, see:https://dxchange.readthedocs.io/en/latest/source/install.htmlInstallation>>> python3 -m pip install wavepyInstallation as DeveloperSyncing with gitNoteYou need to havegitinstalledClone>>> git clone https://github.com/aps-xsd-opt-group/wavepyUpdate your local installation>>> git pullTo make git to store your credentials>>> git config credential.helper storeSolving dependencies with condaNoteYou need to haveanacondaorminicondainstalledCreating conda enviroment>>> conda create -n ENV_NAME python=3.5 numpy=1.11  scipy=0.17 matplotlib=1.5 spyder=2.3.9 --yesWarningeditENV_NAMESolving dependenciesActivate the enviroment:>>> source activate ENV_NAMEWarningeditENV_NAME>>> conda install scikit-image=0.12 --yes
>>> conda install -c dgursoy dxchange --yes>>> pip install cffi
>>> pip install unwrap
>>> pip install tqdm
>>> pip install termcolor
>>> pip install easygui_qtNoteunwrapneedscffi,tqdmis used for progress barAdding Recomended packages>>> conda install -c dgursoy xraylibAdditional Settingseasygui_qtconflicts with the Qt backend ofmatplotlib. The workaround
is to change the backend to TkAgg. This can be in thematplotlibrcfile
(instructionshere).
In Spyder this is done in Tools->Preferences->Console->External Modules,
where we set GUI backend to
TkAgg
Package: wavepy2
# WavePy 2.0Wavepy2 is a refactored and enhanced version of [wavepy](https://github.com/APS-XSD-OPT-Group/wavepy) and [wavepytools](https://github.com/APS-XSD-OPT-Group/wavepytools).Authors[Luca Rebuffi](mailto:lrebuffi@anl.gov), [Xianbo Shi](mailto:xshi@anl.gov) and [Zhi Qiao](mailto:zqiao@anl.gov)InstructionsPrerequisites:xraylib 3.3.0- see:https://github.com/tschoonj/xraylib/wiki/Installation-instructionsTo install:python3 -m pip install wavepy2To show help:python3 -m aps.wavepy2.tools –hTo run a script:python3 -m aps.wavepy2.tools <script id> <options>To show help of a script:python -m aps.wavepy2.tools <script id> –hAvailable scripts:
1) Imaging   - Single Grating Talbot, id:img-sgt2) Coherence - Single Grating Z Scan, id:coh-sgz3) Metrology - Fit Residual Lenses,   id:met-frlCopyrightCopyright (c) 2020, UChicago Argonne, LLC. All rights reserved.Copyright 2020. UChicago Argonne, LLC. This software was produced under U.S. Government contract DE-AC02-06CH11357 for Argonne National Laboratory (ANL), which is operated by UChicago Argonne, LLC for the U.S. Department of Energy. The U.S. Government has rights to use,
reproduce, and distribute this software. NEITHER THE GOVERNMENT NOR UChicago Argonne, LLC MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY LIABILITY FOR THE USE OF THIS SOFTWARE.
If software is modified to produce derivative works, such modified software should be clearly marked, so as not to confuse it with the version available from ANL.Additionally, redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.Neither the name of UChicago Argonne, LLC, Argonne National Laboratory, ANL, the U.S. Government, nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.THIS SOFTWARE IS PROVIDED BY UChicago Argonne, LLC AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL UChicago Argonne, LLC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Package: wave-reader
Wave Reader UtilitiesTheAirthings Waveis a series of devices that track Radon levels in the home. Radon is a radioactive
gas that comes from the breakdown of uranium in soil and rock. It's invisible, odourless and tasteless.This is anunofficialAirthings Wave community library designed to provide utilities for device
and web communication. The library wouldn't be possible without the existing efforts from Airthings
and the community. Seedocumentationfor more information.FeaturesUsingbleakas a dependency for platform cross-compatibility and support for asynchronous operation.Support for major models: Wave+, Wave, Wave (Version 2) and Wave Mini devices. View Plus is not supported, as it sends data over WiFi, not BTLE.Code testing, coverage reporting, linting, type hinting, and formatting.Provide a more comprehensive programming interface for a developer audience.Auxillary module that provides a web client for Airthings API and OAuth2 authentication.RequirementsIn Ubuntu/Debian, make sure you havelibglib2.0-devandbluezinstalled:sudoapt-getinstalllibglib2.0-devbluez-yOther Linux distributions should have equivalent packages. In theory, other platforms
(Windows, Mac)aresupported by usingbleakas a dependency, but open a ticket
if you run into any issues.InstallationYou can install the library by running:pipinstallwave-readerExample UsageThere are various concrete examples available in theexamplesdirectory. That includes
CLI interaction and other interesting scenarios that demonstrate API usage.importasynciofromwave_readerimportwaveif__name__=="__main__":# Scan for BTLE Wave devices.devices=wave.scan()# Event loop to run asynchronous tasks.loop=asyncio.new_event_loop()# Get sensor readings from available wave devices.fordindevices:sensor_readings=loop.run_until_complete(d.get_sensor_values())print(sensor_readings)# >>> DeviceSensors (humidity: 32.5, radon_sta: 116, radon_lta: 113 ...Web API Client ModuleThewave_reader/webmodule in this library provides a client for the Airthings
web API. Seethis pagefor more details.ContributionIf you identify a bug, please open a ticket. Pull requests are always welcome.TestingYou can run the entire test suite by runningtox. It will runflake8,isortandpytest.
If you'd like to just run unit tests, runningpytest ./testsis sufficient.
Package: waveresponse
waveresponse-pythonwaveresponseprovides utilities for handling 2-D wave spectra and response amplitude
operators (RAOs) using the Python programming language.The tools you get withwaveresponseare useful for handling wave data and RAO
data on its own. However, the main intension of the package is to provide an easy-to-use
interface for estimating a vessel's frequency-domain response by combining wave
spectra with RAOs.
Package: wave-rover-serial
Wave Rover Serialwave_rover_serialis a Python package designed for controlling and interacting with the Wave Rover robotic systems via serial communication. It offers a comprehensive set of functionalities to command various aspects of the robot, including movement, servo control, sensor data acquisition, and wireless communication management.Referenceshttps://www.waveshare.com/wiki/WAVE_ROVERFeaturesControl motor speeds, servo angles, and other robotic components.Read sensor data and system information from the Wave Rover.Manage wireless connections, including WiFi scanning and connection.Simplified interface for robust serial communication with the robot.InstallationTo installwave_rover_serial, use the following pip command:pipinstallwave_rover_serialDependenciespyserial: This is required for handling serial communication with the robot.UsageHere's a quick example of how to use the wave_rover_serial package:fromwave_rover_serialimportRobot# Initialize the Robot with the appropriate serial port and baud raterobot=Robot('/dev/ttyUSB0')# Connect to the robotrobot.connect()# Send a command to set motor speedsrobot.speed_input(left_speed=100,right_speed=100)# Send a command to get the IMU information and read the responsedata=robot.imu_info()print(data)# Safely disconnect when donerobot.disconnect()You can also use thewithstatement to automatically connect and disconnect from the robot:fromwave_rover_serialimportRobot# Initialize the Robot with the appropriate serial port and baud ratewithRobot('/dev/ttyUSB0')asrobot:# Send a command to set motor speedsrobot.speed_input(left_speed=100,right_speed=100)# Send a command to get the IMU information and read the responsedata=robot.imu_info()print(data)DocumentationEach method within the Robot class is designed to interact with specific functionalities of the Wave Rover robotic system. Detailed descriptions and usage instructions for each method can be found in the module's documentation.ContributingWe welcome contributions to the wave_rover_serial package. Feel free to submit pull requests, report bugs, or propose new features.Licensewave_rover_serial is distributed under the MIT License.IssuesFor inquiries or support regarding wave_rover_serial, please file an issue on this repo.