Saravanan666/pypi-org huggingface dataset:
Package: uba-calqlator
Initiate CalQlatorclient=newTechStack(**args)calqlator=CalQlator(client)Set scopeinventory_name='TestInventory'from_timepoint='2010-01-11 00:00:00'to_timepoint='2022-12-31 23:59:59'scope=calqlator.scope(inventory_name,from_timepoint,to_timepoint)Load time seriestarget_inventory_item_id1='Y5NBb7dfIe'target_inventory_item_id2='Y5NBb7vGQi'time_series1=scope.time_series(target_inventory_item_id1)time_series2=scope.time_series(target_inventory_item_id2)Calculations with time seriescalculated_time_series1=time_series1+time_series2calculated_time_series2=time_series1*0.3Write time seriestarget_inventory_item_id='YFS6yBQF7o'scope.write(target_inventory_item_id,calculated_time_series)
Package: ubami
ubamiA module and CLI for listing and filtering the latest Ubuntu AMIs from
cloud-images.ubuntu.com.For when you'd rather not hard-code an Ubuntu AMI ID.Installationpip install ubamiUsage# find the latest Jammy Jellyfish AMI for amd64+hvm:ebs-ssd in Londonami_id=ubami.find(region='eu-west-2',version='22.04 LTS',arch='amd64',instance_type='hvm:ebs-ssd')[0]['ami_id']# fetch a list of all the latest official Ubuntu AMIsami_list=ubami.list()# first example as a shell commandubami--region=eu-west-2--version='22.04 LTS'--arch=amd64--instance-type=hvm:ebs-ssd|jq-r'.[0].ami_id'# second example as a shell commandubami
Package: ubank
ubankAccessubankprogramatically.This does not provide true API-like interface, but you can retrieve information
using browser automation.RequirementsPython 3.8+ andPlaywright.InstallationInstall from PyPI:$pipinstallubankInstall version of Firefox required by Playwright:$playwrightinstall--with-depsfirefoxGetting startedCreate an instance ofUbankClientand log in using a security code:>>>fromubankimportUbankClient>>>ubank_client=UbankClient()>>>ubank_client.log_in_with_security_code('name@domain.com','SecretPassw0rd')Entersecuritycode:123456Then you can get account information:>>>ubank_client.get_accounts(){'linkedBanks':[{'bankId':1,'shortBankName':'ubank','accounts':[{'label':'Spend account','nickname':'Spend account','type':'TRANSACTION','balance':{'currency':'AUD','current':1000,'available':1000},'status':'Active'},{'label':'Save account','nickname':'Save account','type':'SAVINGS','balance':{'currency':'AUD','current':10000,'available':10000},'status':'Active'}]}]}After logging in with a security code, you can retrieve a trusted cookie:>>>ubank_client.get_trusted_cookie(){'name':'026d9560-3c86-4680-b926-44bdd28eba94','value':'YmxhaCBibGFoIGJsYWggYmxhaCBibGFoIGJsYWggYmxhaCBibGFo','domain':'www.ubank.com.au','path':'/','expires':1706758407,'httpOnly':True,'secure':True,'sameSite':'Strict'}Use the cookie to log in without a security code:>>>ubank_client.log_in_with_trusted_cookie(...'name@domain.com',...'SecretPassw0rd',...{'name':'026d9560-3c86-4680-b926-44bdd28eba94','value':'YmxhaCBibGFoIGJsYWggYmxhaCBibGFoIGJsYWggYmxhaCBibGFo','domain':'www.ubank.com.au','path':'/','expires':1706758407,'httpOnly':True,'secure':True,'sameSite':'Strict'}...)Stop Playwright gracefully when you're done:>>>ubank_client.stop()You can also retrieve a trusted cookie by running the ubank module from the command
line. Use an environment variable to avoid storing your banking password in shell
history:$read-sPASSWORDSecretPassw0rdRunning ubank as a module will prompt for a security code and then display the trusted
cookie object:$python-mubankname@domain.com"$PASSWORD"Enter security code: 123456{'name': '026d9560-3c86-4680-b926-44bdd28eba94', 'value': 'YmxhaCBibGFoIGJsYWggYmxhaCBibGFoIGJsYWggYmxhaCBibGFo', 'domain': 'www.ubank.com.au', 'path': '/', 'expires': 1706758407, 'httpOnly': True, 'secure': True, 'sameSite': 'Strict'}Secure storage of your username, password and trusted cookie isyourresponsibility.ReleaseBump project version. e.g.,$poetryversionpatchBumping version from 0.1.1 to 0.1.2Publish to PyPI:$read-sPASSWORD$poetrypublish--build-u__token__-p"$PASSWORD"
Package: ubarec
UbarecRussianThe utility is designed for backup and restore databases to S3 storage.
So far, PostgreSQL and MS SQL databases are supported.InstallUbuntuThe basic dependencies and package are easy to install:sudoaptinstall-yp7zip-fullunixodbc-devpython3.8python3-pip&&python3.8-mpipinstallubarecWhen working with MS SQL, you must install the appropriateODBC driver.WindowsThe program uses the console archiver7-Zip,
which should be pre-installed in any convenient way, for example, with thechocolatey:chocoinstall7zipThe module is installed from the environment with administrator privileges:py-mpipinstallubarecWorking principleIn backup mode Ubarec performs the following actions for each of the databases specified in the command line parametersforms database dump (either by executing SQL script or using standard utilities)archives the dump using 7zip; if theUBAREC_ZIP_PASSWORDenvironment variable is set, the archive is password-protectedthe created archive is copied to the S3-storagefiles created during the previous stages are deletedThe formed database archive has a file name by mask:The current hostname>__<DB name>__<Time Label>.zipIn recovery mode Ubarec performs the following algorithm:searches for the last archive of the specified database in the S3 storagecopies the found archive to a temporary folderunpacks the archive using theUBAREC_ZIP_PASSWORDpasswordif thedo_restorekey is specified, restores the database in the DBMS either by executing an SQL script or using the standard utilities (depending on the DBMS type)deletes the files created during the previous steps; if thedo_restorekey is specified, the database dump remainsConfigureAccording to the principles of the12-factor application,
Ubarec takes settings from environment variables.NameRequired?Default valueDescriptionUBAREC_ENDPOINT_URLNohttps://storage.yandexcloud.netS3 object storage entry pointUBAREC_REGION_NAMENoru-central1Region nameUBAREC_ACCESS_KEYYesBucket access key IDUBAREC_SECRET_KEYYesBucket secret keyUBAREC_BUCKET_NAMEYesBucket nameUBAREC_ZIP_PASSWORDNoZIP passwordUBAREC_DB_TYPENomssqlDatabase type ('mssql' or 'postgres')UBAREC_DB_HOSTNolocalhostDatabase serverUBAREC_DB_PORTNoDatabase connection portUBAREC_DB_USERNAMEYesUser name to connect to the databaseUBAREC_DB_PASSWORDYesPassword to connect to the databaseUBAREC_DB_DRIVERNoODBC driver to connect to the database (used for MSSQL)UBAREC_TEMP_PATHNoUser temporary files storagePath for storing temporary filesUBAREC_LOG_PATHNoLog storage pathUBAREC_DEBUGNoFalseDebug modeUBAREC_FILENAME_PREFIXНет{hostname}__{backup_name}__Prefix of file name uploaded to S3 storageBackupubarecbackup--helpTODO: Describe the backup algorithm, startup keysRestore from backupubarecrestore--helpTODO: Describe the restore algorithm, startup keys
Package: ubcpdk
ubcpdk (SiEPIC Ebeam PDK) 2.3.5SiEPIC Ebeam PDK adapted fromsiepic Ebeam PDKfor gdsfactory.
It provides a fully python driven flow alternative for the most advanced users taking theedx courseInstallationInstallation for usersUse python3.10 or python3.11. We recommendVSCodeas an IDE.If you don't have python installed on your system you candownload anacondaOnce you have python installed, open Anaconda Prompt as Administrator and then install the latest gdsfactory using pip.conda install -c conda-forge gdstk -y
pip install ubcpdk --upgradeThen you need to restart Klayout to make sure the new technology installed appears.Installation for developersFor developers you need togit clonethe GitHub repository, fork it, git add, git commit, git push and merge request your changes.git clone https://github.com/gdsfactory/ubc.git
cd ubc
conda install -c conda-forge gdstk -y
pip install -e . pre-commit
pre-commit install
python install_tech.pyDocumentationUBCpdk docsandcodegdsfactory docsubc1
Package: ube
Unified Back End (UBE) is intended as a shippable back end for Python 3 application development.UBE has a tree-oriented EAV database structure and XML-based database updater functionality tocreate and update that structure and others on Postgres, MySQL, DB2, Oracle and MS SQL Server.Many components, like the updater, can be used separately.The API aims to support CRUD, credentials/rights/permissions and auditing.Also it uses AOP extensively and therefore provides some usable decorators.
Package: uberduck
UberduckDescriptionA synchronous and asynchronous API wrapper for theUberDucktext-to-speech service with 100% coverage and top-notch utilities.Main features- Synchronous support- Asynchronous support- Object-oriented- Easy to use- Utilities like file-saving, audio-playing etc. packed all in one- Very adjustable/configurable- Regularly maintained- Makes the hard tasks of polling and asynchronous operations easyLinksDocumentationPyPIIssue TrackingDiscord serverUberduck main siteInstallation and upgradespip install uberduckfor the stable version (recommended).pip install -U uberduckto update your stable version.pip install git+https://github.com/ImNimboss/uberduckto install it straight off of GitHub (you need git installed for this).pip install -U git+https://github.com/ImNimboss/uberduckto upgrade your version that you got from GitHub.How to useCheckDocumentation/Basics.md.ExamplesCheckDocumentation/Examples.md.Some creditsThe idea to implement logging in this library came fromdiscord.py.The idea to use thepollinglibrary came fromCupOfGeo/UberDuckAPI, another uberduck.ai API wrapper.Changelogv0.0.1- Initial release.v0.0.2- Fixedget_voices()andget_voices_async()by updating theVoiceclass to be compatible with the new voice data available from the API.v0.0.3- MovedREADME.mdfrom.githubto root folder due to compatibility issues with other softwarev0.0.4- Added attributesadded_at,is_primary,hifi_gan_vocoder,ml_model_id,speaker_id,languagetoVoiceclass
Package: uberduckapi
Python wrapper for theUberDuckAPIThis is a python wrapper for the uberduck api. You must have api access to use.How this works?Well you first initialize a job by sending a request with your api key, secret, text, and voice name.After sending the request uberduck will issue a response with the status of the job.
So the api will poll this endpoint till a result is produced. the result is another url to the sound file that was createdCheck the example.py for code
Package: uberduct
CMUdictCMUdict (the Carnegie Mellon Pronouncing Dictionary) is a free
pronouncing dictionary of English, suitable for uses in speech
technology and is maintained by the Speech Group in the School of
Computer Science at Carnegie Mellon University.The Carnegie Mellon Speech Group does not guarantee the accuracy of
this dictionary, nor its suitability for any specific purpose. In
fact, we expect a number of errors, omissions and inconsistencies to
remain in the dictionary. We intend to continually update the
dictionary by correction existing entries and by adding new ones. From
time to time a new major version will be released.We welcome input from users: Please send email to Alex Rudnicky
(air+cmudict@cs.cmu.edu).The Carnegie Mellon Pronouncing Dictionary, in its current and
previous versions is Copyright (C) 1993-2014 by Carnegie Mellon
University.  Use of this dictionary for any research or commercial
purpose is completely unrestricted.  If you make use of or
redistribute this material we request that you acknowledge its
origin in your descriptions.If you add words to or correct words in your version of this
dictionary, we would appreciate it if you could send these additions
and corrections to us (air+cmudict@cs.cmu.edu) for consideration in a
subsequent version. All submissions will be reviewed and approved by
the current maintainer, Alex Rudnicky at Carnegie Mellon.
Package: uberfare
This is a simple wrapper to the official Uber Python SDK intended to
collect data from a givenoriginanddestinationat a specified
time interval.The current implementation only handles the price estimate feature since
it doesn’t need OAuth 2.0 access.MotivationI’m using this tool in order to gather data and then evaluate when’s the
best time to leave the house and book an Uber ride to work, and
vice-versa.RequirementsPython 3.4+InstallationI’d recommend installing it viapipenv:$pipenvinstalluberfare$# or via the usual pip$pip3installuberfareAPI KeyGet yourServer TokenAPI Key by creating an app at:developer.uber.com/dashboard,
and then:Create or Select an appCopy theServer Tokenvalue in theAuthpageBefore using this package, export yourServer Tokenas:exportUBER_SERVER_TOKEN=<ServerToken>. You can however, override
this when using the CLI (see below).UsageYou have to determine the(latitude,longitude)of your location,
since the types of rides available will depend on it.The best way to get the coordinates is going tomaps.google.comand then clicking
any point in the map. A small box will then appear at the bottom-center
of your screen containing the Longitude and Latitude. Take note of the
coordinates for both your origin and destination:CLI>>># To get the fare estimate, provide the arguments: <origin>, <destination>>>># (Where origin and destination are in the <LATITUDE,LONGITUDE> format)>>>uberfareestimate14.55,121.0514.52,121.01>>># To save all the RAW data in a CSV file, you can do:>>>uberfareestimate14.55,121.0514.52,121.01--output-fileoutput.csv>>># You can also periodically fetch the Uber fares by using the>>># --check-interval <time in seconds> flag (short -ci):>>>uberfare--check-interval120estimate14.55,121.0514.52,121.01>>>uberfare-ci120estimate14.55,121.0514.52,121.01>>># To safely save the data in long periods of time, do:>>>uberfare--check-interval120estimate14.55,121.0514.52,121.01--output-fileoutput.csv>>># You can override the '$UBER_SERVER_TOKEN' env variable right in the CLI via:>>>uberfare--server_token<SERVERAPIKEY>estimate14.55,121.0514.52,121.01>>>uberfare-st<SERVERAPIKEY>estimate14.55,121.0514.52,121.01NotesBe careful when specifying a very short time interval for checking the
price since you might be rate limited.Future ReleasesBetter interface for importing as a packageOption to use address instead of coordinates (useGoogle Maps Geocoding API)Support the Upfront Fare data collection by enabling the OAUTH2.
Package: uberfmt
überfmtÜberfmt formats paragraphs of plain text so that each line is
close to the optimal length. It is an upgrade overGNU fmtandBSD fmtin that it supports Unicode and automatically
recognizes comment-like formatting.For example überfmt will translate this badly formatted fragment
of text:/* Lorem ipsum dolor sit amet,
 * consectetur adipiscing elit. Aliquam placerat faucibus
 * luctus. Donec dolor lorem.
 */into the following, all while preserving the comment structure:/* Lorem ipsum dolor sit amet, consectetur adipiscing elit.
 * Aliquam placerat faucibus luctus. Donec dolor lorem.
 */Überfmt is language-agnostic and will work equally well for
most conventionally-formatted comment styles: C, Shell, Pascal,
everything goes.How to use?Pipe your text into the standard input of theuberfmtcommand,
collect the formatted text on the output.The author also uses the following Vim shortcuts:nmap \f vap!uberfmt<CR>
vmap \f !uberfmt<CR>This way pressing\finside a paragraph (or after selecting a
fragment of text) will reformat it withuberfmt.How to install?Install it fromPyPI:python3 -m pip install --user --upgrade uberfmtThis should place a small script into your~/.local/binfolder,
and if it is in yourPATH, you should be able to useuberfmtright away.Alternatively just downloaduberfmtfrom Github; it’s a single
file program.
Package: ubergraph2asct
ubergraph2asctThis lib takes a list of seed terms and a list of properties and generates a simpler version of the ASCT+B table. In this case, there are only the AS and CT columns.Run:python3ubergraph2asct.py--input<seedfile>--property<propertyfile>--output<outputfilepath>You can check example of each file in thetestfolder. Using these files, the command would be:python3ubergraph2asct--inputtest/eye-seed.txt--property--test/properties.txt--outputeye-asct.csv
Package: uberjob
uberjobuberjob is a Python package for building and running call graphs.Documentationhttps://uberjob.readthedocs.io/Installationpip install uberjobDevelopmentThis repository usesPoetryandNoxto manage the development environment and builds.To list all Nox sessions:python -m nox --list-sessionsTo run the black code formatter:python -m nox -rs blackTo lint using flake8:python -m nox -rs lintTo run the test suite:python -m nox -rs testsTo build the documentation:python -m nox -rs docs
Package: uberlimb
ÜberLimbGenerative art with CPPN networks.Get startedInstall package withpip install uberlimb[runtime]fromuberlimb.rendererimportRendererfromuberlimb.parametersimportRendererParamsrenderer=Renderer(RendererParams())renderer.render_frame().as_pillow().show()Expected output:TODOvideo pipelinecolor schemes, both predefined and custom (will require varying
the number of output channels)
Package: ubermag
ubermagMarijan Beg1,2,Martin Lang2,Samuel Holt2,3,Swapneel Amit Pathak2,4,Ryan A. Pepper5,Thomas Kluyver6,Jeroen Mulkers7,Jonathan Leliaert7, andHans Fangohr2,4,81Department 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, Germany5Research Software Group, University of Birmingham, Birmingham B15 2TT, UK6European XFEL GmbH, Holzkoppel 4, 22869 Schenefeld, Germany7Faculty of Sciences, Ghent University, Krijgslaan 281, S12, 9000 Ghent, Belgium8Center for Free-Electron Laser Science, Luruper Chaussee 149, 22761 Hamburg, GermanyDescriptionBadgeTestsLintingReleasesCoverageDocumentationYouTubeBinderPlatformsDownloadsLicenseDOIAboutubermagis a Python package, integrated with Jupyter, providing:Meta package for Ubermag project,Logging control in Ubermag packages.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:LicenseLicensed 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, Ryan A. Pepper, Thomas Kluyver, Jeroen Mulkers, Jonathan Leliaert, and Hans Fangohr. ubermag: Meta package for Ubermag project. DOI:10.5281/zenodo.3539495(2022).AcknowledgementsOpenDreamKit– Horizon 2020 European Research Infrastructure project (676541)EPSRC Programme Grant onSkyrmionics(EP/N032128/1)
Package: ubermagtable
ubermagtableMarijan Beg1,2,Martin Lang2,Ryan A. Pepper3,Thomas Kluyver4,Samuel Holt2,5,Swapneel Amit Pathak2,6, andHans Fangohr2,6,71Department of Earth Science and Engineering, Imperial College London, London SW7 2AZ, UK2Faculty of Engineering and Physical Sciences, University of Southampton, Southampton SO17 1BJ, UK3Research Software Group, University of Birmingham, Birmingham B15 2TT, UK4European XFEL GmbH, Holzkoppel 4, 22869 Schenefeld, Germany5Department of Physics, University of Warwick, Coventry CV4 7AL, UK6Max Planck Institute for the Structure and Dynamics of Matter, Luruper Chaussee 149, 22761 Hamburg, Germany7Center for Free-Electron Laser Science, Luruper Chaussee 149, 22761 Hamburg, GermanyDescriptionBadgeTestsLintingReleasesCoverageDocumentationYouTubeBinderPlatformsDownloadsLicenseDOIAboutubermagtableis a Python package, integrated with Jupyter, providing:reading scalar data files (OOMMF.odtand mumax3.txt),merging multiple tables, andvisualisation of scalar table data.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:Vanessa NehrujiSergii MamedovStefan TibusLicenseLicensed 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, Ryan A. Pepper, Thomas Kluyver, Samuel Holt, Swapneel Amit Pathak, and Hans Fangohr. ubermagtable: Python package for manipulating tabular data. DOI:10.5281/zenodo.3539491(2023).AcknowledgementsOpenDreamKit– Horizon 2020 European Research Infrastructure project (676541)EPSRC Programme Grant onSkyrmionics(EP/N032128/1)