Saravanan666/pypi-org huggingface dataset:
Package: ubermagutil
ubermagutilMarijan Beg1,2,Martin Lang2,Samuel Holt2,3,Swapneel Amit Pathak2,4, andHans Fangohr2,4,51Department of Earth Science and Engineering, Imperial College London, London SW7 2AZ, UK2Faculty of Engineering and Physical Sciences, University of Southampton, Southampton SO17 1BJ, UK3Department of Physics, University of Warwick, Coventry CV4 7AL, UK4Max Planck Institute for the Structure and Dynamics of Matter, Luruper Chaussee 149, 22761 Hamburg, Germany5Center for Free-Electron Laser Science, Luruper Chaussee 149, 22761 Hamburg, GermanyDescriptionBadgeTestsLintingReleasesCoverageDocumentationYouTubeBinderPlatformsDownloadsLicenseDOIAboutubermagutilis a Python package, integrated with Jupyter, providing:definition of typesystem descriptors and decorators,documentation inheritance decorators,determining SI prefixes, andvarious convenience functions.It is available on Windows, MacOS, and Linux. It requires Python 3.8+.DocumentationAPIs and tutorials are available in the documentation. To access the documentation, use the badge in the table above.Installation, testing, and upgradeWe recommend installation usingcondapackage manager. Instructions can be found in thedocumentation.BinderThis package can be used in the cloud via Binder. To access Binder, use the badge in the table above.YouTubeYouTube video tutorials are available on theUbermag channel.SupportIf you require support, have questions, want to report a bug, or want to suggest an improvement, please raise an issue inubermag/helprepository.ContributionsAll contributions are welcome, however small they are. If you would like to contribute, please fork the repository and create a pull request. If you are not sure how to contribute, please contact us by raising an issue inubermag/helprepository, and we are going to help you get started and assist you on the way.Contributors:Thomas KluyverNatalie DowningLicenseLicensed under the BSD 3-Clause "New" or "Revised" License. For details, please refer to theLICENSEfile.How to citeM. Beg, M. Lang, and H. Fangohr. Ubermag: Towards more effective micromagnetic workflows.IEEE Transactions on Magnetics58, 7300205(2022).M. Beg, R. A. Pepper, and H. Fangohr. User interfaces for computational science: A domain specific language for OOMMF embedded in Python.AIP Advances7, 56025(2017).Marijan Beg, Martin Lang, Samuel Holt, Swapneel Amit Pathak, and Hans Fangohr. ubermagutil: Utility package used across Ubermag. DOI:10.5281/zenodo.3539489(2023).AcknowledgementsOpenDreamKit– Horizon 2020 European Research Infrastructure project (676541)EPSRC Programme Grant onSkyrmionics(EP/N032128/1)
Package: uberon-py
uberon-py: a python package for the Uberon ontology:construction: :construction: This package is under development (particularly the documentation) :construction: :construction:SummaryI created this package to be able to easily interrogate relationships between Uberon terms in Python.UsageExample usage:# read an ontology in obo format
obo = uberon-py.Obo('path_to_file/uberon_ext.obo')

# find relationships between terms of interest:
# (in this case, are any of the source_terms, is_a or part_of the brain?)
source_terms = ['UBERON:0003290','UBERON:0003369','UBERON:0003703'] 
target_terms = ['UBERON:0000955'] #  brain term
relations_of_interest  = 'is_a','part_of']
relations = uberon-py.Relations(source_terms,target_terms,relations_of_interest[,obo.ont).relations
Package: ubersicht
Installation$[sudo]pipinstallubersichtExamplesgenerate widget>>>importubersicht>>>widget=ubersicht.Widget(name="name.widget",command="echo hello world",refresh="1s",style="color: red")>>>widget.create()>>>widget.path'/Users/username/Library/Application Support/Übersicht/widgets/name.widget'$cat~/Library/ApplicationSupport/Übersicht/widgets/name.widget/index.coffee
command:"echo hello world"refreshFrequency:'1s'update:(output,domEl)->$(domEl).empty().append("#{output}")style:"""color: red"""LinksUebersicht.appreadme42.com
Package: ubersmith
Installationpip install ubersmithExample UseFirst you’ll need to initialize the ubersmith package with your login credentials:import ubersmith
ubersmith.init('http://ubersmith/api/2.0/', 'username', 'password')Then you can make API calls:from ubersmith import uber, client
uber.method_list()
client.get(email='g.freeman@combineresearch.com')These modules match the methods as documented in theUbersmith API 2.0 docs.Without Module Stateubersmith.init creates and stores a request handler with your login credentials.
If for some reason you’d prefer to not have this module state then you can
instantiate the request handler manually:from ubersmith.api import RequestHandler
h = RequestHandler('http://ubersmith/api/2.0/', 'username', 'password')and then explicitly pass it into any call function:from ubersmith import uber, client
uber.method_list.handler(h)()
client.get.handler(h)(email='g.freeman@combineresearch.com')or you can access the call function directly on the handler and the handler
will be implicitly passed into the call function for you:h.uber.method_list()
h.client.get(email='g.freeman@combineresearch.com')Raw ProcessingAlternatively you can process the request directly on the handler:h.process_request('uber.method_list')
h.process_request('client.get', data={'email': 'g.freeman@combineresearch.com'})although this will bypass any validation logic and response cleaning provided
by the call function and just return the BaseResponse from ubersmith.DevelopmentYou’ll need to install the development dependencies:pip install -r requirements-dev.txtRunning TestsTo run the tests:py.testTo run the tests on multiple interpreters:toxTo run the tests and generate a coverage report:bin/coverage.shConsoleTo run the dev console copy over the example config file:cp bin/config.py.example bin/config.pyEdit it with your credentials then run the console:python -i bin/console.pyFrom here you can run commands against your dev instance:>>> uber.method_list()
Package: uberspace-templates
Uberspace TemplatesSetup applications and websites in seconds using this cli with many
templates.Installationpip3 install uberspace-templatesUsageuberspace-templates init template name

# Example
uberspace-templates init flask my-applicationTemplatesFlaskuberspace-templates init flask my-applicationSetup of Git deployment (create virtualenv, install requirements.txt,
copy config.py to project folder)Create daemon and run gunicorn on a free portSetup domain and renew LetsEncryptSetup reverse proxyVue.jsuberspace-templates init vuejs my-applicationSetup of Git deployment (install dependencies, build for production,
copy content to webroot)Setup domain and renew LetsEncryptSetup Apache configurationWebsiteuberspace-templates init website my-applicationSetup of Git deployment (copy content to webroot)Setup domain and renew LetsEncryptSetup Apache configurationMade withclick- command line utilityMetaLucas Hild -https://lucas-hild.deThis project is licensed under the MIT License - see the LICENSE file
for details
Package: ubertyped
ÜbertypedConvertdataclasstoTypedDictfor fun and type safety 🪄uber-/ˈuːbə/to a great or extreme degreeRequirementspython>=3.11mypy>=1.0.1InstallationpipinstallubertypedMypy pluginAddubertyped.mypy_pluginto the list of plugins in yourmypy config file(for examplepyproject.toml)[tool.mypy]python_version="3.11"plugins=["ubertyped.mypy_plugin"]Features✅AsTypedDict[T]generic type convertingdataclasses toTypeDicts✅as_typed_dictutility function wrappingdataclasses.asdict✅ Support for usage withTypeVars✅ Nested dataclasses✅ Compatibility with other typecheckers such asPylanceandPyright✅ Zero dependenciesUsagefromdataclassesimportasdict,dataclassfromtypingimportSelf,reveal_typefromubertypedimportAsTypedDict,as_typed_dict@dataclassclassBase:base:bool@dataclassclassIntWrapper:value:int@dataclassclassData(Base):version:IntWrappercommand:strdefas_typed_dict(self)->AsTypedDict[Self]:returnas_typed_dict(self)data=Data(version=IntWrapper(1),command="c",base=False)# 🎉 Type-safe conversion!td=as_typed_dict(data)reveal_type(td)# Revealed type is "TypedDict({'version': TypedDict({'value': builtins.int}), 'command': builtins.str, 'base': builtins.bool})"# 🎉 Works with nested dataclasses too!reveal_type(td["version"]["value"])# Revealed type is "builtins.int"# 🎉 Binding `Self` in methods is resolved correctly!reveal_type(data.as_typed_dict)# Revealed type is "def () -> TypedDict({'version': TypedDict({'value': builtins.int}), 'command': builtins.str, 'base': builtins.bool})"# 🎉 In runtime, `as_typed_dict` is just a wrapper around `asdict`!ifasdict(data)==data.as_typed_dict():print("✅")else:print("❌")
Package: ubi-config
A Python library for accessing Universal Base Image configuration)SourceDocumentationPyPIInstallationInstall theubi-configpackage from PyPI.pip install ubi-configUsage ExampleWhen there isDEFAULT_UBI_REPOset, user can load the config by passing the config file
name toget_loader().load()fromubiconfigimportget_loaderconfig=get_loader().load('enterprise-linux-server-x86_64.yaml')# config has been validated and is now a Python object with relevant propertiespackage_whitelist=config.packages.whitelistprint(package_whitelist)Or, get all config files from the repo:fromubiconfigimportget_loaderconfigs=get_loader().load_all()# returns a list of UbiConfig objectsOr, user can also load the config from local file:fromubiconfigimportget_loaderconfig=get_loader("/my/config/dir").load('enterprise-linux-server-x86_64.yaml')LicenseThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Package: ubidump
This tool can be used to view or extract the contents of UBIFS images.View the contents of the/etc/passwdfile in the filesystem imageimage.ubi:ubidump  -c /etc/passwd  image.ubiList the files in all the volumes inimage.ubi:ubidump  -l  image.ubiView the contents of b-tree database from the volumes inimage.ubi:ubidump  -d  image.ubi
Package: ubii-processing-module-ocr
ubii-processing-module-ocrTesseract OCR for Ubi InteractRequirementstesseractOCR Engine with appropriate language packs(>= 4.0.0)opencv (some of the modules try to improve OCR performance with additional preprocessing, in the future this might become an optional requirement)numpytesserocr:warning: On windowstesserocrcan't be installed from PyPi. Windows builds for tesserocr are available forsome python versions. Only python version>=3.7 < 3.8is supported by bothtesserocrand theubi-interact-pythonnode on Windows. Tesseract 5.+ should be compatible with Tesseract 4.0.0 (which is used for the Windows builds).Known IssuesThe processing modules which use opencv seem to sometimes randomly crash under WindowsProcessing Frequency depends on the module implementation. TypicallyTesseractOCR_EASTallows for a slightly higher processing frequency and is run at10fpswhile theTesseractOCR_PUREmodule is run at5fps.BSD 3-Clause LicenseCopyright (c) 2022, Maximilian Schmidt (ga97lul@mytum.de)
All rights reserved.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 the copyright holder 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 THE COPYRIGHT HOLDERS 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 THE COPYRIGHT HOLDER 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: ubik
Ubik is a lightweight, elegant, no-external web service linked and easy to use package manager. Inspired by the elegant Homebrew for OSX.
It contain full toolchain for package creation and repository management.Written in Python.FeaturesInstall/Remove/Upgrade/ReinstallDeps resolver for installationCacheMd5 checkerPackage control file are Python objectsFull PythonInstallationpip install ubikTestsTake a look attestspage.
You can run tests withtests/run_tests.shscript.ThanksThanks toRequests,DocoptandProgressBarto be awesome tools.For information:Canopsis is an hypervisor, built on top of all open source monitoring solutions to agregate, correlate and ponderate events flowing from them.LicenseLicense isAGPL3, it fully compatible withCanopsis. SeeLICENSE.
Package: ubindrzvyo
Ubindrzvyo=================This API SDK was automatically generated by [APIMATIC Code Generator](https://apimatic.io/).This SDK uses the Requests library and will work for Python ```2 >=2.7.9``` and Python ```3 >=3.4```.How to configure:=================The generated code might need to be configured with your API credentials.To do that, open the file "Configuration.py" and edit its contents.How to resolve dependencies:===========================The generated code uses Python packages named requests, jsonpickle and dateutil.You can resolve these dependencies using pip ( https://pip.pypa.io/en/stable/ ).1. From terminal/cmd navigate to the root directory of the SDK.2. Invoke ```pip install -r requirements.txt```Note: You will need internet access for this step.How  to test:=============You can test the generated SDK and the server with automatically generated testcases. unittest is used as the testing framework and nose is used as the testrunner. You can run the tests as follows:1. From terminal/cmd navigate to the root directory of the SDK.2. Invoke ```pip install -r test-requirements.txt```3. Invoke ```nosetests```How to use:===========After having resolved the dependencies, you can easily use the SDK following these steps.1. Create a "ubindrzvyo_test.py" file in the root directory.2. Use any controller as follows:```pythonfrom __future__ import print_functionfrom ubindrzvyo.ubindrzvyo_client import UbindrzvyoClientapi_client = UbindrzvyoClient()controller = api_client.clientresponse = controller.get_basic_auth_test(<required parameters if any>)print(response)```
Package: ubiops
ubiopsClient Library to interact with theUbiOpsAPI (v2.1).For more information, please visithttps://ubiops.com/docs/Requirements.Python 3.7+InstallationpipinstallubiopsUsageTo use the library, one has to authenticate to the UbiOps API with an API token.
Please, visithttps://ubiops.com/docs/organizations/service-usersfor more information.importubiopsconfiguration=ubiops.Configuration()configuration.api_key['Authorization']='Token <YOUR_API_KEY>'client=ubiops.ApiClient(configuration)api=ubiops.api.CoreApi(client)print(api.service_status())DocumentationThe library is fully documented athttps://github.com/UbiOps/client-library-python/tree/master/docs.ExamplesJupyter notebook examples can be found athttps://github.com/UbiOps/client-library-python/tree/master/examples.LicenseUbiops is available under the Apache 2.0 license.
Package: ubi-population-tool
A command-line tool for populating ubi repositories.Cli usageCli can be run byubipopwith arguments:positional arguments:content_sets: list of content sets to be processedoptional arguments:-h, --help: show this help message and exit--pulp-hostname HOSTNAME: hostname of Pulp server--user USER: username for authentication to Pulp--password PASSWORD: password for authentication to Pulp--dry-run: if True, print pulp actions only, do not executeDevelopmentPatches may be contributed via pull requests tohttps://github.com/release-engineering/ubi-population-toolAll changes must pass the automated test suite, along with various static
checks.TheBlackcode style is enforced.
Enabling autoformatting via a pre-commit hook is recommended:pip install -r requirements-dev.txt
pre-commit install
Package: ubiquerg
ubiquergUbiquerg is a utility package with a collection of helpful universally useful functions. The name means work (erg) everywhere (ubique), indicating our intention for these to be low-level functions that can be used in lots of different places. Functions are divided into groups, including:collectionenvironmentfilespathssystemwebcli_toolsDevelopment guidelinesUbiquerg should have no dependencies outside of standard built-in python modules. Please do not add any functions that introduce a new dependency.Functions should be generic. They should perform basic, low-level processing that is not specific to a particular application.Functions should only be added to ubiquerg if they are used in at least 2 existing modules.Functions should be kept relatively small and simple (ideally <50 lines of code).
Package: ubiquity-student
UbiquityUbiquity est un logiciel de suivi de TP de développement
informatique. Il permet aux tuteurs d’encadrer facilement et de
manière optimisée un groupe d’étudiants.Grâce à Ubiquity, l’enseignant crée de façon simple, un TP, en
déposant un sujet et sa correction annotée. Les étudiants
récupèrent ensuite le sujet ainsi que les fichiers sources à compléter.Ubiquity permet aussi à l’enseignant de suivre en temps réel
l’avancement de chaque étudiant dans la réalisation du TP, grâce
à différents indicateurs. Ainsi, l’enseignant identifie
rapidement les étudiants en difficultés. Ubiquity permet aussi aux
étudiants de se situer, par rapport à l’avancement de leurs
collègues.Ubiquity est un logicielopensourceetgratuit, disponible sur
Windows, MacOs et Linux. Il peut s’utiliser aussi bien en
présentiel qu’en distanciel, de manière synchrone ou asynchrone.Pour plus d'information, nous vous invitons à regarder
la vidéo deprésentation d'ubiquityet à lire lewikiproposant une documentation fonctionnelle et technique.InstallationPour installer l'application :pip install ubiquity-studentExécutionPour exécuter l'application :ubiquity-studentLicenceDistribué sous la License GNU GENERAL PUBLIC LICENSE v3.0. VoirLICENSEpour plus d'information.
Package: ubirch-python-utils
ubirch library for ubirch anchoring servicesThis library contains several useful tools used to connect to a SQS or Kafka and anchor messages retrieved from a queue to the IOTA Tangle or the Ethereum Blockchain.UsageConfiguration, connection to a Kafka server and retrieving queues.To set up the different arguments needed to connect to the SQS Server and to access the ETH Wallet.fromubirch.anchoring_kafkaimport*args=set_arguments(servicetype='ethereum')# Or 'IOTA'#To access the Kafka serverport=args.port#To unlock your wallet (if servicename=='ethereum')password=args.pwdkeyfile=args.keyfilequeue1=KafkaConsumer('queue1',bootstrap_servers=port)Polling a topic and processing its messagesPlease seeubirch-ethereum-serviceorubirch-iota-serviceto how this library is put into action.TestingUnit tests are added to test the functionality of all objects provided in this library.python3-munittestdiscoverLicenseThis library is publicized under theApache License 2.0.
Package: ubit_kernel
The micro:bit is a single-board computer designed by the BBC as a way to learn
about programming. It is being delivered to all year seven students (11-12) in
the UK.The micro:bit has a 5x5 grid of red LEDs, two buttons, an accelerometer and a
compass. There are also pins to connect components like motors or speakers.MicroPython is a variant of the Python programming language that runs on such
tiny computers. It’s a powerful way to program the micro:bit. For tutorials
and reference information, seeBBC micro:bit MicroPython.Jupyteris a set of tools for interactive programming.
This package allows Jupyter interfaces to run MicroPython code directly on the
micro:bit.Set-up steps:Plug in your micro:bit and ensure it has MicroPython on it. To do this,create a Python script in the web editor,
and follow the instructions there to flash it onto the micro:bit. It doesn’t
matter for this what the script does.Depending on your system, you may need some extra setup so that the kernel
can talk to your micro:bit using a serial port.On Linux, you may need to add yourself to thedialoutgroup.
Runsudo usermod-a-Gdialout<your-username>, then log out and in again.On Windows, you need toinstall the mbed driver.Install Jupyter.Install this package:pip install ubit_kernel
python3 -m ubit_kernel.installWhen you start the Jupyter Notebook, there should be amicro:bitoption in the
menu to create a new notebook.To use the kernel from other Jupyter interfaces, start them with--kernelubit.
Package: ubittool
uBitTooluBitTool is a command line and GUI application to interface with the micro:bit.It can:Read the micro:bit flash contentsExtract user Python code from the micro:bit flashFlash the micro:bitCompare the contents of the micro:bit flash against a local hex fileDocsThe documentation is online athttps://carlosperate.github.io/ubittool/,
and its source can be found indocsdirectory.Basic IntroductionThe easiest way to use uBitTool is via the application GUI.Download one of the latest GUI executables for macOS or Windows from theGitHub Releases Page.Plug-in your micro:bit to the computer via USBOpen the GUI executable fileOn the application menu click "nrf > Read Full Flash contents (Intel Hex)".A full image of the micro:bit flash should now be displayed in the GUI :)For more information and instructions for other platforms please visit theDocumentation.
Package: ubkg-api
Unified Biomedical Knowledge GraphUBKG-APIThe components of the UBKG include:Thesource frameworkthat extracts ontology information from the UMLS to create a set of CSV files (UMLS CSVs)Thegeneration frameworkthat appends to the UMLS CSVs assertion data from other ontologies to create a set ofontology CSVs.A neo4jontology knowledge graphpopulated from the ontology CSVS.AnAPI serverthat provides RESTful endpoints to query the ontology knowledge graph.This repository contains the source for the API.SmartAPI documentationThe specification for the UBKG API can be foundhere.Developer InformationBuild and publish to PyPIpython -m build
python3 -m twine upload dist/*RequirementsPython 3.9 or newer