Saravanan666/pypi-org huggingface dataset:
Package: yapystun
.. image::https://travis-ci.org/jtriley/pystun.svg?branch=master:target:https://travis-ci.org/jtriley/pystun.. image::https://coveralls.io/repos/jtriley/pystun/badge.png:target:https://coveralls.io/r/jtriley/pystunYet Another PyStun Fork. Works with Python 3.11. Forked from:https://github.com/jtriley/pystunPyStunA Python STUN client for getting NAT type and external IPThis is a fork of pystun originally created by gaohawk (http://code.google.com/p/pystun/)PyStun follows RFC 3489:http://www.ietf.org/rfc/rfc3489.txtA server following STUN-bis hasn't been found on internet so RFC3489 is the
only implementation.InstallationTo install the latest version::$ pip install pystunor download/clone the source and install manually using::$ cd /path/to/pystun/src
$ python setup.py installIf you're hacking on pystun you should use the 'develop' command instead::$ python setup.py developThis will make a link to the sources inside your site-packages directory so
that any changes are immediately available for testing.UsageFrom command line::$ pystun
NAT Type: Full Cone
External IP: <your-ip-here>
External Port: 54320Pass --help for more options::% pystun --help
usage: pystun [-h] [-d] [-H STUN_HOST] [-P STUN_PORT] [-i SOURCE_IP]
              [-p SOURCE_PORT] [--version]

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           Enable debug logging (default: False)
  -H STUN_HOST, --host STUN_HOST
                        STUN host to use (default: None)
  -P STUN_PORT, --host-port STUN_PORT
                        STUN host port to use (default: 3478)
  -i SOURCE_IP, --interface SOURCE_IP
                        network interface for client (default: 0.0.0.0)
  -p SOURCE_PORT, --port SOURCE_PORT
                        port to listen on for client (default: 54320)
  --version             show program's version number and exitFrom Python::import stun
nat_type, external_ip, external_port = stun.get_ip_info()This will rotate through an internal list of STUN servers until a response is
found. If no response is found you will get "Blocked" as thenat_typeandNoneforexternal_ipandexternal_port.If you prefer to use a specific STUN server::nat_type, external_ip, external_port = stun.get_ip_info(stun_host='stun.ekiga.net')If you prefer to use a specific STUN server port::nat_type, external_ip, external_port = stun.get_ip_info(stun_port=3478)You may also specify the client interface and port that is used although this
is not needed::sip = "0.0.0.0" # interface to listen on (all)
port = 54320 # port to listen on
nat_type, external_ip, external_port = stun.get_ip_info(sip, port)Read the code for more details...LICENSEMIT
Package: yapyutils
The ‘yapyutils’ - Yet Another Python Utils - package provides miscellaneousPythonutilities for the adaptation
of platform independent APIs of the low-level part of the software stack.
These are e.g. used for extensions of thesetuptoolsanddistutils, thus reduce
the package dependency and avoid circular dependencies whenever possible by using standard packages and classes only.
The more complex and complete data packages are provided for higher application layer
functionality.The current release contains:yapyutils.modulesA utility to locate and load modules by a given name and/or file system path name,
based on thesys.pathvariable.yapyutils.filesSearch and location of files, e.g. modules and configuration files.yapyutils.helpSimple help for command line interfaces.yapyutils.configConfiguration file support, in particular for the initial setup of software packages.Online documentation:https://yapyutils.sourceforge.io/Runtime-Repository:PyPI:https://pypi.org/project/yapyutils/Install:pip install yapyutils, see also section ‘Install’ of the online documentation.Downloads:sourceforge.net:https://sourceforge.net/projects/yapyutils/files/bitbucket.org:https://bitbucket.org/acue/yapyutilsgithub.com:https://github.com/ArnoCan/yapyutils/pypi.org:https://pypi.org/project/yapyutils/Project DataPROJECT: ‘yapyutils’MISSION: Canonical numeric platform IDs for the core Python environment.VERSION: 00.01RELEASE: 00.01.038STATUS: betaAUTHOR: Arno-Can UestuensoezCOPYRIGHT: Copyright (C) 2019 Arno-Can Uestuensoez @Ingenieurbuero Arno-Can UestuensoezLICENSE: Artistic-License-2.0 + Forced-Fairplay-ConstraintsRuntime EnvironmentFor a comprehensive list refer to the documentation.Python Syntax SupportPython2.7, and Python3Python Implementation SupportCPython, IPython, IronPython, Jython, and PyPyOS on Server, Workstation, Laptops, Virtual Machines, and ContainersLinux: AlpineLinux, ArchLinux, CentOS, Debian, Fedora, Gentoo, OpenSUSE, Raspbian, RHEL, Slackware, SLES, Ubuntu, …BSD: DragonFlyBSD, FreeBSD, NetBSD, OpenBSD, GhostBSD, TrueOS, NomadBSDOS-X: Snow LeopardWindows: Win10, Win8.1, Win7, WinXP, Win2019, Win2016, Win2012, Win2008, Win2000WSL-1.0: Alpine, Debian, KaliLinux, openSUSE, SLES, UbuntuCygwinUNIX: Solaris10, Solaris11Minix: Minix3ReactOSNetwork and SecurityNetwork Devices: OpenWRTSecurity: KaliLinux, pfSense, BlackArch, ParrotOS, PentooOS on Embedded DevicesRaspberryPI: ArchLinux, CentOS, OpenBSD, OpenWRT, RaspbianASUS-TinkerBoard: ArmbianBy special modules e.g. for Adafruit Trinket M0: CircuitPython, MicroPythonCurrent ReleaseMajor Changes:Initial version.ToDo:AIXMicroPython, CircuitPythontest Windows10IoT-Core
Package: yapywrangler
yapywranglerUpdate 05/31/2019:This package was initally released over a year ago in the wake of Yahoo Finance updating their backend API.
At that time, the only means of retrieving data required gnarly parsing and took noticable time to process.
Because of this, on the initial release, a local file system for caching parts of retrieved files was used
to cut down on processing time.Since then, Yahoo Finance has updated their API resulting in much faster response times, and negating the
need for the caching system.Due to this, yapywrangler has been revised to include just its core request functionality.Install:pip install yapywranglerUsage:from yapywrangler import get_yahoo_data

stock_ticker = "MSFT"
data = get_yahoo_data(stock_ticker, start_date='2006-03-26', end_date='2019-05-29')
msft = pd.DataFrame(data)Default Argsstart_date: 2000-01-01
end_date: nowData Format:{
    'timestamp': [1559136600, 1559223000, 1559321620], 
    'date': ['2019-05-29', '2019-05-30', '2019-05-31'], 
    'open': [29.0, 28.399999618530273, 27.56999969482422], 
    'high': [29.31999969482422, 28.559999465942383, 28.360000610351562], 
    'low': [27.729999542236328, 27.600000381469727, 27.5], 
    'close': [28.09000015258789, 28.030000686645508, 27.940000534057617], 
    'volume': [99969600, 65072900, 40126715]
}
Package: yaqc-bluesky
yaqc-blueskyA bluesky interface to theyaq instrument control framework.To communicate with a yaq daemon, simply create a device::importyaqc_blueskydevice=yaqc_bluesky.Device(port=39000)yaqc_blueskywill read the traits from the daemon and return an appropriate device instance based on what it finds.
Of course, you may also providehostas an argument (default localhost).
You may also optionally providename, if you wish the bluesky device to have a different name than the yaq daemon.yaqc_blueskyonly exposes a subset of the functionality of yaq daemons.
Python users wishing to communicate with yaq may also be interested inyaqc.You can play with yaq on bluesky using our binder:happi supportyaqc_blueskyprovides support forHappi.
Read more about yaq and Happi atyaq.fyi/blog/happi/.
Package: yaqc-qtpy
yaqc-qtpyTooling for building simple yaq clients using qtpy.Maintainers:Blaise ThompsonKyle Sundenapplication usageTODO: screenshotyaqdlist--formatjson|yaqc-qtpy-entry pointDOCUMENTATION TODOlibrary usageyaqc-qtpy can be used as a Python package for those building Qt-based interfaces to yaq.qclientDOCUMENTATION TODOitem generatorsThe yaqc-qtpy application uses theqtypeswidget tooling.
Other developers who are using qtypes can benefit from the built in item generators.DOCUMENTATION TODOappend_propertiesDOCUMENTATION TODOappend_card_itemDOCUMENTATION TODO
Package: yaqd-acton
yaqd-actonyaq daemons for Acton Research Corporation instrumentsThis package contains the following daemon(s):https://yaq.fyi/daemons/acton-2150ihttps://yaq.fyi/daemons/acton-sp2300iacton-sp2300i notesThis daemon has been tested and designed on a SP-2358 unit. There is a motorized slit on the front side entrance, and the exit mirror is movable. It's primary turret has a mirror and two gratings. The daemon was written with the intent of being usable on all sp23xx systems, but it has not been tested. Feedback and/or bugfixes are appreciated!This daemon is designed for the RS232 port.sp2300i models can be controlled via their onboard USB or RS232 port, but the USB port has different response behavior (consult the manual) which has not currently been addressed.The identifiers of the gratings occupying each turret are retrieved from the spectrometer memory (?GRATINGS).  If gratings are changed, be sure to register changes by changing the on board grating info (see the manual for full instructions).The daemon moves to set wavelengths at max speed (i.e.GOTOcommand).  It does not currently support constant speed scanning (i.e.NMand>NMcommands).maintainersBlaise ThompsonDan Kohler
Package: yaqd-andor
yaqd-andorDaemons forAndorcamerasThis package contains the following daemon(s):https://yaq.fyi/daemons/andor-neohttps://yaq.fyi/daemons/andor-simcamTo run these daemons, you must also have access to the ANDOR sdk3 driver files:atcore.hatcore.libatblklx.dllactl_bitflow.dllatcore.dllatdevregcam.dll (andor-neo daemon)atdevsimcam.dll (andor-simcam daemon)atusb_libusb10.dllandor-simcamuses Andor's virtual camera, which is useful for remote development.
For Windows, these libraries requireMicrosoft Build tools for Visual Studio(specifically, the Windows SDK and C++ x64/x86 build tools are needed).maintainersDan Kohler
Package: yaqd-edaq
yaqd-edaqyaq daemons for edaq sensor recording systemsThis package contains the following daemon(s):https://yaq.fyi/daemons/edaq-isopodcalibrationFollowing is an example you might use to apply callibration to the quadmf.importyaqcedaq=yaqc.Client(38000)config=edaq.get_config()print('Calibrate which channel?')chno=input()print(f'Will calibrate{chno}')edaq.remove_calibration(chno)calibpoints=config.get('calibpoints',3)calibvalues=config.get('calibvalues',[4,7,10])foriinrange(1,calibpoints+1):print(f'place probe in pH={calibvalues[i-1]}buffer, then press enter')input()edaq.add_calibration_point(chno,i,calibvalues[i-1])print('Calibration Complete')
Package: yaqd-ekspla
yaqd-eksplayaq daemons for Ekspla laser systemsThis package contains the following daemon(s):https://yaq.fyi/daemons/ekspla-nt340ekspla-nt340 notesTunable Nd:YAG Pulsed Laser System.Use astraight-through cable(pin 1 to pin 1, pin 2 to pin 2, etc.) to connect the computer and OPO.maintainersDan Kohler
Package: yaqd-gage
yaqd-gageyaq daemons forGaGehardwareThis package contains the following daemon(s):https://yaq.fyi/daemons/gage-choppinghttps://yaq.fyi/daemons/gage-compuscopedriver installationThis package relies on GaGe's official Python interface, provided as part of their C SDK. A license for this SDK must be purchased from GaGe.GaGe will provide you with a.pydfile:PyGage3_64.pydorPyGage3_32.pyd.This is essentially a Windows DLL with special Python functionality. You must put this file in your PYTHONPATH.This open source software package is not officially supported by GaGe.maintainersKent Meyer
Package: yaqd-horiba
yaqd-horibayaq daemons for Horiba Jobin-Yvon hardwareThis package contains the following daemon(s):yaqd-horiba-micro-hryaqd-horiba-ihr320Example configuration files are included in the example-yaq-configs folder.driversThis program does not use the manufacturer provided drivers for the device. Instead it uses libusb. I usehttps://zadig.akeo.ie/to override the driver to WinUSB. (This has the advantage of being able to be rolled back to the manufacturer drivers if needed)maintainersKent Meyer
Package: yaqd-labjack
yaqd-labjackyaq daemons for LabJack measurement devicesThis package contains the following daemons:https://yaq.fyi/daemons/labjack-analog-outputhttps://yaq.fyi/daemons/labjack-digital-outputhttps://yaq.fyi/daemons/labjack-sensorMaintainer(s):Blaise Thompson
Package: yaqd-scpi
yaqd-scpiyaq daemons for SCPI hardware.
This package contains a few very generic daemons for interacting with the SCPI bus from yaq.
The generic approach works well for many simple applications, but more complex hardware interaction may require a more hardware-specific daemon.scpi-sensorscpi-sensorallows yaq users to treat one or more scalar queries as a standard yaq sensor.
Multiple queries are treated as multiple channels.
Users can define channel names and units via config.
An example config follows:[rigol]port=39999visa_address="TCPIP0::128.104.68.66::INSTR"[rigol.channels][rigol.channels.trigger_level]query="TRIG:EDGE:LEV?"units="V"[rigol.channels.time_offset]query="TIM:MAIN:OFFS?"units="s"scpi-set-continuousscpi-set-continuousallows yaq users to address a single scalar settable.
Limits and units can be provided via config.
An example config follows:[rigol_ch1_freq]port=39998visa_address="TCPIP0::128.104.68.66::INSTR"limits=[0.1,25e9]scpi_command="SOUR1:FREQ"[rigol_ch2_freq]port=39999visa_address="TCPIP0::128.104.68.66::INSTR"limits=[0.1,25e9]scpi_command="SOUR1:FREQ"scpi-set-discretescpi-set-discreteallows yaq users to address a single non-scalar settable according to user-friendly names.
Identifiers must be provided via config.
An example config follows:[rigol_ch1_func]port=39999visa_address="TCPIP0::128.104.68.66::INSTR"scpi_command="SOUR1:FUNC"identifiers={"SIN"=0,"SQU"=1,"RAMP"=2,"PULS"=3,"NOIS"=4,"DC"=5}
Package: yaqd-seek
yaqd-seekyaq daemons forSeek ThermalcamerasThis package contains the following daemon(s):https://yaq.fyi/daemons/seek-compactInstallation (Windows)install yaqd-seek and all dependencies.conda install yaqd-seekplug in device.  For me, two devices appeared (com.thermal.pir.206 and iAP interface)--no driver was found for either. I need to install a usb driverdownloadZadigselectiAPdevice and installWinUSB(libusb)driverNotesThe camera is a USB male (micro, type C, or other), so you will need special USB adapters to use on computer usb ports.Maintainers:Dan Kohler
Package: yaqd-thorlabs
yaqd-thorlabsyaq daemons for thorlabs hardwareThis package contains the following daemon(s):https://yaq.fyi/daemons/thorlabs-bsc201https://yaq.fyi/daemons/thorlabs-bsc203https://yaq.fyi/daemons/thorlabs-k10cr1https://yaq.fyi/daemons/thorlabs-kdc101https://yaq.fyi/daemons/thorlabs-kst101https://yaq.fyi/daemons/thorlabs-lts150https://yaq.fyi/daemons/thorlabs-lts300https://yaq.fyi/daemons/thorlabs-mpc320https://yaq.fyi/daemons/thorlabs-ell18https://yaq.fyi/daemons/thorlabs-pax1000https://yaq.fyi/daemons/thorlabs-pm-triggeredUsing Hardware Controllers: Windows and APTFor working with hardware controllers, this package uses the serial interface to APT with help fromthorlabs-apt-protocol.On Windows, you must toggle a driver setting to make the COM port appear:Within Device Manager, right click on the APT device (under USB devices), and go to Properties.
On the Advanced tab, check the box that says Load VCP (VCP stands for Virtual COM Port).
Unplug and replug the USB cable to make it load the COM Port.Sensors use PyVISAFor sensor hardware (Thorlabs PM series), this package uses PyVISA.
Package: yaqd-wright
yaqd-wrightyaq daemons for wright group specific hardware, collected togetherThis package contains the following daemon(s):wright-aerotechAssociated hardware and firmwarehere.wright-stepper-boxAssociated hardware and firmwarehere.wright-ingaasAssociated hardware and firmwarehere.wright-wl-motorAssociated firmwarehere.ndinterpA daemon which behaves similar to attune-delay, but does no unit translation and can be non-additive
Package: yaql
YAQL (Yet Another Query Language) is an embeddable and extensible query
language, that allows performing complex queries against arbitrary objects. It
has a vast and comprehensive standard library of frequently used querying
functions and can be extend even further with user-specified functions. YAQL is
written in python and is distributed via PyPI.QuickstartInstall the latest version of yaql:pip install yaql>=1.0.0Run yaql REPL:yaqlLoad a json file:yaql> @load my_file.jsonCheck it loaded to current context, i.e.$:yaql> $Run some queries:yaql> $.customers
…
yaql> $.customers.orders
…
yaql> $.customers.where($.age > 18)
…
yaql> $.customers.groupBy($.sex)
…
yaql> $.customers.where($.orders.len() >= 1 or name = “John”)Project ResourcesOfficial DocumentationProject status, bugs, and blueprints are tracked onLaunchpadLicenseApache License Version 2.0http://www.apache.org/licenses/LICENSE-2.0
Package: yaqn
YAQN - Yet Another Quick NoteA fast, easy and OOTB app for taking your notes made in Python.Installation> pip install yaqn  # Install from pypi
> yaqn --check # Run the app and generate the config fileHow to useRun theyaqncommand, it will open the app. To save the note and close the app itself just pressCtrl + Enter.Open with a keyboard shortcutThis can't be done automatically bypip, please use the correct for your OS:MacOS: UseKarabiner Elementsand importthis rule. This should work in any standard python installation, if you a usingpyenvor similar this rule should be modified manually.Windows:Too complex too configure unfortunately...Linux, FreeBSD and others depend of the window manager you're using.ConfigurationYour configuration file is saved by default in:Unix-like:~/.config/yaqn/config.tomlWindows:%AppData%\yaqn\config.tomlCustom config pathYou can use your custom path for the config using--config:> yaqn --config /path/to/config/directoryCheck the config file integrityThe argument--checkallows you to create, check and repair the config file, just run the command and it will analyze the config:> yaqn --check
[ INFO ] Check mode -> Config checked and operativeConfiguration structureAn ordinary config file looks like this:notes_path = '/path/to/notes/directory'
extension = 'md'And this is its structure:ParameterDescriptionnotes_pathDefine the path to the directory the notes will be saved. You can use the worddefaultto point to the generic notes path.extensionDefine the extension the notes will be saves.Remember tonotput.before the extension itself.no_whitespacesDefine if YAQN should convert all whitespaces to hyphens-in the file name.no_uppercaseDefine if YAQN should convert all uppercase letters to lowercase.no_firstlineDefine if YAQN should remove the first line of the note before save it (useful with apps likeObsidianMD).Restore configuration to defaultUse the commandyaqn --restoreto regenerate the configuration with its defaults values.AuthorCreated with :heart: byKutu.GitHub -kutu-devTwitter -@kutu_devLogo of the app created byvladlucha(account deleted unfortunately) inMacOS Icons.
Package: yaqq
Copyright Â© 2023 Quantum Intelligence Research GroupSource code available at:https://github.com/Advanced-Research-Centre/YAQQContact:https://www.linkedin.com/in/sarkararitra/YAQQ: Yet Another Quantum Quantizer - Design Space Exploration of Quantum Gate Sets using Novelty SearchThe YAQQ (Yaqq Another Quantum Quantizer) is an agent that searches for novel quantum gate sets. Given a gate set, it can find a complementary gate that performs better for a particular set of unitary transformations than the original gate set. It is possible theoretically because (a) there are an infinite number of ways of creating universal quantum computing gate sets - the ubiquity of quantum universality, (b) for each discrete gate set, there are certain quantum states that are easy to express, but many other quantum states which are exponentially costly - universal distribution for quantum automata. The cost, or the performance of a gate set, considers the fidelity when the gate set is used to decompose the target set of quantum transformations and the circuit complexity of the decomposition.The theoretical foundation of this package, higher- and multi-order network models, was developed in the following works:RuliadTrotter: meta-modeling Metamathematical observersVisualizing Quantum Circuit Probability: Estimating Quantum State Complexity for Quantum Program SynthesisAutomated Quantum Software Engineering: why? what? how?Discovering Quantum Circuit Components with Program SynthesisAutomated Gadget Discovery in ScienceThe YAQQ name is inspired by theYACC- a compiler-compiler, or a compiler-generator. In a similar way YAQQ provides the set of decompositions for the generated gate set.This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.You should have received a copy of the GNU Affero General Public License
along with this program.  If not, seehttps://www.gnu.org/licenses/.Install:pip install --upgrade yaqqUsage:import yaqq
yaqq.run()Contributors:Aritra Sarkar (project lead, development) Akash Kundu (development, test suite integration)Citation:If you find the repository useful, please consider citing:@misc{YAQQ,
  author={Sarkar, Aritra and Kundu, Akash},
  title={YAQQ: Yet Another Quantum Quantizer},
  howpublished={\url{[https://github.com/Advanced-Research-Centre/YAQQ](https://github.com/Advanced-Research-Centre/YAQQ)}},
  year={2023}
}
Package: yaqti
yaqti (Yet Another QT Installer - ya-q-ti!)Overviewyaqtiis a basic unofficial CLI Qt installer; designed to keep things as stupid as possible. It lets you install different Qt5 and Qt6 versions with optional modules such as QtCharts, QtNetworkAuth ect all in a single command,# install yaqtipipinstallyaqti# install Qt!python-myaqtiinstall--oswindows--platformdesktop--version6.2.0--modulesqtchartsqtquick3d, optionally the--set-envcan be specified. This setsQt5_DIR/Qt6_DIRso CMake can find the installation.--install-depscan be specified, on Linux platforms to install Qt dependencies fromapt-get.
It can also be used as a github action,-   name: Install Qt
    uses: WillBrennan/yaqti
    with:
        version: '6.2.0'
        host: 'linux'
        target: 'desktop'
        modules: 'qtcharts qtwebengine'. By default, the github-action will set the enviroment variables for Qt and install Qt dependencies. For a real-world example visitdisk_usage, the project this was made for.OptionsversionThe version of Qt to install, for example6.2.0or5.15.2. It checks the version is valid.osThe operating system you'll be running onlinux,windows, ormac.platformThe platform you'll be building for,desktop,winrt,android, orios.modulesThe optional Qt modules to install such as,qtcharts,qtpurchasing,qtwebengine,qtnetworkauth,qtscript,debug_info.output-default: ./qtThe directory to install Qt in, it will put it in aversionsub directory. By default if you install--version=5.15.2it will install qt into./qt/5152.--set-envsDesigned for use in CI pipelines; this sets enviromental variables such asPATH,Qt5_DIR, andQt6_DIRso CMake can find Qt and you can use executables directly.--install-depsDesigned for use in CI pipelines. This installs dependencies required by Qt on Linux platforms. If this flag is provided on non-linux platforms it does nothing.Why Another Qt CLI Installer?I've had issues with other CLI installers in the past,They'll silently fail to download a module if you typeqchartsinstead ofqtchartsThis fetches module and addon configurations directly from the Qt Archive, new modules and versions will appear without the tool updating!It keeps module names the same between Qt5 and Qt6 despite Qt moving them around a bit.I like to keep things stupidly simple!How does it work?!Qt provides theQt Archive, this script simply works out what 7zip files to fetch and unpacks them to the specified installation directory. Then if you want, it sets the enviroment variable so CMake can find the install.