Saravanan666/pypi-org huggingface dataset:
Package: unsatfit
unsatfitunsatfit is a Python library for optimizing parameters of functions of soil hydraulic properties; water retention function and unsaturated hydraulic conductivity function. The equations are explained in Seki et al. (2022) and shown to be useful for practical applications in Seki et al. (2023).DocumentSee the full document athttps://arxiv.org/abs/2302.00472See the quick reference athttps://sekika.github.io/unsatfit/Example outputThis is an example output of this program; water retention curve (top) and hydraulic conductivity curve (bottom) of Gilat loam fitted with KBC (KO1BC2-CH) model.SWRC FitSWRC Fit is a web interface which uses unsatfit and determines parameters for water retention function.SWRC FitReferenceSeki, K., Toride, N., & Th. van Genuchten, M. (2022) Closed-form hydraulic conductivity equations for multimodal unsaturated soil hydraulic properties. Vadose Zone J. 21; e20168.https://doi.org/10.1002/vzj2.20168Seki, K., Toride, N., & Th. van Genuchten, M. (2023) Evaluation of a general model for multimodal unsaturated soil hydraulic properties. J. Hydrol. Hydromech. 71(1): 22-34.https://doi.org/10.2478/johh-2022-0039
Package: unscii
UNSCII for PythonThis provides a wrapper around the collection of bitmapped fonts known
asUNSCII.The original motivation was to create a lightweight way to get text on to small
displays such as OLEDs and LCD Screens that may be attached to devices such as
a Raspberry Pi or Arduino. There are other libraries out there that do this, but
most push the work to Pillow by providing it with .ttf fonts. I wanted a more
lightweight way to quickly get text on to the screens without using so many
resources, particularly on an Arduino.Future versions will have a command line utility to generate the minimum amount
of code to get strings for python and C++ to make this more useful with C++
and CircuitPython embedded stacks.
Package: unscrewed
UnscrewedUtility for making and updating a data fetcher component of your project.InstallpipinstallunscrewedUsageFirst prepare aregistry.yamlfile, like the one inunscrewed/tests/testreg_registry.yaml.  Put it in your package, say in theyour_packagedirectory (that contains the__init__.pyfile).  Maybe call
itregistry.yaml.In some module, sayyour_package/data.pyimportpkg_resourcesimportunscrewed_config_file=pkg_resources.resource_filename("your_package","registry.yaml")fetcher=unscrewed.Fetcher(_config_file)Say you have a filemy_data_file.niiconfigured in yourregistry.yamlfile above.Now you can fetch it like this:fromyour_package.dataimportfetcherfname=fetcher('my_data_file.nii')
Package: unsc-sanctions-checker
Simple UNSC Sanctions checker with a GUI and fuzzy matching.Simple GUI for checking names against the UNSC Sanctions List and generating
reports.Uses fuzzy matching score for hits. For single name matches, we recommend using
90 Score.Loads sanctions list in xml format. You can supply your own list or download it
from the UNSC website from within the program.Comes with a list, but you should probably download the newest version the first
time you run the program.Also included wkhtmltopdf.exe, downloaded from wkhtmltopdf.org, used by pdfkit
for generating pdf reports. You can download it again and overwrite it if you
don't feel confortable using the supplied one.Installation and UsageTo install the package:pip install unsc_sanctions_checkerYou can run the script from the terminal:unscIn python you can do:import unsc_sanctions_checker

unsc_sanctions_checker.run()
Package: unseries
This package allows to deal with power series which coefficients contain uncertainties.It is build on top ofuncertaintiespython package (seehere).ScopeFor now the following fuctions are available:series addition and subtractioncomparision (greater than,less than)series multiplicationseries inversion, i.e.Z(g) ➝ 1/Z(g)series division (in the assumption that all powers are non-negative)exponentiationanalitic differentiationsubstitution, i.e. calculation of a seriesZ(g)at the pointg₀to a number with uncertaintyapproximationsome technical functions:pprint,save[to file],ExampleAssume two series:Z₁(g) =  1.00(30) +  2.0000(30) gZ₂(g) =-1.0(4)- 2.000(4) g + 999.00(10) g²ThenZ₁+Z₂ = 0.0(5) + 0.000(5) g + 999.00(10) g²fromunseriesimportSeriesz1=Series(2,{0:ufloat(1,0.3),1:ufloat(2,.003)})z2=Series(3,{0:ufloat(-1,0.4),1:ufloat(-2,.004),2:ufloat(999,.1)})printz1+z2
Package: unsettings
What is Unsettings?Unsettings is a graphical configuration program for the Unity desktop
environment that lets you change some oft the Unity settings.Unsettings can only change your users’s settings, you can’t use it to
change global settings or do anything else that needs root
privileges.You can use Unsettings to change the themes for GTK, window manger,
icons and cursors. But it doesn’t support the installation of new
themes.With Unsettings you can switch off the global menu and the overlay
scrollbars used in Unity.In addition to just applying the settings Unsettings lets you to save
your settings into and load from a text file (JSON format) so you can
easily backup you settings or copy them to a different account.Where can I get Unsettings?Unsettings is available athttp://www.florian-diesch.de/software/unsettings/StatusUnsettings is Alpha software. It works for me but I expect it to have quite some bugs. The user interface and the file format may change in future version.Use it at your own risk.If you find a bug in Unsettings please report it at thebugtracker at Launchpadso that I can fix it. Thank you.RequirementsUnsettings is developed and tested on Ubuntu 11.10 “Oneiric Ocelot” and Ubuntu 12.04 “Precise Pangolin”.Unsettings needs the following packages from the software sources:gir1.2-glib-2.0gir1.2-gtk-3.0python-gobjectpython-xdgIf you install the .deb package this packages will be automatically
installed if needed.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.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program.  If not, seehttp://www.gnu.org/licenses/
Package: unshare
unsharepip3installunsharePython extension for C's unshare call.Seeman 2 unshare.Note: This is targeted for only Linux based platforms.Usageunshare(flags)where supported flags areCLONE_NEWNS,CLONE_NEWUTS,CLONE_NEWPID,CLONE_NEWUSER,CLONE_NEWIPC,CLONE_NEWNET,CLONE_THREAD.Multiple flags can be used using the bitwise or operator.Example usageimportunshareunshare.unshare(unshare.CLONE_NEWUTS)The following screenshot is taken from a sample script which uses the unshare library.LicenseThis project is licensed underGPLv3.
Package: unshell
shellSet your shell free !Combine python and shell command.FeaturesLight: There are no dependenciesAsync: Work with async/awaitTestable: Unshell script are easily testable because they yield execution controlSetuppipinstallunshellaliasunshell=$(pipshowunshell|grepLocation|cut-d:-f2)/unshell/cli.pyUsageExecute script through ShellExecute script through unshell runtime

Usage:
  unshell COMMAND [SCRIPT_PATH] [ARGS...]

Commands:
  help      Print this help message
  run       run a script through unshell runtimeGiven the script:pause.pyto pause all docker containersdefpause():ids=yield fromfetchContainerIds()foridinids:yieldf"docker pause{id}"deffetchContainerIds():ids=yieldf"docker ps -q --no-trunc"returnids.splitlines()Run it through unshellunshellrunpause.pyEmbedded script inside appsGiven the precedent scriptpause.pyfromunshellimportUnshellimportosdefmain():script=resolve('./scripts/pause.js')# resolve your python moduletry:Unshell({"env":os.environ})(script)exceptExceptionaserr:print(err)ExamplesHere is some examples of what you can do with unshellPause containersContributepoetryconfig--localvirtualenvs.in-projecttruepoetryshell
makeinstall
watchmakedevLicenseThe code is available under theMIT license.
Package: unshortenit
Unshortens ad-based urls and 301 redirects. Supports adf.ly, adfoc.us, and sh.st.FeaturesSupports unshortening the following ad-based shortners:Adf.ly and related subdomainsSh.stAdfoc.usSupports any 301 redirected urlsMeta Refresh redirected urlsPython 3.5+ support onlyUsageDocumentation for this library can be found [here](http://unshortenit.readthedocs.io/en/latest/)History0.4.0 (2018-04-01)BREAKING CHANGES - API has changed.
Major refactoring of entire code-base.Added support for adding additional domains at runtimeAdded support to create your own modules and add them at runtimeIncluded a command line interface to unshorten links via CLI0.3.1 (2017-11-26)Fixed adf.ly decoding issues (provided by @marlowww)0.3.0 (2016-05-20)Split out unshortening and unwrapping 301 redirects into separate calls.Added support for unwrapping google proxy links.Some general cleanup in tests, updated some of the test links.Handle anonymz.com links (provided by @guigarfr)Handle href.li links (provided by @guigarfr)Update user-agents (provided by @Dreysman)0.2.3 (2015-11-13)Fixed sh.st support0.2.2 (2014-07-28)Removed lnx.lu as site is out of service0.2.1 (2014-05-18)Removed tests for linkbucks.com and adfoc.us. Support has been temporarly
removed.Merged Debian Python 3.2 fix by anaconda0.2.0 (2014-02-25)Removed PyV8 requirement for adf.lyAdded ay.gy domain for adf.ly regexAdded sh.st support0.1.9 (2014-02-08)Switched linkbucks.com to use selenium PhantomJS driver due to ongoing challenges with their site0.1.8 (2014-02-04)Fixed linkbucks.com issues resulting from additional changes to their site0.1.7 (2014-02-03)Fixed linkbucks.com issues resulting from additional changes to their site0.1.6 (2014-02-01)Fixed adfoc.us issues resulting from changes to their siteFixed linkbucks.com issues resulting from changes to their site0.1.4 (2013-10-12)Added support for p.ost.im.Fixed blocking issue with direct links to file downloads0.1.3 (2013-10-11)Added a timeout parameter0.1.2 (2013-10-11)Fixed bug with t.co not working.0.1.1 (2013-10-11)Added support for custom adf.ly domains via the type=’adfly’ variable.0.1.0 (2013-10-08)First release.
Package: unskript-cicd
unskriptOpensource unSkript Python Package repositoryFree software: GNU General Public License v3Documentation:https://unskript.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-07-23)First release on PyPI.
Package: unskript-cloudnative-data
unskriptOpensource unSkript Python Package repositoryFree software: GNU General Public License v3Documentation:https://unskript.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-07-23)First release on PyPI.
Package: unskript-cloudnative-infra
unskriptOpensource unSkript Python Package repositoryFree software: GNU General Public License v3Documentation:https://unskript.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-07-23)First release on PyPI.
Package: unskript-cloudnative-observability
unskriptOpensource unSkript Python Package repositoryFree software: GNU General Public License v3Documentation:https://unskript.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-07-23)First release on PyPI.
Package: unskript-core
unskriptOpensource unSkript Python Package repositoryFree software: GNU General Public License v3Documentation:https://unskript.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-07-23)First release on PyPI.
Package: unskript-custom
unskriptOpensource unSkript Python Package repositoryFree software: GNU General Public License v3Documentation:https://unskript.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-07-23)First release on PyPI.
Package: unskript-extras
unskriptOpensource unSkript Python Package repositoryFree software: GNU General Public License v3Documentation:https://unskript.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-07-23)First release on PyPI.
Package: unsplashapi
Unsplash APIThis is a inofficial Wrapper around the Unsplash API.InstallationInstall project via pippipinstallunsplashapiGet an Access KeyRegister for a Developer Account on Unsplash.comAdd a new application undYour AppsAdaptRedirect URI & Permissionsaccording to your preferencesCopyAccess KeyfromKeysUsage/Examples# Extracts Rate Limits of your keyfromunsplashapiimportUnsplashAPIapi=UnsplashAPI(access_key='<your key>')api.get_current_rate_limit()>>>'49'# Extract contents of an imagefromunsplashapiimportUnsplashAPIapi=UnsplashAPI(access_key='<your key>')api.get_photo_by_id(photo_id='ieic5Tq8YMk')>>>{'id':'ieic5Tq8YMk','created_at':'2018-01-13T16:36:34-05:00','updated_at':'2022-04-15T13:02:41-04:00','promoted_at':'2018-01-14T20:42:18-05:00'...}ContributingContributions are always welcome!Clone RepositoryMake adjustmentsAdd PRAppendixAll requests are documented in the official Unsplash-API documentation provided
from the developers:https://unsplash.com/documentationPackage Reference:https://pypi.org/project/unplashapi/0.0.1/
Package: unsplash_dl
UnsplashCLI to download collections from UnsplashFeaturesFilters to specify min width, min height, min likesAbility to filter out vertical imagesSkiping existing imagesInstallationpip install --user unsplash_dlCLI to download images from unsplash.

Usage:
  unsplash
  unsplash --version
  unsplash download -c=<str> -t=<str> -d=<str> [--min-width=<int>] [--min-height=<int>] [--min-likes=<int>] [-H] [-v]

Options:
  -h --help                     Show this screen
  -v --verbose                  Enable logging
  --version                     Show version.

  -c=<str> --collection=<str>   Collection to download
  -t=<str> --token=<str>        Unsplash API token
  -d=<str> --directory=<str>    Directory to download to
  -H --ignore-vertical          Ignore vertical photos
  --min-width=<int>             Minimal width
  --min-height=<int>            Minimal height
  --min-likes=<int>             Minimal likes
Package: unsplash-get
Script for scraping unsplash. Only for educational purposes.Installfrom pypipipinstallunsplash-getfrom githubpipinstallgit+https://github.com/streanger/unsplash-get.gitUsage from command line# as modulepython-munsplash_get<word>python-munsplash_getorange# as entry pointunsplash<word>unsplashorange# as scriptpythonunsplash_get.py<word>pythonunsplash_get.pyorangeUsage from Python (save images)frompathlibimportPathfromunsplash_getimportsearch,save_img# get list of urlsword='orange'urls=search(word)# create directorydirectory=Path(word)directory.mkdir(exist_ok=True)# save imagesforindex,urlinenumerate(urls,start=1):path=str(directory/f'{word}_{index:03}.jpg')status=save_img(url,path)print(f"{index:03}.{url}->{path}({status})")Usage from Python (load image to variable)it requires additional libraries (PILand/ornumpy), which could be installed withpipinstallPillownumpyexample codeimportioimportnumpyasnpfromPILimportImagefromunsplash_getimportsearch,get_imagedefload_img_to_pil(data):img=Image.open(io.BytesIO(data))returnimgdefload_image_to_numpy(data):img=np.array(Image.open(io.BytesIO(data)))returnimg# get list of urlsword='orange'urls=search(word)url=urls[4]# read imagedata=get_image(url)pil_img=load_img_to_pil(data)numpy_img=load_image_to_numpy(data)Screenshots
Package: unsplashpy
UnsplashpyDescriptionAn Unsplash client without the need for an api key. For a full documentation visithttps://sauldom102.github.io/unsplashpy.Getting startedYou can try out how this module works by importing the Unsplash class, which will help you with some user regular actions as searching for a keyword and then download a certain number of image pages of that results.fromunsplashpyimportUnsplashu=Unsplash()search_text=input('Tell me what are you searching for: ')u.search(search_text)num_pages=input('Pages to download [10]: ')num_pages=5ifnum_pages==''elseint(num_pages)image_size=input('Image size to download [regular]: ')image_size='regular'ifimage_size==''elseimage_sizeu.download_last_search(num_pages=num_pages,image_size=image_size)Some examplesDownload user's photosThe bellow code will allow you to download all the user's published photos. One difference from the "Quick start" example is that this will take much more time downloading all pictures because this part doesn't make use of multithreading. We'll see another example on how to make this in a much more efficient way.Another thing to know is that, by default, all the images downloaded will have a regular resolution.fromunsplashpyimportUserusername=input('Tell me a username: ')u=User(username)forpinu.photos:p.download(download_location=username)Download user's photos (multithreading way)As said before, this is a more efficient way to download photos. It takes much less time than the above example.fromunsplashpyimportUserusername=input('Tell me a username: ')u=User(username)u.download_all_photos()Download random photofromunsplashpyimportPhotop=Photo.random()p.download()
Package: unsplash-rand-downloader
UnsplashRandDownloaderPython Unsplash Random Image Downloader.This component periodically download and store random images based of specified topics from Unsplash platform and allows the user to request one of the downloaded images. It keeps control of the Unsplash API requests limits, and using some kind of "image files rotate" of the storage (removing and replacing older images with newer ones), it also control and limit the maximum number of images downloaded in the filesytem.InstallationFrom Pypi:python3-mpipinstallunsplash_rand_downloaderFrom Sources:gitclonehttps://www.github.com/J-Rios/unsplash_rand_downloadercdunsplash_rand_downloader
python3-mpipinstall.Usage# Import the modulefromunsplash_rand_downloaderimportUnsplashRandDownloader# Set your Unsplash API access account identification parameters# (Application Name, Client ID and Client Secret Key)APP_NAME="XXXXXXXXXXXXXXX"CLIENT_ID="XXXXXXXXXXX_XXXXX-XX-XXXXXXXXXXXXXXXXXXXXXX"CLIENT_SECRET="XXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"# Unsplash API mode to use (API_DEMO or API_PRODUCTION)API_MODE=UnsplashRandDownloader.API_DEMO# Limit the number of images to be downloaded (None, to use the maximum# calculated number from Unsplash API request limits DEMO/PRODUCTION)LIMIT_MAX_NUM_IMG=None# Path of directory to store the downloaded imagesIMAGES_DOWNLOAD_DIR="./images"# Size of images to downloadIMG_WIDTH=320IMG_HEIGHT=240# Topics of images to downloadTOPICS=["bird","halloween","fire","computer"]# Setup the Downloaderunsplash=UnsplashRandDownloader(APP_NAME,CLIENT_ID,CLIENT_SECRET,API_MODE)unsplash.setup(IMAGES_DOWNLOAD_DIR,TOPICS,IMG_WIDTH,IMG_HEIGHT,LIMIT_MAX_NUM_IMG)# Launch the Downloaderunsplash.start()# Wait some time to allow UnsplashRandDownloader download some images# ...# Request a random image from downloaded imagesimg=unsplash.get_random_image()ifimgisnotNone:print("Image Topic:{}".format(img["topic"]))print("Image ID:{}".format(img["id"]))print("Image Attribution:{}".format(img["attribution"]))#print("Image Raw: {}".format(img["image"]))# To exit your application, remember to stop the downloader beforeunsplash.stop()
Package: unsplash-search
unsplash-searchUnsplash-search is small python library to search for photos from the Unsplash photograph hosting website.Installpip install unsplash-searchUsageImport the UnsplashSearch modulefrom unsplash_search import UnsplashSearchYou must get an access key from the Unsplash Deverloper API website.You must then instantiate the UnsplashSearch Class with your key to use the program.unsplash = UnsplashSearch(YOUR_KEY)Search using queriesThe unsplash search method takes in a query as an argument for what kind of photos you
want to get.If successful, it will return a random image dictionary.img = unsplash.search('mountains') #=> dictThe image dictionary object has two keys: The url of the image, and the author's instagram username.So if you simply want to get a random image matching the query just doimg['img']
Package: unsserv
py-unsservpy-unsservis high-level Python library, designed to offer out-of-the-box peer-to-peer (p2p)
network, as well as a bunch of functionalities on top of it. These functionalities include:Membership (or p2p network creation)ClusteringMetrics aggregationNodes samplingDissemination (or broadcasting)Data searching (key-value caching oriented)Look how easy it is to use:importasynciofromtypingimportTuplefromunsservimportjoin_network,get_dissemination_serviceHost=Tuple[str,int]asyncdefbroadcaster(host:Host):# join p2p networkmembership=awaitjoin_network(host,"network.id")# initialize dissemination servicedissemination=awaitget_dissemination_service(membership,"dissemination.id")# wait for receiver to join networkawaitasyncio.sleep(1)# broadcast datafor_inrange(10):awaitdissemination.broadcast(b"data.alert")awaitasyncio.sleep(1)asyncdefreceiver(host:Host,broadcaster_host:Host):# wait for broadcaster to join networkawaitasyncio.sleep(1)# join p2p networkmembership=awaitjoin_network(host,"network.id",bootstrap_nodes=[broadcaster_host])# initialize dissemination service and add broadcast handlerasyncdefhandler(data:bytes):print(data)awaitget_dissemination_service(membership,"dissemination.id",broadcast_handler=handler)# wait for broadcastawaitasyncio.sleep(10)if__name__=="__main__":broadcaster_host=("127.0.0.1",7771)receiver_host=("127.0.0.1",7772)loop=asyncio.new_event_loop()loop.create_task(broadcaster(broadcaster_host))loop.create_task(receiver(receiver_host,broadcaster_host=broadcaster_host))loop.run_forever()InstallationpipinstallunsservMore about UnsServpy-unsservis the Python implementation of UnsServ, which is the academic work behind it.
For a more detailed understanding you can check the UnsServ non-published paper:Original UnsServ academic paper