Saravanan666/pypi-org huggingface dataset:
Package: ottr-force-save-labextension
ottr_force_save_labextensionA JupyterLab extension for force-saving notebooks fromottr, theOtter-GraderR client.RequirementsJupyterLab >= 4.0.0InstallTo install the extension, execute:pipinstallottr_force_save_labextensionUninstallTo remove the extension, execute:pipuninstallottr_force_save_labextensionContributingDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the ottr_force_save_labextension directory# Install package in development modepipinstall-e"."# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Rebuild extension Typescript source after making changesjlpmbuildYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).By default, thejlpm buildcommand generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:jupyterlabbuild--minimize=FalseDevelopment uninstallpipuninstallottr_force_save_labextensionIn development mode, you will also need to remove the symlink created byjupyter labextension developcommand. To find its location, you can runjupyter labextension listto figure out where thelabextensionsfolder is located. Then you can remove the symlink namedottr-force-save-labextensionwithin that folder.Packaging the extensionSeeRELEASE
Package: otv
Have you:Built dozens if not hundreds of Ortho4XP tiles, but now get
mysterious crashes when scenery tries to load?Had your Ortho4XP process crash during the night and don’t know which
tiles completed successfully?I have. So I wrote a utility to scan through all the Ortho4XP tiles and
validate them, reporting any tiles that have errors so I can fix them in
Ortho4XP.InstallationIf you already have Python(v3) installed and working, you can usepip3to install:$ pip3 install otvOtherwise, head over toGitHuborPyPiand download the latest
release.Getting StartedThere are three ways to run the program:If you installed via thepip3installer, you’ll have an
executable namedotvavailable, so you should be able to:cd into your Ortho4XP directoryrunotvDownload the latest release fromPyPiorGitHuband extract it into a
folder. From the command line, run:python3 bin/otv YourOrtho4XPdir(Obviously; change “YourOrtho4XPdir” to wherever you’ve stored your
Ortho Tiles)If you’re on windows, and prefer an EXE, download the latest release
fromGitHuborPyPi, then:Extract the package (anywhere on your filesystem)Create a shortcut frombin/otv.exeon your desktop (mustbe
a shortcut).Go to thePropertiesof theshortcutand change the “Start
In” field to point to your Ortho4XP directory.Then you can simply double click the shortcut to run the utility
anytime.More InfoRunning otv without any additional arguments will give you a help
message:usage: Ortho4XP Tile Validator [-q | -v] [-p | --no-pause] [--no-progress]
                               [-h] [--version]
                               [tile_directory]

Scan all Ortho4XP Tiles and report any problems

positional arguments:
  tile_directory     Directory where Tiles are stored (usually your Ortho4XP
                     dir) - If not provided; will use the current directory

display output:
  -q, --quiet        Suppresses all output; exit value indicates errors found
  -v, -V, --verbose  Increase verbosity (repeat to increase verbosity more)

alter defaults:
  -p, -P, --pause    Pause the program before exiting (default for Windows)
  --no-pause         Disable auto-pause
  --no-progress      Disables the progress bar display

help and information:
  -h, --help         show this help message and exit
  --version          show program's version number and exitCurrently, it checks for things like:missing or empty data directories (Earth Nav Data, Terrain,
Textures)missing references to textures from each terrain filetextures which exist but aren’t referenced from a terrainYou can find the pip page onPyPiand the source code onGitHub(both provide package
downloads)OTV is currently in beta, so if you’re interested, please try it out and
let me know how it works for you. I would appreciate any feedback and/or
bug reports.Known IssuesOn Windows, the utility will pause after each run, even if running
from a command line. This is done because most Windows users will be
running the util from a Shortcut, so the pause is necessary without
having to specifically add it. You can use the--no-pauseoption
to disable this functionality
Package: otwrapy
otwrapyis a collection of tools that simplify the task of wrapping
external codes in a Python environment as well as parallelizing it. It is built
on top ofOpenTURNS, with its users as the target
audience. Documentation is availablehere. The module provides :An integrated progress bar for unit evaluation of a sample without parallelization.AParallelizerclass that converts anyot.Functioninto  a parallel wrapper using eithermultiprocessing,ipyparallel,joblib,pathosordask SSHCluster.A set of useful tools that simply recurrent tasks when writing code
wrappers:TempWorkDir: Context manager that gracefully creates a temporary
working directory. It handles errors and has the option to cleanup upon
exit.Debug: Decorator that protects the decorated function into a
try/except structure so that errors are logged. It is specially useful
when you launch your code in a non interactive environment.load_arrayanddump_array: Used for efficiently create
and load backups with the option to compress with gzip.safemakedirs: Create a directory without raising an exception if
it exits.create_logger: Return a logger with a FileHandler at a given
logging level.otwrapycomes from the experience of wrapping a lot of
different external codes atPhimeca engineering. We are a company specialized in
uncertainty treatment and we assist our clients introducing the
probabilistic dimension in their so far deterministic studies.WarningWhile fully usable, otwrapy is still pre-1.0 software and hasnobackwards compatibility guarantees until the 1.0 release occurs! Please
make sure to be carefulanytime you upgrade!
Package: otx-misp
Imports Alienvault OTX pulses to a MISP instance.Free software: Apache 2.0 licenseInstallationPython 2 support will be dropped soon.pip install otx-mispDocumentationhttps://otx-misp.readthedocs.io/Alienvault OTX SDKAll files in thesrc/otx_misp/otxdirectory are Copyright 2015 AlienVault, Inc. and under the Apache 2.0 license.Changelog1.4.3 (2019-02-10)Fixed the PyMISP version check in add tag wrapper (@obert01)1.4.2 (2018-05-11)Fix typo in logger name (@TheDr1ver)Don’t add already attached tag to eventsTested with Python 3.5 and MISP 2.4.891.4.1 (2017-08-25)Fix MISP tag name parsing (@KALRONG)Use pulse ‘created’ date in MISP event (@obert01)1.4.0 (2017-08-14)Add YARA indicator support1.3.0 (2017-07-04)Fix dedup functionFix TLP tag importDon’t stop on import errorPython 2 support warningTested with Python 3.5, MISP 2.4.[71-76], PyMISP 2.4.711.2.1 (2017-03-31)Fix Python 3 compatibility1.2.0 (2017-03-31)Fixes event taggingAdds additional tagging optionsHandles empty reference field in OTX pulses1.1.1 (2017-01-28)Improve Pulse modified field parsing1.1 (2016-12-04)Fix compatibility with PyMISP >= 2.4.53Improve Python 3 support1.0.3 (2016-09-10)Fix new configuration cloning bug1.0.2 (2016-09-02)Fix compatibility issue with Python 2.7.61.0.1 (2016-09-01)Catch exceptions when disabling SSL warnings1.0.0 (2016-06-21)First stable versionPulse Traffic Light Protocol level added as tag in MISP eventIf the last part of a MISP tag and a Pulse tag are the same, tag the MISP eventMISP attributesto_idsfield0.3.0 (2016-06-20)Fix default handling for distribution, threat_level and analysis parametersBetter performance: Use OTXv2 generator API and remove some delays0.2.0 (2016-06-14)Integrate OTXv2 as a subtree.0.1.0 (2016-06-14)First release on PyPI.
Package: ou-book-theme
OU Book ThemeInstallationpip install ou-book-themeFull documentation can be found athttps://docs.ocl.open.ac.uk/ou-book-theme/latest.DevelopmentTo reduce any code formatting and layouting issues, the project uses theBlack formatter.To ensure that your code follows the formatting, apre-commit hookis provided, which can
be installed viapre-commit installThe project useshatchto manage the Python development environment. Additionally the build
process requiresNode.js. After installing the pre-requisites, you can run the development
server with the following command:hatch run server
Package: oucass-checklist
ChecklistChecklist for flight safety and metadata logs compatible with oucass-profiles.To run, simply ensure that click is installed and type the command "checklist"
into the terminal.Safety checks includeCheck for visual obstacles and potential source of interferenceClear and agree on a takeoff and landing zoneDecide if current weather conditions are appropriate for safe flightVisual inspection of the vehicleVerify Mission Planner software preparedConnect ground station RF to laptopVerify controller preparedUAV battery setupConnect telemetryConfirm no error messages with Mission PlannerConfirm GPS fix type (outdoors must get 3D fix)Check data loggingPlace vehicle at launch pointCheck flight mode on controllerConfirm data logging software runningCheck sensors are in correct rangeReview flight plan - verbal and on Mission PlannerTest audio communications among participantsCheck if all participants ready for flightArm UAVCheck GPS lockClear propsNotify participants mission is completeDisarm UAVDisconnect batteryInspect UAVMetadata logs includeLocation name and IDLocation info, such as the surface altitude, nearby Mesonet stations, and region from the CF Standard Region ListPilot in commandOther pilots on site for COA flightsFlight objectiveFAA authorization typePlatform (UAV) IDScoop IDBattery IDInitial and final battery voltagesCloud coverRain (yes/no)Maximum planned and maximum obtained altitudesLaunch and land times (in UTC)Emergency documentationPrivate and public remarksUse Admin mode toadd, remove, or reorder saved platformsadd, remove, or reorder saved locationsadd, remove, or reorder saved objectives
Package: ouch-connect
This package is python extension module for rust crateouch_connect_nonblockingInstallation & Testpytestexpectsouch_connectsource to be checked out from github. Test files are located in./bindings/python/testsdirectory.micromambacreate--nameouch_pypi_env--yespython&&micromambarun--nameouch_pypi_envpipinstall"ouch-connect[test]>=5.0,<5.1"&&micromambarun--nameouch_pypi_envpytestBasic Usage Exampleimportloggingfromtimeimportsleepfromouch_connectimportCltAuto,SvcAutofromlinks_connect.callbacksimportLoggerCallback,DecoratorDriver,on_recv,on_sent,MemoryStoreCallbacklogging.basicConfig(format="%(asctime)-15s[%(threadName)10s|%(levelname)8s]%(message)s\t%(filename)s:%(lineno)d")logging.getLogger().setLevel(logging.INFO)log=logging.getLogger(__name__)addr="127.0.0.1:8080"classSimulatorExample(DecoratorDriver):@on_recv({"Dbg":{}})defon_dbg(self,con_id,msg):self.sender.send({"Dbg":{"text":"Hello from Simulator"}})@on_recv({})defon_all_recv(self,con_id,msg):pass@on_sent({})defon_all_sent(self,con_id,msg):passstore=MemoryStoreCallback()clt_clbk=LoggerCallback(sent_level=logging.NOTSET)+storesvc_clbk=SimulatorExample()+storewith(SvcAuto(addr,svc_clbk,**dict(name="svc-ouch"))assvc,CltAuto(addr,clt_clbk,**dict(name="clt-ouch"))asclt,):assertclt.is_connected()andsvc.is_connected()log.info(f"svc:{svc}")log.info(f"clt:{clt}")clt.send({"Dbg":{"text":"Hello from Clt"}})found=store.find_recv(name="svc-ouch",filter={"Dbg":{}})assertfoundisnotNoneandfound.msg["Dbg"]["text"]=="Hello from Clt"log.info(f"found:{found}")found=store.find_recv(name="clt-ouch",filter={"Dbg":{}})assertfoundisnotNoneandfound.msg["Dbg"]["text"]=="Hello from Simulator"log.info(f"found:{found}")
Package: ou-container-builder
OU Container BuilderDocumentation for the OU Container Builder can be found here:https://ou-container-builder.readthedocs.ioInstall and RunTo run the OU Container Builder you need to install the following two requirements:Python 3.8 (or higher)PipxThen, to install the OU Container Builder runpipx install git+https://github.com/mmh352/ou-container-builder.gitTo upgrade to the latest version, run:pipx upgrade ou-container-builderYou can then run the OU Container Builder using the following command:ou-container-builderDemoTo build the demo container:Clone the repositoryChange into thedemodirectoryRunou-container-builderThe resulting container listens for connections on port 8888 and it is recommended that you mount the/home/ou-userdirectory as a volume.DevelopmentTo work on the OU Container Builder you need to install an additional dependency:PoetryThen usepoetry installto install all Python dependencies in a project-specific virtualenv. Then start a shell that runs commands
within that virtualenv:poetry shellYou can now runou-container-builderto run your development version of the code.ValidationTo automatically check that any committed code follows the Python guidelines, install a git pre-commit hook using
the following command:pre-commit installValidation checks are automatically run and must be passed before code can be merged into the default branch.
Package: oui
ouiMaking highly reusable UI components for sound recognition pipelines.If more people use a component, reuse is a given.
So how do we make more people use a component?
The component should be:usefuleasy to useeasy to adapt (because one size rarely fits all)We should have three "contexts" in mind:use in front-end devuse from python (dash -- or other py-js bridgin tool)use from python (jupyter notebooks)What components?
Some really high level ones (lists, tables, nested data)?
Some more specific: Hear/view sound, configs CRUD, etc.Architectural notesThe following are just suggestions, but follow them unless you have a
defendable reason not to. Also, do add/edit these if you have some ideas of your
own.One folder per component, with python interface in the__init__.pyunder it.If python and js need to share some resources (say settings, defaults, etc.),
put these in ONE place (for example a json file) from which both python and js
will source these.Include as many defaults and annotations as possible. We want the components to
be used out-of-the-box, and only tuned if and when needed.
Defaults can be dumb values, or "smart"
(set dynamically according to the context)Name your values. For example, instead of24or3600in the code, defineHOURS_PER_DAY = 24andSECONDS_PER_HOUR = 3600and use these names.Extract as many variables from the code and and perculate them higher in the
interface (such as function arguments or module constants).ComponentsKeep in mind: What are our abstract objects and operations that we want the user
to perform on these, and what ways can we provide to do so.What kinds of ways can I allow the user to view, navigate, search, create,
or edit... lists, tables, nested data?What kinds of data do we typically deal with, and in what form, and what
do we do with this data? We have sounds and annotations thereof.
We want to be able to upload and download sounds, hear and view them, do
CRUD on annotations, go from annotations to annoted (sound) and see
what annotations we have for a given sounds.Etc.ListsWays to view lists of jsons.
Needs a list nevigation and a json viewing protocol.TablesIdeally one that tries to adapt automatically to a context
(e.g. what do we do when the table is too small/big horizontally/vertically),
but with many properties than can be turned off/on or parametrized
(e.g. sortable, searchable, collapsable, etc)Nested dataCollapse/Expand file tree view?
Page by page flat view?Configs CRUDHear soundWhat do we do when the sound is big?View soundWhat do we do when the sound is big?SpectrogramWhat do we do when the sound is big?waveform plot (and aggregates)Putting viewing and hearing togetherSplatter stuffNamed selectionsOf sounds, annotations, etc.ContentsusefuleasyadaptableReusability tricksusefuleasyadaptable
Package: ou-jupyter-book-tools
ou-jupyter-book-toolsTools for working with Jupyter BooksSimple tools to try to map OU tagged and styled notebooks onto sensible MyST / Jupyter Book styled features.To run the demo:put your notebooks into./contentdirectory;run the appropriate conversion command(s) over them;build the book:jupyter book build --path-output . contentview the book (in./_build/html).Toolstags2myst tagstyler content: wrap the content ofnb_extension_tagstylertagged cells (alert-danger,alert-warning,alert-success,alert-info) as a similarly colour themed admonition.tags2myst empinken content: wrap the content ofnb_extension_empinkentagged cells (alert-danger,alert-warning,alert-success,alert-info) as a similarly tagged cell.
Package: oum
oum======================================================UI automation <==> object auto map which work with selenium engine(winium: https://github.com/medlab/winium-super-build), focus on Win32/WinForm/WPFTutorial======================================================Ui contract------------------------------------------------------.. include:: oum/uiapps/uiacontractfortest.py:code: pythonUi PageObject------------------------------------------------------.. include:: oum/uiapps/uiacontractfortest.py:code: pythonTest Sample------------------------------------------------------.. include:: oum/tests/hello_test.py:code: pythonRelease to pypi workflow======================================================1. setup.py sdist2. twine upload dist/*Refs=======================================================1. https://blog.jetbrains.com/pycharm/2017/05/how-to-publish-your-package-on-pypi/2. https://github.com/medlab/winium-super-build
Package: ouo
Run pip outside of environmentAt a glance:$virtualenv--no-pipmyenv# Create environment without pip.$sourcemyenv/bin/activate# Activate environment.$pip--version# pip is not available.bash: pip: command not found$ouoinstallsix# But we can still do this.Collecting sixUsing cached six-1.15.0-py2.py3-none-any.whl (10 kB)Installing collected packages: sixSuccessfully installed six-1.15.0$python-c'import six; print(six.__file__)'.../myenv/lib/python3.9/site-packages/six.pyHow?ouodownloads pip wheels into the user's data dirctory. When executed, it
executes pip with something like/path/to/python /path/to/pip-20.3.3-py2.py3-none-any.whl/pipwhere the path of the Python interpreter is detected with theVIRTUAL_ENVenvironment variable. The interpreter would then perform a zip import to
execute the pip module inside the wheel.Future Workssetuptoolsandwheelare still needed to build legacy (non-PEP-517)
source distributions. This makespython -m venv --no-pipunrealistic.Invocation is slow. This has two causes:ouoneeds to iterate through
the wheel directory to find a suitable pip version for the current Python
version. Also, zip imports are very slow.
Package: ouo-io-api
Ouo.io APIAn api for the ouo.io link shortener service that you can make money for each click on your shortened links.Installing# windowspipinstallouo-io-api# linuxpip3installouo-io-apiUsagefromouo.apiimportOuo# add your api keyouo=Ouo("your_api_key")# this is blocking calllink=ouo.short("https://hesimsek.com")# result is either empty string '' or shortened URL stringif(link):print("ouo link: "+link)else:print("failed")NotesOuo.io generates different outputs forhttp://andhttps://URLs.Ouo.io assumes URLs with no scheme (http or https) as an http URL.
Package: ouparams
ouparamsA python module to Find Process Parameters for Ornstein-Uhlenbeck ProcessesInput:
	- x the process dataset in numpy array format
Output:
	- mu, sigma, theta
	  Ornstein–Uhlenbeck process with long-term mean mu, volatility sigma, and mean reversion speed theta.InstallationClone the github repository and install it withpip install .orpip install git+https://github.com/mghadam/ouparams.gitUsage# A sample OU process in numpy array format
import numpy
ds = numpy.array([0.8, 0.58606434, 0.49098481, 0.49343492, 0.54575029,0.51207641, 0.50084814, 0.52559959, 0.53000366, 0.53668143])

# Estimating the OU parameters
from ouparams import ouparams
mu, sigma, theta = ouparams.find(ds)
# 0.5171166243459767, 0.038885729337555484, 1.5906939803229536The calculation matches with Mathematica'sFindProcessParametersforOrnsteinUhlenbeckProcessds = {0.8, 0.58606434, 0.49098481, 0.49343492, 0.54575029, 0.51207641,
    0.50084814, 0.52559959, 0.53000366, 0.53668143};
FindProcessParameters[ds, 
 OrnsteinUhlenbeckProcess[\[Mu], \[Sigma], \[Theta]]]
 {\[Mu] -> 0.517117, \[Sigma] -> 0.0388857, \[Theta] -> 1.59069}
Package: ourairports
ourairports is a functional wrapper around theourairports.compublic domaindatasetsInstallationSimply run:$ pip install ourairportsUsageGet airport information by ICAO identifierfrom ourairports import OurAirports
airports = OurAirports().getAirportsByICAO('EGFF')Get airport information by IATA identifierfrom ourairports import OurAirports
airports = OurAirports().getAirportsByIATA('CWL')Get airport information by distance from latitude/longitudefrom ourairports import OurAirports
airports = OurAirports().getAirportsByDistance('51.5007325', '-0.1268141', 25)
for port in airports:
    print port.nameLicenseThis project is hereby released under the terms of the MIT License, and
is included belowMIT License

Copyright (c) 2020 Matthew Gall

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.Data DisclaimerData for ourairports is sourced from theourairports.compublic datasets and
neither the author, nor the ourairports.com team provide any warranty of
any kind, express or implied, including but not limited to the
warranties of merchantability, fitness for a particular purpose,
accuracy, reliability or noninfringement of the data provided