Saravanan666/pypi-org huggingface dataset:
Package: upscale-x4
upscale_x4This repository provides out of the box methods for upscalingimagesandgifsby 4. A pretrained model is already bundled in. See the simple example below.fromupscale_x4importupscale_gif_x4,upscale_image_x4upscaled_gif=upscale_gif_x4("path \ to \ gif")upscaled_img=upscale_image_x4("path \ to \ image")Currently supports:JPGsPNGs (mixed results and loses transparency)GIFs
Package: upscript
UpscriptThis cli tool installs and updates python scripts for you.Tested on: Linux, Windows.Installpip install --user upscriptUsageupscript fetch <name> [<destination-dir>] [--index-url <index-url>]This command will create a folder with all the package's console entry points.
There also will be.files/folder inside it, containing embedded venv.Any time you'll start some of these entry point, upscript will check for a package update in an index. It is possible
to suppress an update check viaUPSCRIPT_AUTO_UPDATE=0env-var.
Package: upscrot
# UpscrotUpscrot is a simple tool that will take a screenshot using the Linux “scrot”
command and upload it directly to an SSH server.After uploading, the URL is copied to the X clipboard and can be pasted with
middle click.## InstallingPrerequisites:python3python3-appdirsscrotxsel (optional for clipboard support)Then install upscrot via pip:sudo pip3 install -U upscrotIf you’re on Arch Linux you can also install
[from AUR](https://aur.archlinux.org/packages/upscrot/):yaourt -S upscrot## UsageFirst run:Runupscrot.py. A sample config file will be created.Edit the config file with your server information.Regular run:Runupscrot.py.Draw a rectangle with your mouse around the desired area.Screenshot will be uploaded automatically. The URL will be
copied to the X clipboard and printed to the console.It is recommended that you set up key authentication for your SSH server, so
you don’t have to type in your password each time.## AuthorDanilo Bargenhttps://dbrgn.ch/## LicenseCopyright (C) 2011–2016 Danilo Bargenupscrot 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.upscrot 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
upscrot. If not, seehttp://www.gnu.org/licenses/.
Package: upsert-slr
Upsert Service-Linked RoleAWS CDK construct to create aservice-linked role (SLR)if there is no SLR for the same service, and if there is, skip the creation process.FeaturesCreate a service-linked role. If it is already created in the same AWS account, just skip the creation.Standalone CFn template since no CDK assets are used. We use inline code for the Lambda function.Sleep some time after role creation to wait for IAM propagation.Usagenpminstallupsert-slrimport{ServiceLinkedRole}from'upsert-slr';newServiceLinkedRole(this,'ElasticsearchSlr',{awsServiceName:'es.amazonaws.com',description:'Service linked role for Elasticsearch',});Why do we need this?CloudFormation also supports a service-linked role (doc). Why do we need this?Because the resource behaves strangely when there is already a role with the same name. All we need is to simply create a role, and skip it if it already exists. Such behavior as upsert is achieved by this construct,upsert-slr.Also, even if CFn successfully creates a role, resources that depend on the role sometimes fail to be created because there is sometimes a delay before the role is actually available. Seethis stack overflowfor more details.To avoid the IAM propagation delay, this construct also waits for some time after a role is created.
Package: upset-alttxt
:sparkles: upset-alt-txt-genDesign experiments for generating semantically meaningful alt-text.
This work is adapted from:Alan Lundgard AND Arvind Satyanarayan (2022). Accessible Visualization via 
Natural Language Descriptions: A Four-Level Model of Semantic Content. IEEE 
Transactions on Visualization & Computer Graphics (Proc. IEEE VIS).Local DeploymentClone the repository usinggit cloneor download and extract the zip file.Ensure you have python version >= 3.8.10 installed.Open a terminal in the repository directory and create and activate a python virtual environment running at least Python 3.8.10. For information on how to do this, navigatehere.Install the required dependencies usingpip install -r requirements.txt.(Optional) Install the required development dependencies usingpip install -r requirements_dev.txt. These are only required if you plan on running the tests or linting.Install the alttxt module in development mode withpip install -e .To run the program with the example data, runpython [path/to/alttxt directory] --data ../../data/movie_data_card_sort.json --verbosity mediumLevel and granularity can be changed to any of the options listed inCommand Line Options.
Here is an example command:
For unix/macOS:python3 src/alttxt --data data/movie_data_dev_sort.jsonFor Windows:python src/alttxt --data data/movie_data_dev_sort.jsonLocal TestingLocal testing can be done using thetoxcommand. Tests have not been updated to match the latest updates to the repository, and updating them is currently on hold, as deployment is a priority over robustness.Linting: To run the linting tests, runtox -e lintType: To run the type tests, runtox -e typeTests: To run the python tests, runtox -e testFormatting: To automatically format the files to match theflake8-blackstandards, runtox -e formatTo run the entire suite of tests at once, usetox.Command Line OptionsCommandDescription-h,--helpShow information on each command and exit.-V,--versionShow the program version number and exit.-D,--data(Required) Relative path to data file.-l,--levelSemantic level. Defaults to a combination of all levels. Options are:1,2.-st,--structuredReturns information in JSON format that contains structured text (long description), alt-txt (short description), and technical description of the plot making strategy-t,--titleA title for the plot; used in some generations. Defaults tohas no title.-------------------------------------------------------------------------------------------------------------------------
Package: upsidedown
Upsidedown is a simple Python module that “flips” latin characters in a
string to create an “upside-down” impression. It makes extensive use of
compatible latin characters as encoded in Unicode.Example>>> import upsidedown
>>> print upsidedown.transform('hello world!')
¡pꞁɹoʍ oꞁꞁǝɥInstallingRun the following to deploy the library on your system:$ python setup.py installThis does not only install the library but also registers an executable file
(on Win32 systems asupsidedown.exeinC:\Python26\Scripts\).Command lineYou can also easily use this software on the command line:$ echo hello world\! | upsidedown
¡pꞁɹoʍ oꞁꞁǝɥ
Package: upsies
upsiesis a toolkit for collecting, generating, normalizing and sharing
video metadata. It comes with a command line interface and can be used in shell
scripts. It is written in pure Python and is designed to be friendly to users
and useful for Python developers.dummyis a no-op tracker and client. Every tracker defines a custom set
of jobs that generate the metadata needed for submission.FeaturesSearch IMDb, TMDb and TVmaze for IDGenerate standardized release nameCreate screenshots at auto-generated timestamps and optimize them withoxipngUpload screenshots to an image hosting service with fallback options if the
service is downCreate.torrentfile or re-use an existing torrent file by copying piece
size and piece hashesAdd.torrentfile to supported BitTorrent client or copy it to a watch
directoryIdentify and verify scene releasesSubmit generated metadata to a supported trackerDo everything simultaneouslyupsiesis developed onCodeberg.The latest release is available onPyPI.Documentation is hosted onRead the Docs.
Package: upsilon
UPSILoN (AUtomated Classification of Periodic Variable Stars using MachIne LearNing)
aims to classify periodic variable stars such as Delta Scuti stars,
RR Lyraes, Cepheids, Type II Cepheids, eclipsing binaries, and
long-period variables (i.e. superclasses), and their subclasses
(e.g. RR Lyrae ab, c, d, and e types) using well-sampled light curves from
any astronomical time-series surveys in optical bands regardless of
their survey-specific characteristics such as color, magnitude, sampling rate,
etc (Kim & Bailer-Jones 2015, A&A accepted,http://arxiv.org/abs/1512.01611).Visithttps://github.com/dwkim78/upsilonfor details.
Package: upsilon-py
Upsilon.pyUpsilon.py is a wrapper forupsilon.js. It allow controlling the NumWorks from
Python. To use this library, because of the dependency on Upsilon.js, you will
need a working installation ofNodewithNpmInstallationTo install Upsilon.py, you can use pip:python3-mpipinstallupsilon.pyAfter the installation, you will have to install Upsilon.js and its
dependencies:npminstall-g"upsilon.js@^1.4.1"usbUsageTo use Upsilon.py, you will need to import it:importupsilon_pyThen, you can create a new NumWorks object:numworks=upsilon_py.NumWorks()You will then be able to start the object and connect to the NumWorks:awaitnumworks.start()awaitnumworks.connect()Now, the connection is established, you can send commands to the NumWorks:# Get the status of the NumWorks (connected/disconnected)status=awaitnumworks.status()print("Status:",status)# Get the model of the NumWorks (return 100/110/120)model=awaitnumworks.get_model()print("Model:",model)# Get the platform info of the NumWorks (information about the OS)platform_info=awaitnumworks.get_platform_info()print("Platform info:",platform_info)# Backup the storage of the NumWorksstorage=awaitnumworks.backup_storage()# Add a file to the storagestorage["records"].append({"name":"Test","type":"py","autoImport":True,"code":"print(\"Hello World!\")"})# Install the modified storageawaitnumworks.install_storage(storage)# Stop the object (you can also use numworks.disconnect() to keep the object# running and connect to another NumWorks)awaitnumworks.stop()
Package: upsilon-workshop-client
Python Client for the Upsilon WorkshopDevelopment environment setupTo install the API, you need to have a working installation of Python 3.10 or
higher. You also need to have a working installation of pip.Virtualenv (optional)It is recommended to use a virtualenv to install the API. This will allow you
to install the API without affecting your system's Python installation.To create a virtualenv, run:pipinstallvirtualenv
virtualenvenvTo activate the virtualenv, run:sourceenv/bin/activateDependenciesWe usePoetryto manage dependencies. To install
Poetry, run:pipinstallpoetryTo install the dependencies, run:poetryinstall
Package: upSmtEngine
SMT based engine implementation for unified-planningIntroductionAn engine using satisfiability modulo theories to solve planning problems. This engine uses z3 as an out of the box solver.Statuspip integration incomplete
Solver tested and functional
Solver capable of sequential, ForAll, ThereExists and relaxed relaxed ThereExists parallelism
Solver accepts and returns the expected unified-planning problem and PlanGenerationResultPlanning approaches of UP supportedProblem kind: Numeric planning with instantaneous actionsOperative mode: One shot planningEngine Optionsmax_lengthRead known user-options and store them for using in thesolvemethod
Set a maximum plan length boundparallelismOption choosing the type of parallalelism. Chooses between 'sequential', 'ForAll', 'ThereExists' and 'relaxed_relaxed_ThereExists'
'sequential' corresponds to a traditional approach, choosing one action per timestep
'ForAll' corresponds to temporal parallelism, choosing a set of non-interfering actions per timestep
'ThereExists' chooses a set of actions for each timestep such that there is at least one valid sequential ordering. This corresponds to sequential plans and aims to improve performance
'relaxed_relaxed_ThereExists' is a relaxation of ThereExists, and aims to increase the number of possible actions per step further, at the cost of individual steps becoming more expensiveForAll_get_setsOption choosing whether to output a partial order plan for ForAll parallelism to see the parallel action setsuse_incremental_solvingOption choosing the whether to use SMT's incremental solving or not
Incremental solving preserves learned clauses after a plan length has been found unsatisfiable, reducing search for the next step at the cost of requiring more clauses maintainedstats_outputIf a string is provided then generate statistics, and save to file, using stats_output as filepathunit_testGet action sequence for unit testsInstallingTODO implement pip methodClone fromhttps://gitlab.com/BPat123/up-smt-engineDependencies: unified-planning, z3UsageSee 'test_runner.py' and 'unit_tests.py' for usage examplesTo run all options against a PDDL file use this command:
python3 test_runner.py -timeout "$TIMEOUT_VAL" -test_all -use_PDDL -domain_path "$domain_string" -problem_path "$problem_string" -solution_path "$problem_results_path"$TIMEOUT_VAL: timeout in seconds
$domain_string: PDDL domain file path
$problem_string: PDDL problem file path
$problem_string: PDDL problem file path
$problem_results_path: Plan output path
n.b. the plan output is in PDDL format, and can be verified using programs such as VALe.g.
python3 up-smt-engine/test_runner.py -timeout 100 -test_all -use_PDDL -domain_path tests/counters/domain.pddl -problem_path tests/counters/problem.pddl -solution_path counters/solution.txtDocumentationDocumentation (generated by code Docstring)LicenseMITCHANGELOG
Package: upsonic-auth
Upsonic AuthThe cloud authentication save system for your python applications ! Control everything from one place and distribute all clients without effort.Website|Discord|TwitterInstallationYou can install Upsonic by pip3:pip3 install upsonic_authImplementing1) Encrypted and Free VersionWe suggest to use in your individual projects because this way not provide any control process so everyone can add credientials.*Creating Your Free Cloud KeyUpsonic cloud_keyfromupsonic_authimportUpsonic_Authauth=Upsonic_Auth("YOUR_ENCRYPTION_KEY","YOUR_CLOUD_KEY")auth.add_user("Name","Pass")#auth.delete_user("Name")ifauth.check("name","Pass"):# In another.py, Diffferent Machine, Different Environmentprint("Verified")2) Encrypted and Pro VersionWe suggest to use in your individual projects because this way not provide any control process so everyone can add credientials.*For this you should haveUpsonic Cloud Profromupsonic_authimportUpsonic_Auth_Proauth=Upsonic_Auth_Pro("YOUR_ENCRYPTION_KEY","YOUR_CLOUD_PRO_KEY","YOUR_ACCESS_KEY")auth.add_user("Name","Pass")#auth.delete_user("Name")ifauth.check("name","Pass"):# In another.py, Diffferent Machine, Different Environmentprint("Verified")3) Encrypted and Secure VersionYou can free for all purposes.*For this you should haveUpsonic Cloud Dedicatedfromupsonic_authimportUpsonic_Auth_Dedicatedauth=Upsonic_Auth_Dedicated("YOUR_ENCRYPTION_KEY","YOUR_DATABASE_NAME","YOUR_ADMIN_PASSWORD","YOUR_DEDICATED_KEY")auth.add_user("Name","Pass")#auth.delete_user("Name")auth=Upsonic_Auth_Dedicated("YOUR_DATABASE_NAME","YOUR_USER_PASSWORD","YOUR_DEDICATED_KEY")ifauth.check("name","Pass"):# In another.py, Diffferent Machine, Different Environment and CUSTOMERprint("Verified")ContributingContributions to Upsonic Auth are welcome! If you have any suggestions or find a bug, please open an issue on the GitHub repository. If you want to contribute code, please fork the repository and create a pull request.LicenseUpsonic Auth is released under the MIT License.ContributorsThank you for your contribution!
Package: upsonic-phantom
Upsonic PhantomThe cloud python encryption for your applications ! Control everything from one place and distribute all clients without effort.InstallationYou can install Upsonic by pip3:pip3 install upsonic_phantomImplementingIn this point you can use any Upsonic Cloud.fromupsonicimportUpsonic_Cloudcloud=Upsonic_Cloud("YOUR_CLOUD_KEY")fromupsonic_phantomimportUpsonic_Phantomphantom=Upsonic_Phantom(cloud,"YOUR_ENCRYPTION_KEY")defmy_function():return"Hello world"phantom.register(my_function)phantom.use("my_function")()$ Hello worldContributingContributions to Upsonic Phantom are welcome! If you have any suggestions or find a bug, please open an issue on the GitHub repository. If you want to contribute code, please fork the repository and create a pull request.LicenseUpsonic Phantom is released under the MIT License.ContributorsThank you for your contribution!
Package: upsonic-run
Upsonic RunThe cloud python function runner with docker and Upsonic Cloud.Website|Discord|TwitterInstallationYou can install Upsonic by pip3:pip3 install upsonic_runImplementingIn this point you can use anyUpsonic Cloud.We will use the Free cloud for these examples and for freeYOUR_CLOUD_KEY:Upsonic cloud_keyYOUR_CLOUD_KEY = "cloud-***"Also you can set any string forYOUR_GLOBAL_ENCRYPTION_KEYexample:YOUR_GLOBAL_ENCRYPTION_KEY = "Thisismypass"Basicfromupsonic_runimportUpsonic_RunfromupsonicimportUpsonic_CloudYOUR_CLOUD_KEY=""YOUR_GLOBAL_ENCRYPTION_KEY=""INTERVAL=15cloud=Upsonic_Cloud(YOUR_CLOUD_KEY)run=Upsonic_Run(cloud,YOUR_GLOBAL_ENCRYPTION_KEY,interval=INTERVAL)# ------- REGISTER_FUNCTIONS -------@cloud.active(encryption_key=YOUR_GLOBAL_ENCRYPTION_KEY)defadd(a,b,c=5):returna+b+c# ------- RUN -------print(run.run("add",args_for_func=(15,5),kwargs_for_func={"c":25}))$45Functionsrun.add_task("add", endless=False, thread=True, args_for_func=(15, 5), kwargs_for_func={"c": 25})

run.delete_task("add")ContributingContributions to Upsonic Run are welcome! If you have any suggestions or find a bug, please open an issue on the GitHub repository. If you want to contribute code, please fork the repository and create a pull request.LicenseUpsonic Run is released under the MIT License.ContributorsThank you for your contribution!
Package: upsonic-update
Upsonic UpdateThe cloud updating system for your python applications ! Control everything from one place and distribute all clients without effortWebsite|Discord|TwitterInstallationYou can install Upsonic by pip3:pip3 install upsonic_updateImplementingIn this point you can use anyUpsonic Cloud.fromupsonic_updateimportUpsonic_UpdatefromupsonicimportUpsonic_Cloudcloud=Upsonic_Cloud("YOUR_CLOUD_KEY")updates=Upsonic_Update(cloud)updates.pre_update("remove_lines")# Register your updates# Define the updates@cloud.activedefremove_lines(string):returnstring.replace("\n","")updates.update()# Start to UpdateAnd the console out is this:Updating: ['remove_lines']remove_lines: OKUpdating Complated Without any ErrorContributingContributions to Upsonic Update are welcome! If you have any suggestions or find a bug, please open an issue on the GitHub repository. If you want to contribute code, please fork the repository and create a pull request.LicenseUpsonic Update is released under the MIT License.ContributorsThank you for your contribution!
Package: upsourceapi
Upsource APIA Python client library for accessingUpsource APIs. These client library are not complete and are in developing mode.IndexInstallUsagePublish packageInstallYou can run Upsource API through Docker:dockerrun-it--rmvanyaland/upsourceapi--helpBuild by your own:dockerbuild-tupsourceapi.
dockerrun-it--rmupsourceapi--helpor install it using thePython package manager:pipinstall.UsageCommand line usageIn this section we cover in detail each of the commands implemented in upsourceapi.upsourceapi--helpCommandsGet all projects- returns the list of all short project infos.Create project- creates a project.Find projects- returns the list of projects matching a given search criteria.Get all projectsWith this command you can the list of all short project infos.--base-url: Base URL of the Upsource API.--auth-token: Upsource authorization token, provide it to see private projects.optionalExample:upsourceapiget-all-projects\--base-url"https://example.com/~rpc"\--auth-token"AUTH_TOKEN"Create a projectYoumusthave configured your SSH previously.With this command you can create upsource project.--base-url: Base URL of the Upsource API.--auth-token: Upsource authorization token. To see private projects.--project-name: Name for the new Upsource project.--project-url: The URL to the repo, e.g. ssh://git@example.com/example-repo.git.--ssh-key: Private SSH key in OpenSSH format.--ssh-key-passphrase: SSH key passphrase.--sync-token: Anonymous access to the GitLab/GitHub API is forbidden. Please provide an OAuth 2.0 token (recommended) or a personal access token, which we'll use to read data from GitLab/GitHub. Write requests will be performed on behalf of each individual Upsource user.Example:upsourceapicreate-project\--auth-token"AUTH_TOKEN"\--base-url"https://example.com/~rpc"\--project-name"example-project"\--project-url"ssh://git@example.com/example-project.git"\--ssh-key"$(cat~/.ssh/id_rsa)"\--ssh-key-passphrase"ssh-key-passphrase"\--sync-token"OAuth 2.0 token"Find projectsWith this command you can get the list of projects matching a given search criteria.--base-url: Base URL of the Upsource API.--auth-token: Upsource authorization token, provide it to see private projects.optional--pattern: Search query, e.g. part of the name.--limit: Number of projects to return.Example:dockerrun-it--rmupsourceapifind-projects\--base-url"https://example.com/~rpc"\--auth-token"AUTH_TOKEN"\--pattern"query"\--limit10Publish packageCreate a source distribution with the following command:python3setup.pysdistStart upload process:twineuploaddist/*orpython3-mtwineuploaddist/*
Package: upstash-pulumi
Upstash Resource ProviderThe Upstash Pulumi Provider lets you manageUpstashRedis and Kafka resources programatically.InstallingThis package is available for several languages/platforms:Node.js (JavaScript/TypeScript)To use from JavaScript or TypeScript in Node.js, install using eithernpm:npminstall@upstash/pulumioryarn:yarnadd@upstash/pulumiPythonTo use from Python, install usingpip:pipinstallupstash_pulumiGoTo use from Go, usego getto grab the latest version of the library:gogetgithub.com/upstash/pulumi-upstash/sdk/go/...ConfigurationThe following configuration points are available for theupstashprovider:upstash:apiKey(environment:UPSTASH_API_KEY) - the API key forupstash. Can be obtained from theconsole.upstash:email(environment:UPSTASH_EMAIL) - owner email of the resourcesSome ExamplesTypeScript:import * as pulumi from "@pulumi/pulumi";
import * as upstash from "@upstash/pulumi";

// multiple redis databases in a single for loop

for (let i = 0; i < 5; i++) {
    new upstash.RedisDatabase("mydb" + i, {
        databaseName: "pulumi-ts-db" + i,
        region: "eu-west-1",
        tls: true
    })
}Go:package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/upstash/pulumi-upstash/sdk/go/upstash"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {

		createdTeam, err := upstash.NewTeam(ctx, "exampleTeam", &upstash.TeamArgs{
			TeamName: pulumi.String("pulumi go team"),
			CopyCc:   pulumi.Bool(false),
			TeamMembers: pulumi.StringMap{
				"<owner-email>": pulumi.String("owner"),
				"<some-other-user-email>":   pulumi.String("dev"),
			},

		})
		if err != nil {
			return err
		}
		return nil
	})
}Python:import  pulumi
import upstash_pulumi as upstash

created_cluster = upstash.KafkaCluster(
    resource_name="myCluster",
    cluster_name="pulumi-python-cluster",
    multizone=False,
    region="eu-west-1"
)ReferenceFor reference, please look into/examplesdirectory for resource management using different languages. You can also visitdeveloper api docsto see parameters and their behaviors.
Package: upstox
DEPRECATED - The Upstox Python SDK is in its end-of-life stage and has been deprecated. We strongly encourage you to transition to the updated package, upstox-python-sdk. This can be installed via pip install upstox-python-sdk (find further details athttps://pypi.org/project/upstox-python-sdk/). The new package ensures full compatibility with Upstox API v2.0, as well as subsequent versions, and will receive ongoing updates and support.