Saravanan666/pypi-org huggingface dataset:
Package: airportfinder
airportfinderairportfinder is a Python library that provides a simple interface for looking up airport information by IATA code or airport name. It uses a JSON dataset of airports worldwide to provide accurate and up-to-date information.InstallationYou can install airportfinder using pip:pipinstallairportfinderUsagefromairportfinder.airportfinderimportAirports# Create an instance of the Airports classairports=Airports()# Look up an airport by IATA codeairport=airports.airport_iata('LGA')print(airport)# {'code': 'LGA', 'lat': '40.7731', 'lon': '-73.8756', 'name': 'LaGuardia Airport', 'city': 'Flushing', 'state': 'New York', 'country': 'United States', 'woeid': '12520509', 'tz': 'America/New_York', 'phone': '', 'type': 'Airports', 'email': '', 'url': '', 'runway_length': '7000', 'elev': '22', 'icao': 'KLGA', 'direct_flights': '82', 'carriers': '30'}# Look up an airport by nameairport=airports.airport_name('LaGuardia Airport')print(airport)# {'code': 'LGA', 'lat': '40.7731', 'lon': '-73.8756', 'name': 'LaGuardia Airport', 'city': 'Flushing', 'state': 'New York', 'country': 'United States', 'woeid': '12520509', 'tz': 'America/New_York', 'phone': '', 'type': 'Airports', 'email': '', 'url': '', 'runway_length': '7000', 'elev': '22', 'icao': 'KLGA', 'direct_flights': '82', 'carriers': '30'}The airport_iata and airport_name methods return the airport object corresponding to the provided IATA code or name. If the airport is not found, it returns None.Contributing
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue on the GitHub repository.License
This project is licensed under the BSD 3-Clause License. See the LICENSE.txt file for details.Acknowledgments
This project uses airport data provided by Thomas Reynolds's "Airports" gist on GitHub:https://gist.github.com/tdreyno/4278655We would like to thank Thomas for his contributions to the open-source community and for making this data available to us.
Package: airport-py
airport-pyTiny MacOS only python library to integrate/use wi-fi scan results in your python projects. Wi-Fi scan data gathered by calling & parsing the results of a small MacOS cli utility called "airport"./System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airportis the default path to program executable. Exporting environment variableAIRPORT_PATHwill update the defaults if you have your executable in a different path.Installationpip install airport-pyUsageimportairport# current connectionprintairport.info()InfoResult(agrCtlRSSI='-64',agrExtRSSI='0',agrCtlNoise='-92',agrExtNoise='0',state='running',op_mode='station',lastTxRate='702',maxRate='1300',lastAssocStatus='0',auth_80211='open',auth_link='wpa2-psk',BSSID='d0:3:4b:e9:55:99',SSID='AirPortTimeCapsule',MCS='5',channel='44,80')# wi-fi scanningscan_results=airport.scan()printmap(lambdar:(r.ssid,r.bssid,r.channel),scan_results[:3])[('kablo-ac','fd:4a:e9:6f:95:7e','52'),('kablo','fd:4a:e9:6f:95:7d','11'),('oz-hukuk','88:31:fd:4e:20:67','11')]
Package: airportsdata
Extensive database of location and timezone data for nearly every operational airport and landing strip in the world,
with 28,137 entries.Each entry consists of the following data:icao: ICAO 4-letter Location Indicator (Doc 7910) or (if none) an internal Pseudo-ICAO Identifier[1](28,137
entries);iata: IATA 3-letter Location Code (7,592 entries) or an empty string[2];name: Official name (diacritized latin script);city: City (diacritized latin script), ideally using the local language;subd: Subdivision (e.g. state, province, region, etc.), ideally using the local-language or English names ofISO 3166-2;country:ISO 3166-1alpha-2 country code
(plusXKfor Kosovo);elevation: MSL elevation of the highest point of the landing area, in feet (warning: it is often wrong);lat: Latitude (decimal) of theairport reference point;lon: Longitude (decimal) of theairport reference point;tz: Timezone expressed as atz database name(IANA-compliant) or an empty string for Antarctica;lid: U.S. FAA Location Identifier (12,567 entries), or an empty string.[1]Seeherefor an explanation on
how the Pseudo-ICAO Identifier is generated for airports and seaplane bases without an ICAO 4-letter Location
Indicator.[2]IATA Multi Airport Cities are not not airports so are not included, but we provide a database and a Python
function that returns the above data for all of their component airports of a IATA MAC. Please see documentationhere.Best efforts are placed to review all contributions for accuracy, but accuracy cannot be guaranteed nor should be
expected by users.Important notes:Timezone was originally sourced fromTimeZoneDBand is missing for Antarctica;No historical data (closed airports are removed).Please report any issues you may findhere.This project is a fork ofhttps://github.com/mwgg/Airports. All new data submitted in this fork have been validated
against nationalAeronautical Information Publications (AIP) or equivalent(or
ARINC database) andIATAbefore publishing.Raw dataA CSV (comma separated values) file, with headers and encoded in UTF-8, is downloadable from GitHubhere.PythonInstall fromPyPiusing pip:pipinstall-UairportsdataOnce installed, to load the data into a dict:importairportsdataairports=airportsdata.load()# key is the ICAO identifier (the default)print(airports['KJFK'])orimportairportsdataairports=airportsdata.load('IATA')# key is the IATA location codeprint(airports['JFK'])orimportairportsdataairports=airportsdata.load('LID')# key is the FAA LIDprint(airports['01AA'])Older Python versions are supported for 3 years after being obsoleted by a new major release (i.e. about 4 years
since their original release).LicenseReleased under theMIT License(see licensehere).
Package: airpress
airpressAirPress lets you create, sign and zip PKPass archives for Apple Wallet in runtime memory without a need for temporary files or directories.InstallationFrom PyPI:pip install airpressQuickstartfromairpressimportPKPass# PKPass compressor operates on `bytes` objects as input/outputp=PKPass(('icon.png',bytes(...)),('logo.png',bytes(...)),('pass.json',bytes(...)),...)p.sign(cert=bytes(...),key=bytes(...),password=bytes(...))# `password` argument is optional_=bytes(p)# Creates `bytes` object containing signed and compressed `.pkpass` archiveIn most cases you're likely to returnpkpassashttpresponse andbytesobject is exactly what you need.PKPasswill raise human-readable errors in case something is
wrong with pass package you're trying to sign and compress.Manage assets in pass packageAccessingPKPassassets that are already added to pass package is as easy as working with dictionary.Retrieve asset:icon=p['icon.png']It can also be used as alternative to add/update asset:p['icon.png']=bytes(...)Remove asset from pass package:delp['logo.png']Prepare Pass Type ID certificateIf you don't have your pass type certificate, follow this guide to create one.Export your developer certificate as.p12file and convert it into a pair of cert and key.pemfiles:openssl pkcs12 -in "Certificates.p12" -clcerts -nokeys -out certificate.pemopenssl pkcs12 -in "Certificates.p12" -nocerts -out key.pemYou will be asked for an export password (or export phrase), you may leave it blank or provide a passphrase.
It's this value that you later should supply to PKPass compressor (or leave blank).Example with local filesIn case you'd like to play around with locally stored files, or your server keeps assets in the same file storage
as source code, this example shows you how to read locally stored assets asbytesobjects, compresspkpassarchive
and save it to script's parent directory.importosfromairpressimportPKPass# Create empty pass packagep=PKPass()# Add locally stored assetsforfilenameinos.listdir('your_dir_with_assets'):withopen(os.path.join(os.path.dirname(__file__),'your_dir_with_assets',filename),'rb')asfile:data=file.read()# Add each individual asset to pass packagep.add_to_pass_package((filename,data))# Add locally stored credentialswithopen(os.path.join(os.path.dirname(__file__),'your_dir_with_credentials/key.pem'),'rb')askey,open(os.path.join(os.path.dirname(__file__),'your_dir_with_credentials/certificate.pem'),'rb')ascert:# Add credentials to pass packagep.key=key.read()p.cert=cert.read()p.password=bytes('passpass','utf8')# As we've added credentials to pass package earlier we don't need to supply them to `.sign()`# This is an alternative to calling .sign() method with credentials as arguments.p.sign()# Create pkpass file with pass datawithopen('your_dir_for_output/data.pkpass','wb')asfile:file.write(bytes(p))Hope you find this package useful!
I'd love to hear your feedback and suggestions for this tiny library as there's always room for improvement.
Package: airpy
UsageInstallation:$ pip install airpyRun:$ airpy

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

    AirPy : Documentation Installer for the Python

Options:
    --help  Show this message and exit.

Commands:
    autopilot  Auto install docs.
    install    Install offline doc of a Python module.
    list       List installed docs.
    remove     Remove an installed doc.
    start      Start a doc in a browser.Install a Documentation:$ airpy install requestsStart the Documentation in a browser:$ airpy start requestsRemove a Documentation:$ airpy remove requestsAirPy Autopilot : Install Documentation for Python packages already installed in your system.:$ airpy autopilot
$ airpy list
  flask   requests   django   sphinx   wheel   setuptools
Package: airqdata
Air quality dataA toolkit to retrieve, analyze and visualize data from a variety of air quality
sensors.The scripts include tools towrap the APIs of various data providers, including Civic Lab Brussels'InfluencAirproject, theluftdaten.infoproject,madavi.deandirceline.berepresent sensors of those different providers as objects with a unified
interface to make it easy to interact with themretrieve sensor measurement data through API callscache those dataclean and combine the datadescribe measurements statistically - individual sensors or groups to
compareplot measurement time seriesfind sensors that are geographically close to a point of interest or to other
sensorsFor usage examples, see thedemonotebook.InstallationTo install airqdata from PyPI, runpip install airqdataA Python 3.5+ environment and several Python packages are required. When
installing airqdata with pip, those dependencies will be installed
automatically. Otherwise see requirements.txt and
install_requirements.sh in this repository.LegalThe scripts are licensed under theGPLv3.Data made available by the luftdaten.info project arelicensedunder theOpen Database License.Data published by the Belgian Interregional Environment Agency (IRCEL/CELINE)
arelicensedunder theCreative Commons Attribution 4.0
license.
Package: airQInsight
airQ-insightVisualization of Air Quality Indication Dataset collected byairQto get deeper insight, written with :heart:Accompanying website for Visualization of Air Quality, Coming soon ...:boss:motivationPrior to it, I wrote one simple data collection module, which collects Air Quality Indication Data from Govt. Of India'sOpen Data Platform.Now for getting a peek into that collected dataset, I'm writing this module, which can generate animated plot of pollutants( i.e. CO, NH3, NO2, OZONE, PM10, PM2.5, SO2 )for all monitoring stations, from which Pollution Control Board(s) collect data.installationThis python module is available on PyPI.$pipinstallairQInsight--user
$python3-mpipinstallairQInsight--user# if above one doesn't workusageAfter installingairQInsight, make sure you've put installation path( which is by default /home/user/.local/bin/ )in your system PATH variable.Now it can be invoked using its name directly.$airQInsight
airQInsight-AirQualityDataVisualizationSystem$airQInsight`path-to-data-file_(*.json)_``path-to-sink-directory`BadInputautomationIt'd be a good idea to automate this animated plot generation method usingsystemd, as we did in case ofairQ( which collected Air Quality Indication Data periodically ).Required UNIT files are suppliedhereYou'll require to make some changes in order to run this on your environment.Thanking you :wink:
Package: air-quality-cli
Air Quality Index CLIGet Air Quality index for your City.Installation$pipinstallair-quality-cliContentsAir Quality Index CLIInstallationContentsUsageInitializationSeach for air quality based on country or city nameSave your city to config for quick view.ContributingUsageInitializationOne time setup to initialize the CLI using API token.Get your API Token!$airinitSeach for air quality based on country or city name$airsearchkathmandu$airsearchNepalDemoSave your city to config for quick view.You can save stations from a number of locations to quickly view air quality there.Save the location$airaddkathmanduShow air quality from all your saved locations$airshowDemoContributingFor guidance on setting up a development environment and how to make a contribution toair-quality-cli, see thecontributing guidelines.
Package: airrship
AIRRSHIP - Adaptive Immune Receptor Repertoire Simulation of Human Immunoglobulin ProductionAIRRSHIP simulates B cell receptor (BCR) sequences for use in benchmarking applications where BCR sequences of known origin are required.AIRRSHIP replicates the VDJ recombination process from haplotype through to somatic hypermutation. Recombination metrics are derived from a range of experimental sequences allowing faithful replication of true repertoires. Users may also control a wide range of parameters that influence allele usage, junctional diversity and somatic hypermutation rates. The current model extends to human heavy chain BCR sequences only.Installationpip install airrshipDocumentationFull documentation is availablehere.Example datasetsIf you do not wish to install and run AIRRSHIP yourself or want to explore the output yourself first, a small example repertoire is hosted at the AIRRSHIPGitHub repository. Larger example repertoire files are available atZenodo.PublicationsA preprint is currently available athttps://doi.org/10.1101/2022.12.20.521228.
Package: airrun
airrun致力于简单快速的在Android设备上运行airtest，减少在构建用例、获取性能监控、日志获取方面的复杂度，
并提基于airtest报告的新的报告生成工具，让测试人员更专注于编写测试用例。Python Version >= 3.6介绍用例分层和封装模板封装执行时区分用例监控 cpu、memory 信息输出图表统计信息图表重写 log 手机重写报告生成安装pip install airrunpipinstall--upgradeairrun使用python-mairrunversionshowversionandexitrunrunscriptinfoget&printauthor/title/descinfoofscriptreportgeneratereportofscript参数支持 run 方法pythonrun--package=com.tencent.mm--device=yourdevice用例编写查看testcase目录namedescremarkconfig本地配置pages/resource存放 资源文件page/*.py具体的页面信息main.py默认运行的 script 文件test_1.py给出的测试用例文件添加用例importloggingfromairtest.core.apiimport*fromairrun.common.marksimportairrun_setupfromtestcase.config.configimportLocalSettingfromtestcase.pagesimportmain_page_templatelogger=logging.getLogger(__name__)__author__="mengwei"__title__="Case 1"__desc__="""DEMO"""# 1 使用 airrun_setup 时，要传入测试的 package，测试的名称，全局不能重复@airrun_setup(package_name=LocalSetting.APP_PACKAGE_NAME,test_name="test_1",login_func=None)deftest_1():start_app(LocalSetting.APP_PACKAGE_NAME)time.sleep(5)main_page_template.dao_hang_template.tmplt_wo_de.assert_exists()main_page_template.dao_hang_template.tmplt_wo_de.click()分层编写报告生成基于 airtest 的报告生成，增加了每个用例的信息和全局的信息，支持自定义添加基于设备的报告
Package: airscape
AirScape WHF interfaceAirScapehas a collection of connected whole house fans.  They can be controlled via their app, but also have a published API.  This project is an interface to control their fans locally via the REST API on the fan.API is documentedhereInvocationImport into your code and create aairscape.Fanobjectimportairscapefan=airscape.Fan('192.168.1.10',5)Constructor takes 2 arguments.  The IP or hostname (if you DNS registered your fan) and the timeout for communicating with the fan.The timeout is optional and has a default value of 5.Fan ControlThe fan has 3 attributes to control:on/offspeedtimer>>>fan.is_onFalse>>>fan.is_on=True>>>fan.is_onTrue>>>fan.speed2>>>fan.speed=5>>>fan.speed5>>>fan.add_time()The speed can also be controled in incrememnts instead of setting directly>>>fan.speed3>>>fan.speed_up()>>>fan.speed4>>>fan.slow_down()>>>fan.speed3
Package: airsensor-py
# airsensor-pyPython package for getting sensor values from an Ambient Air Sensor such as offered by [Rehau](https://www.amazon.co.uk/Rehau-USB-Stick-Ambient-Sensor/dp/B00ZXP6EI4).## Getting StartedThis section will introduce you to airsensor-py and how to install and use it for fun and profit.### PrerequisitesMake sure that python 3 + pip is installed.### Installing```pip install airsensor-py```## UsageYou can either use this package as a library in your code or using the bundled CLI. You'll have to run it as root or set up a udev rule to grant r/w access to the device to the user. For more instructions on that, see [here](https://github.com/tuxedo0801/usb-sensors-linux).### Library```from airsensor.core import AirSensorairsensor = AirSensor()voc = airsensor.get_voc()print(voc)> 450```### CLI```$ airsensor-py> 450```## Built With* [PyUSB](https://walac.github.io/pyusb/)## LicenseThis project is licensed under the MIT License - see the [LICENSE.txt](LICENSE.txt) file for details## ContributionWant to add a feature or report a bug? Open an issue or a pull request for me!## Acknowledgments* [A C implementation](https://code.google.com/archive/p/airsensor-linux-usb/) was done by Rodric Yates which I used to see how the interaction with the device works.
Package: airsim
Python API for AirSimThis package contains Python APIs forAirSim.How to UseSee examples atcar/hello_car.pyormultirotor/hello_drone.py.DependenciesThis package depends onmsgpackand would automatically installmsgpack-rpc-python(this may need administrator/sudo prompt):pip install msgpack-rpc-pythonSome examples also requires opencv.More InfoMore information on AirSim Python APIs can be found at:https://github.com/Microsoft/AirSim/blob/main/docs/python.md
Package: airsim-adaptor
A customized airsim API adaptor for special purposesThis is a simple example package for special purpose usages ofMirosoft AirSim Unmanned Vehicle Simulator's python API. It utilizes the use of sBGC commands for gimbal emulation and Visca adaptor for Zoom/FOV controls.For more information:For more information onAirSimproject checkoutAirsim ProjectgitHub repo.
Package: airsim-autonomous-landing
Autonomous-Drone-Landing-On-Moving-Object-AirSimEasily land the drone on a moving or stationary target after the mission has completed!HOW TO USEfrom autonomous_landing import autonomous_landing
The object autonomous_landing(target_name, mission_function, mission_function_args) gets a name of the target, a function that you've created and want the drone to complete and the function's arguments if there are any.usage example:drone = autonomous_landing('LandingTarget_2', time.sleep, (5))
     drone.RUN()In this case, the drone will complete a sleep function, for 5 seconds. You can create your own function with more advanced controls.After completing the mission, the drone will search for a target named 'LandingTarget_2' and will complete an autonomous landing on that target.(target name is from unreal)Tested on airsim for unreal 4.27.Runs on blocks project (deafult project for airsim)
Package: airsimdroneracingvae
# Python API for AirSim-Drone-Racing-VAE-ImitationPython package for code -https://github.com/microsoft/AirSim-Drone-Racing-VAE-Imitation- associated with our paper Learning Controls Using Cross-Modal Representations: Bridging Simulation and Reality for Drone Racing:https://arxiv.org/abs/1909.06993, built on [Microsoft AirSim](https://github.com/microsoft/AirSim)## Dependencies
This package depends onmsgpackand would automatically installmsgpack-rpc-python(this may need administrator/sudo prompt):` pip installmsgpack-rpc-python`
Package: airsim-emulator
A customized airsim API Emulator for special purposesThis is a simple example package for special purpose usages ofMirosoft AirSim Unmanned Vehicle Simulator's python API. It utilizes the use of sBGC commands for gimbal emulation and Visca adaptor for Zoom/FOV controls.For more information:For more information onAirSimproject checkoutAirsim ProjectgitHub repo.
Package: airsimneurips
# Python API for AirSimThis package contains Python APIs for [Game of Drones: A NeurIPS 2019 Competition](https://github.com/microsoft/AirSim-NeurIPS2019-Drone-Racing), built on [Microsoft AirSim](https://github.com/microsoft/AirSim)## Dependencies
This package depends onmsgpackand would automatically installmsgpack-rpc-python(this may need administrator/sudo prompt):` pip installmsgpack-rpc-python`
Package: airslate
airslateis a Python client library for theairSlateAPI v1.This Python client library has been designed to quickly and easily implement
the airSlate REST API. It offers a simple and elegant way to interact with
airSlate API resources within your Python applications. Sign up for our API here:https://developers.airslate.comProject Informationairslateis released under theApache Licence 2.0,
and the code onGitHub.
It’s rigorously tested on Python 3.7+. If you’d like to contribute toairslateyou’re most welcome!SupportShould you have any question, any remark, or if you find a bug, or if there is
something you can’t do with theairslate, pleaseopen an issue.Release Information0.2.1 (2021-02-08)FeaturesProvided ability to get slate addon file.Added new resources:airslate.resources.slate_addon.SlateAddonFiles- represent slate addon files resourceAdded new entities:airslate.entities.addons.SlateAddon- represent slate addon entityairslate.entities.addons.SlateAddonFile- represent slate addon file entityThe base entity class as well as all derived classes now provide the following methods:has_one()- create an instance of the related entityfrom_one()- create an instance of the current class from the provided dataTrivial/Internal ChangesChange default string representation of entities. Now it has the
following form<EntityName: id=ID, type=TYPE>.Full changelog.Creditsairslateis written and maintained byairSlate.A full list of contributors can be found inGitHub’s overview.