Saravanan666/pypi-org huggingface dataset:
Package: unbelievaboat
UnbelievaBoat API Python WrapperThis is a Python wrapper for the UnbelievaBoat API, which provides access to the UnbelievaBoat Discord bot functionality. It allows you to interact with the API endpoints to retrieve guild information, user balances, leaderboard data, and more.RequirementsPython 3.8 or higherInstallationYou can install the UnbelievaBoat API Python wrapper using pip. Open your terminal and run the following command:pipinstallunbelievaboatUsageHere's an example of how to use the UnbelievaBoat API Python wrapper to interact with the UnbelievaBoat API:fromunbelievaboatimportClientimportasyncioasyncdefmain():# Initialize the client with your API tokenclient=Client("your-api-token")# Retrieve guild informationguild=awaitclient.get_guild(guild_id)print(guild)# Retrieve user balanceuser=awaitclient.get_user_balance(guild_id,user_id)print(user.total)# Set or update user balanceuser=awaitclient.set_user_balance(guild_id,user_id,{"bank":100})user=awaitclient.update_user_balance(guild_id,user_id,{"bank":100})# oruser=awaitclient.get_user_balance(guild_id,user_id)user=awaituser.set_balance({"bank":100})user=awaituser.update_balance({"bank":100})# Retrieve leaderboard dataleaderboard=awaitclient.get_leaderboard(guild_id)print(leaderboard.users)# Retrieve item shop datashop=awaitclient.get_shop(guild_id)print(shop.items)# Close the client sessionawaitclient.close()asyncio.run(main())Replace"your-api-token"with your actual API token. You can obtain an API token by logging into the UnbelievaBoat dashboard and generating a token for your bot.Please note that the above example demonstrates a basic usage scenario. You can explore other available methods in theClientclass to interact with different API endpoints. You can also find more examples in theexamplesdirectory.ContributingContributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request on theGitHub repository.LicenseThis project is licensed under theMIT License.
Package: unbelipy
unbelipyAsynchronous wrapper for UnbelievaBoat's API written in Python.CharacteristicsEasy to useFull error handlingType hinted readable codeActive maintenanceFully AsynchronousNoteThis wrapper has not been declared to be official by the UnbelievaBoat developers. Any internal library issues/feature requests are to be directed here.Project statusEarly beta stage. It's not yet production ready.Although most of the functionality is operational, rate limits are still being worked on.InstallationPython 3.8 or above required, due to typehinting.To install unbelipy from PyPI, use the following command:pipinstall-UunbelipyOr to install from Github:pipinstall-Ugit+https://github.com/chrisdewa/unbelipy/DependenciesThe following libraries will be needed and automatically installed with unbelipy:aiohttp- async requestsaiolimiter- implementation of async rate limiterFeature RequestsFor feature requests, pleaseopen a Pull Requestwith detailed instructions.Likewise, if you encounter any issues, you maycreate a new Issue.ExamplesfromunbelipyimportUnbeliClientclient=UnbeliClient(token='Unbelievaboats token generated from https://unbelievaboat.com/applications/')guild_id:int=...member_id:int=...asyncdefmain():perms=awaitclient.get_permissions(guild_id)guild=awaitclient.get_guild(guild_id)guild_leaderboard=awaitclient.get_guild_leaderboard(guild_id)user_balance=awaitclient.get_user_balance(guild_id,member_id)user_balance=awaitclient.edit_user_balance(guild_id,member_id,cash='5')# adds 5 to the user's cashuser_balance=awaitclient.set_user_balance(guild_id,member_id,cash='5')# sets the user's cash to 5More examples!LinksDocumentationContactAs of now, there is no support server for this library.
However, you may contact the following people on Discord:ChrisDewa#4552invalid-user#1119
Package: unblob-native
unblob-nativeLooking for Unblob? Check out athttps://unblob.org.This package holds performance-critical components of Unblob,
anaccurate, fast, and easy-to-useextraction suite. It parses
unknown binary blobs for more than 30 differentarchive, compression, and
file-system formats,extractstheircontent recursively, andcarvesoutunknown chunksthat have not been accounted for.Unblob isfree to use, licensed with theMIT license. It has a
Command Line Interface and can be used as a Python library.
This turns unblob into the perfect companion for extracting,analyzing,
andreverse engineering firmware images.DevelopmentThis package is easiest to develop usingNix. Refer to the
relevant section ofThe Unblob Documentationon how to install Nix.Once ready, issuenix develop, and the required tools will be set-up for you.The package is managed viaPDM. Just callpdm all, and it will execute the required check and test steps for you. Usepdm run --listto see what commands are being executed.
Package: unblock
SupersetA modern, enterprise-ready business intelligence web application.Why Superset?|Supported Databases|Installation and Configuration|Release Notes|Get Involved|Contributor Guide|Resources|Organizations Using SupersetWhy Superset?Superset is a modern data exploration and data visualization platform. Superset can replace or augment proprietary business intelligence tools for many teams. Superset integrates well with a variety of data sources.Superset provides:Ano-code interfacefor building charts quicklyA powerful, web-basedSQL Editorfor advanced queryingAlightweight semantic layerfor quickly defining custom dimensions and metricsOut of the box support fornearly any SQLdatabase or data engineA wide array ofbeautiful visualizationsto showcase your data, ranging from simple bar charts to geospatial visualizationsLightweight, configurablecaching layerto help ease database loadHighly extensiblesecurity roles and authenticationoptionsAnAPIfor programmatic customizationAcloud-native architecturedesigned from the ground up for scaleScreenshots & GifsLarge Gallery of VisualizationsCraft Beautiful, Dynamic DashboardsNo-Code Chart BuilderPowerful SQL EditorSupported DatabasesSuperset can query data from any SQL-speaking datastore or data engine (Presto, Trino, Athena,and more) that has a Python DB-API driver and a SQLAlchemy dialect.Here are some of the major database solutions that are supported:A more comprehensive list of supported databasesalong with the configuration instructions can be foundhere.Want to add support for your datastore or data engine? Read morehereabout the technical requirements.Installation and ConfigurationExtended documentation for SupersetGet InvolvedAsk and answer questions onStackOverflowusing theapache-supersettagJoin our community's Slackand please read ourSlack Community GuidelinesJoin our dev@superset.apache.org Mailing listContributor GuideInterested in contributing? Check out ourCONTRIBUTING.mdto find resources around contributing along with a detailed guide on
how to set up a development environment.ResourcesGetting Started with SupersetSuperset in 2 Minutes using Docker ComposeInstalling Database DriversBuilding New Database ConnectorsCreate Your First DashboardComprehensive Tutorial for Contributing Code to Apache SupersetDocumentation for Superset End-Users (by Preset)Deploying SupersetOfficial Docker imageHelm ChartRecordings of PastSuperset Community EventsLive Demo: Interactive Time-series Analysis with Druid and SupersetLive Demo: Visualizing MongoDB and Pinot Data using TrinoSuperset Contributor BootcampIntroduction to the Superset APIApache Superset 1.3 MeetupBuilding a Database Connector for SupersetVisualizationsBuilding Custom Viz PluginsManaging and Deploying Custom Viz PluginsWhy Apache Superset is Betting on Apache EChartsSuperset API
Package: unblocked
UnblockedUnblocked is a simple wrapper aroundmultiprocessing.Process,
giving users a nicer API as well as task results.I wrote Unblocked for educational purposes, but it is also suited
for actual use. If you are interested in the story behind Unblocked
you can read it on myblogInstallation$pipinstallunblockedExampleIn the following snippet, callingexamplestarts a background process and
returns anunblocked.Resultinstance. This result can be retrieved withunblocked.Result.getimportunblocked@unblocked.taskdefexample():return5*5if__name__=="__main__":result=example()print(result.get(timeout=1))
Package: unblockr
About UnblockrUnblockr is a python package used to create alternate browsers easily and without much coding knowledge. This can be used to bypass blocking extensions on school chromebooks. This package usesseleniumandwebbot.How ToBefore you begin, I highly recommend making an account onreplit.com. In my opinion, it is the best site to use with Unblockr. Make an accounthere.Create a repl inreplit.comby clicking the blue+button in the top right corner of the main page or by clicking on the menu and selecting+ Create repl. You will then be given several options. Selectpythonfor your repltemplateand name your repl anything you want. Leave the privacy section as is. Then, click the+ Create Replbutton and your new repl will open!To install unblockr, use the pip commandpip install unblockrin the shell tab. Next, typefrom unblockr import firefoxin yourmain.pyfile.  If you would like to use chrome instead, replace 'firefox' with 'chrome'.main.pyshould be the only file in your repl. Then run the file by click in theRunbutton or typingCTRL + Enter, your console should respond with a firefox window. Be sure to wait at least five seconds for the browser to load.ErrorsWhen you receive an error (the text in the console appears in red and the browser doesn't load), try these things before reporting the error:Make sure your first line looks like this:from unblockr import firefoxor this:from unblockr import chrome.Open the 'shell' tab on the right and typepip install unblockr. Then press enter.Rerun the repl by pressing theRunbutton at the top or typingCTRL + Enter.Reload the page.Make sure the file is namedmain.py.
Package: unbored
UnboredIntroductionA simple terminal client forthe Bored API.
Written in Python and withTextual, usingasync-bored-apias the API
wrapper.The idea is, if you're feeling bored and need some inspiration for what to
do with your day, fire this up and select one or more activities. Your
selections are saved so, if you wish, you can treat the application almost
like a TODO list; for when you're bored.InstallationUnbored can be installed usingpipx:$pipxinstallunboredWarningThis is still a bit of a work-in-progress, hence the low version number. The
main things that need addressing are listed below.TODOError checking. LOTS of error checking.Test on Windows.
Package: unbound-console
Python console for unbound serverTable of contentsInstallationRemote Control on UnboundExecute commandLoading zone from YAML fileLoading zone from "LocalZone" objectExecute bulk commandInstallationThis module can be installed frompypiwebsite.This command will install the module with yaml support for loading zone data.pipinstallunbound_console[yaml]If loading a zone using yaml is not required use the following command, zone data can instead be loaded through theLocalZoneobject:pipinstallunbound_consoleRemote Control on UnboundBefore to use this utility. You must activate the remote control on your unbound server.
Seeconfig fileexample.Execute commandYou can execute commands with the functionsend_command. Seenlnetlabs documentationsfor the full list of available commands.Import the module in your codefromunbound_consoleimportRemoteControlAn asyncio implementation is available, useRemoteControlAsyncinstead.Configure the remote control client with tls support. You can also provide a unix socketunix_sock="/var/run/unbound-console.sock".rc=RemoteControl(host="127.0.0.1",port=8953,server_cert="/etc/unbound/unbound_server.pem",client_cert="/etc/unbound/unbound_control.pem",client_key="/etc/unbound/unbound_control.key")Execute a command and get outputo=rc.send_command(cmd="status")print(o)Loading zone from YAML fileYAML zone definition example:This requires installing unbound_console with yaml supportzone:
  name: home.
  type: static
  records:
    - "router.home. 86400 IN A 192.168.0.1"
    - "192.168.0.1 86400 IN PTR router.test."Callload_zonewith the yaml file to load-it in your unbound server.o=rc.load_zone(zone_data='<yaml content>')print(o)Loading zone from "LocalZone" objectExample loading from aLocalZoneobject:fromunbound_consoleimportLocalZonezone=LocalZone(name="home",type="static",records=["router.home. 86400 IN A 192.168.0.1","192.168.0.1 86400 IN PTR router.test.",],)o=rc.load_zone(zone_data=zone)print(o)Execute bulk commanddomains_bulk=[]domains_bulk.append("www.google.com always_nxdomain")o=rc.send_command(cmd="local_zones",data_list=domains_bulk)print(o)
Package: unbound-ec2
This module uses theUnboundDNS resolver to answer simple DNS queries using EC2 API calls.
For example, the following query would match an EC2 instance with aNametag offoo.example.com:$dig-p5003@127.0.0.1foo.dev.example.com;<<>>DiG9.8.1-P1<<>>-p5003@127.0.0.1foo.dev.example.com;(1serverfound);;globaloptions:+cmd;;Gotanswer:;;->>HEADER<<- opcode:QUERY,status:NOERROR,id:5696;;flags:qraardra;QUERY:1,ANSWER:2,AUTHORITY:0,ADDITIONAL:0;;QUESTIONSECTION:;foo.dev.example.com.INA;;ANSWERSECTION:foo.dev.example.com.300INA10.0.0.2foo.dev.example.com.300INA10.0.0.1;;Querytime:81msec;;SERVER:127.0.0.1#5003(127.0.0.1);;WHEN:SatSep2823:27:162013;;MSGSIZErcvd:77InstallationOn Debian family, install theunbound,python-unboundsystem packages.On Redhat family, install theunbound,unbound-pythonsystem packages.Then, installunbound-ec2:$pipinstallunbound-ec2ConfigurationThe following settings must be added to your Unbound configuration:server:chroot:""module-config:"validatorpythoniterator"python:python-script:"/etc/unbound/unbound_ec2_script"EC2 module can be configured by specifying values in /etc/unbound/unbound_ec2.conf or setting environment variables in/etc/default/unbound.See unbound_ec2.conf.example and default_unbound.example for more information.You can also defineAWS_ACCESS_KEYandAWS_SECRET_ACCESS_KEYentries in the environment directory.
Whenunbound-ec2is run on an EC2 instance, though, it will automatically use an IAM instance profile if one is available.Configuration - zone forwardingBy default unbound will control the whole zone configured for the plugin, however in some cases you might want to delegate
subdomains to other authoritative name servers. Unbound allows this by using the forward-zone directive:forward-zone:name:"sub-y.sub-x.example.com"forward-addr:"ns1.sub-y.sub-x.example.com"Additionally, the unbound-ec2 plugin has to be configured with a comma separated list of all subdomains to be forwarded
in the [main] section of the unbound_ec2.conf configuration file:forwarded_zones=sub-y.sub-x.example.comConsiderationsunbound-ec2queries the EC2 API to answer requests about names inside the specifiedzone.
All other requests are handled normally by Unbound’s caching resolver if caching type server was chosen.For requests for names within the specifiedzone,unbound_ec2callsDescribeInstancesand filters the results using defined lookup filters (default is instances in therunningstate).When more than one instance matches theDescribeInstancesquery,unbound-ec2will return multiple A records in a round-robin.
In case of caching type server, query results will be cached by Unbound, and a TTL (default: 300 seconds) is defined
to encourage well-behaved clients to cache the information themselves.IPv6 are not yet supported.Unit testsRun with$pythonsetup.pytest
Package: unbounded-thread-pool
Unbounded Thread PoolImplementation of python'sconcurrent.futures.Executorthat creates new threads on demand
and stops them if they are not needed anymore.It is designed to allow infinite recursive submitting of tasks, so the following code works properly,
despite creating of 10k threads:fromunbounded_thread_poolimportUnboundedThreadPoolExecutorwithUnboundedThreadPoolExecutor()asexecutor:deffactorial(n:int):ifn==0orn==1:return1else:returnexecutor.submit(factorial,n-1).result()*nprint(factorial(10000))Installationpip install unbounded_thread_poolRequirementsPython (3.6, 3.7, 3.8)UsageUnboundedThreadPoolExecutorsupports the following constructor parameters:name: str: Name of executor, all thread names are prefixed with it.
Default isUnboundedThreadPoolExecutor.max_thread_idle_time: float: How many seconds idling worker thread should live.
Default is30seconds.For more details about methods check official python docs aboutconcurrent.futures.Executor.Usage withasyncioWhen you write a lot of sync code that calls async code and vice versa (for example, if you useasgirefsync_to_asyncandasync_to_sync) default asyncio executor can stuck. It happens
in case you have the following code flow:async code ---> sync code (1) ---> async code ---> sync code(2)Here the second (2) sync code requires free worker to be available in thread pool, but
thread pool can be already exhausted by the first (1) sync code. This causes deadlock,
as (1) waits for (2), while (2) waits for (1) to free thread pool. To eliminate this issue,
you can useUnboundedThreadPoolExecutor:loop=asyncio.get_running_loop()loop.set_default_executor(UnboundedThreadPoolExecutor(name='AsyncioExecutor'))
Package: un-bound-histogram
ThisUnBoundhHistogramhas bins with a fixed width. But if needed, it
offers an almost un-bound amount of2**64bins.
Making a histogram in an almost un bound range is usefule when one does not
know the range of the data in advance and when streaming thrhough the data is
costly.UnBoundhHistogramwas created to histogram vast streams of data
generated in costly simulations for particle physics.
Buzz word bingo: big data.Installpipinstallun_bound_histogramUsageimportun_bound_histogramimportnumpyprng=numpy.random.Generator(numpy.random.PCG64(1337))h=un_bound_histogram.UnBoundHistogram(bin_width=0.1)h.assign(x=prng.normal(loc=5.0,scale=2.0,size=1000000))# assign multiple times to grow the histogram.h.assign(x=prng.normal(loc=-3.0,scale=1.0,size=1000000))h.assign(x=prng.normal(loc=1.0,scale=0.5,size=1000000))assert0.9<h.percentile(50)<1.1asserth.sum()==3*1000000
Package: unboxapi
Unbox AI | Python API LibraryWhat is it?Unbox is a debugging workspace for ML & Data Science. Unbox combines and builds upon SOTA techniques in explainability, model and dataset versioning, synthetic data generation, data-centric testing and much more to form a powerful,unified platform for model development.👉Join our Slack community!We'd love to meet you and help you get started with Unbox!This is the official Python library for interacting with the Unbox platform. Navigateherefor a quickstart guide and for in-depth tutorials.Main FeaturesThis library's primary function is to enable you to easily package your models and datasets and add them to your Unbox account.InstallationInstall with PyPI (pip)pip install --upgrade unboxapior install with Anaconda (conda)conda install unboxapi --channel conda-forgeDocumentationThe official documentation for this Python library can be foundhere.ContributingAll contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome! Just send us a message onSlack.
Package: unbroken-pyobjc
PyObjC is a bridge between Python and Objective-C.  It allows full
featured Cocoa applications to be written in pure Python.  It is also
easy to use other frameworks containing Objective-C class libraries
from Python and to mix in Objective-C, C and C++ source.This package is a pseudo-package that will install all pyobjc related
packages (that is, pyobjc-core as well as wrapppers for frameworks on
OSX)
Package: unbuiltins
unbuiltinsThoroughly tested and MyPy compatible constants and functions you'd expect to
find in the Pythonbuiltins.Installrequires python 3.8 or higherpipinstallunbuiltinsUsagefromunbuiltinsimport*MissingLike the constantNone,Missingcan be used for e.g. optional function
arguments:defsay(value:Missable[str]=Missing):ifvalueisMissing:print('*silence*')else:print(value)frozendictThe builtins includefrozenset, butfrozendictis nowhere to be found
(seePEP 416).frozendictis basically an immutable and hashabledict:assert frozendict(spam='spam') == dict(spam='spam')
assert {frozendict(): 'empty'}[frozendict()] == 'empty'It accepts generic type arguments and supports the merge (|) operator,
likedictsince Python 3.9:defadd_eggs(value:frozendict[str,str])->frozendict[str,Union[str,int]]:returnvalue|dict(eggs=6)assert'eggs'inadd_eggs(frozendict(spam='spam'))firstBehaves identical tonext, but works for all iterables:assertfirst([42,666,69])==42assertfirst([],default='empty')=='empty'assertfirst(iter(dict(eggs=6)))=='eggs'filternoneReturn those items ofiterablethat are notNone:assertlist(filternone(['',None,0,False]))==['',0,False]eitherReturns the first argument that is notNoneorMissing:asserteither(None,None,False)isFalse
Package: unc2url
UNC2URLA UNC to URL Converter.Table of ContentsInstallExamplesScreenshotsInstall$pip3installunc2url# or$gitclonehttps://github.com/alexanderwillner/unc2url&&cdunc2url&&makeinstallExamples%unc2url'\\example.org\foo\bar'smb://example.org/foo/bar

%unc2url--file'\\example.org\foo\bar'file://example.org/foo/bar

%unc2url--reverse'file://example.org/foo/bar'\\example.org\foo\bar

%unc2url-h
usage:unc2url.py[-h][-r][-f][--version]unc

SimpleUNCtoURLtool.

positionalarguments:uncAnUniformNamingConvention(UNC)link

optionalarguments:-h,--helpshowthishelpmessageandexit-r,--reverseReversetheconversation(url2unc)-f,--fileFileURL(file://)--version,-vshowprogram'sversionnumberandexitAlfred WorkflowTo activate this workflow use the default keywordunc2urland enter the UNC you want to get translated. You can also press ⌘+⇧+U to translate what is in your clipboard. Pressing Enter will copy the translations to the clipboard. Pressing ⇧+Enter will open the SMB link.
Package: uncatchable-exception
Uncatchable Exception====================.. image:: https://badge.fury.io/py/uncatchable-exception.png:target: http://badge.fury.io/py/uncatchable-exception.. image:: https://pypip.in/d/uncatchable-exception/badge.png:target: https://crate.io/packages/uncatchable-exception/.. image:: https://requires.io/github/bh/uncatchable-exception/requirements.png?branch=master:target: https://requires.io/github/bh/uncatchable-exception/requirements/?branch=masterDescription-----------You will get an exception class which is not catchable when it was raised.Installation------------Use ``pip`` to install:.. code:: bash$ pip install uncatchable-exception --use-mirrorsUsage-----An example:.. code:: pythonfrom uncatchable_exception import UncatchableExceptiondef raise_an_uncatchable_exception():raise UncatchableException('Harr Harr!')try:raise_an_uncatchable_exception()except:print("Uncatchable exception caught")Yeah, the Python process is hanging, kill it with ``^C``
Package: uncd
uncdThis is a CLI tool to find some information about a Unicode or a Block of Unicode.Usageuncd f [OPTIONS] <ARGS>returns the detail of a Unicode of a letter[OPTIONS]:-cor--codedefault option, accepts 0 to 0xFFFFF-lor--letteraccepts any Unicode letteruncd b <ARGS>returns a whole block of Unicode only when the block name is found(useuncd ffirst to get the block name)