Saravanan666/pypi-org huggingface dataset:
Package: upstream-ontologist
Upstream OntologistThe upstream ontologist provides a common interface for finding metadata about
upstream software projects.It will gather information from any sources available, prioritize data that it
has higher confidence in as well as report the confidence for each of the
bits of metadata.The ontologist originated in Debian and the currently reported metadata fields
are loosely based onDEP-12,
but it is meant to be distribution-agnostic.Provided FieldsStandard fields:Homepage: homepage URLName: human name of the upstream projectContact: contact address of some sort of the upstream
(e-mail, mailing list URL)Repository: VCS URLRepository-Browse: Web URL for viewing the VCSBug-Database: Bug database URL (for web viewing, generally)Bug-Submit: URL to use to submit new bugs (either on the web or an e-mail address)Screenshots: List of URLs with screenshotsArchive: Archive used - e.g. SourceForgeSecurity-Contact: e-mail or URL with instructions for reporting security issuesDocumentation: Link to documentation on the webExtensions for upstream-ontologist, not defined in DEP-12:SourceForge-Project: sourceforge project nameWiki: Wiki URLSummary: one-line description of the projectDescription: longer description of the projectLicense: Single line license (e.g. "GPL 2.0")Copyright: List of copyright holdersVersion: Current upstream versionSecurity-MD: URL to markdown file with security policyAuthor: List of people who contributed to the projectMaintainer: The maintainer of the projectFunding: URL to more information about fundingSupported Data SourcesAt the moment, the ontologist can read metadata from the following upstream
data sources:Python package metadata (PKG-INFO, setup.py, setup.cfg, pyproject.timl)package.jsoncomposer.jsonpackage.xmlPerl package metadata (dist.ini, META.json, META.yml, Makefile.PL)Perl POD filesGNU configure filesR DESCRIPTION filesRust Cargo.tomlMaven pom.xmlmetainfo.xml.git/configSECURITY.mdDOAPHaskell cabal filesgo.modruby gemspec filesnuspec filesOPAM filesDebian packaging metadata
(debian/watch, debian/control, debian/rules, debian/get-orig-source.sh,
debian/copyright, debian/patches)Dart'spubspec.yamlmeson.buildIt will also scan README and INSTALL for possible upstream repository URLs
(and will attempt to verify that those match the local repository).In addition to local files, it can also consult external directories
using their APIs:GitHubSourceForgerepologyLaunchpadPECLAURExample UsageThe easiest way to use the upstream ontologist is by invoking theguess-upstream-metadatacommand in a software project:$guess-upstream-metadata~/src/dulwichSecurity-MD: https://github.com/dulwich/dulwich/tree/HEAD/SECURITY.mdName: dulwichVersion: 0.20.15Bug-Database: https://github.com/dulwich/dulwich/issuesRepository: https://www.dulwich.io/code/Summary: Python Git LibraryBug-Submit: https://github.com/dulwich/dulwich/issues/newAlternatively, there is a Python API. There are alsoautocodemetaandautodoapcommands that can generate output in thecodemetaandDOAPformats, respectively.
Package: upstride-alchemy
Alchemy CLIthis is the software development kit (SDK) and command line interface (CLI) for alchemyinstallto install this package runpipinstallupstride-alchemyor clone this repository and runpipinstall[-e].orpythonsetup.py{install,develop}SDKTo import the sdk in your project, do a simpleimportalchemyyou can now login to alchemy using your credentials and initialize the project :alchemy.login('your@email','yourpassword')alchemy.init(project_name='project42',run_name='mobilenet on cifar10',dataset='cifar10',model='mobilenet_v3',tags=['pytorch'])now you can simply call thelogfunction to send results to the platformalchemy.log(epochs=1,metrics={'accuracy':0.8,'loss':3.1415,'whatever metric you want':0.9})Command line interfacethis repository provides a script to update results from a tensorboard checkpoint :alchemy_cliOne parameter is mandatory :log_file, the path of the tensorboard log file to parse.The other parameter can be passed using the command line or will be asked by the script to the userThese parameters are:--user: email to connect to alchemy--password: password to connect to alchemy--step: step between two points to upload--project: Alchemy project to update--run: Alchemy run to update--tags: tags associated with the run (only if new run)--dataset: dataset used in run (only if new run)--model: Neural Network model used in the run (only if new run)--scalar_plots: scalar graph to uploadEvery parameter exceptlog_filecan be stored in a yaml file, and provided with theyaml_file. An example yaml file can be:user:your@emailproject:my_projectrun:my_runscalar_plots:-my_metric1-my_metric2tags:-tag1-tag2dataset:my_datasetmodel:my_modelThis script can be run withalchemy_cli<log_fie><parameters>Upload_everythingIf your experiments are stored in a way that every event files comes with a corresponding yaml, you can use a dedicated script to upload runs based on a wildcard file patternbash upload_everything.sh "*my_pattern*" "my_password"
Package: uptick
# UptickSwiss army knife for interacting with the BitShares blockchain.![](https://img.shields.io/pypi/v/uptick.svg?style=for-the-badge)
![](https://img.shields.io/github/release/bitshares/uptick.svg?style=for-the-badge)
![](https://img.shields.io/github/downloads/bitshares/uptick/total.svg?style=for-the-badge)
![](https://img.shields.io/pypi/pyversions/uptick.svg?style=for-the-badge)
![](https://img.shields.io/pypi/l/uptick.svg?style=for-the-badge)
![](https://cla-assistant.io/readme/badge/bitshares/uptick)Stable[![docs master](https://readthedocs.org/projects/uptick/badge/?version=latest)](http://uptick.readthedocs.io/en/latest/)
[![Travis master](https://travis-ci.org/bitshares/uptick.png?branch=master)](https://travis-ci.org/bitshares/uptick)
[![codecov](https://codecov.io/gh/bitshares/uptick/branch/master/graph/badge.svg)](https://codecov.io/gh/bitshares/uptick)Develop[![docs develop](https://readthedocs.org/projects/uptick/badge/?version=develop)](http://uptick.readthedocs.io/en/develop/)
[![Travis develop](https://travis-ci.org/bitshares/uptick.png?branch=develop)](https://travis-ci.org/bitshares/uptick)
[![codecov develop](https://codecov.io/gh/bitshares/uptick/branch/develop/graph/badge.svg)](https://codecov.io/gh/bitshares/uptick)## DocumentationThe full-length documentation can be found on [http://uptick.rocks](http://uptick.rocks).## Installation` sudo apt installpython3-pipsudo pip3 install uptick `## Contributinguptick welcomes contributions from anyone and everyone. Please
see our [guidelines for contributing](CONTRIBUTING.md) and the [code of
conduct](CODE_OF_CONDUCT.md).### Discussion and DevelopersDiscussions around development and use of this library can be found in a
[dedicated Telegram Channel](https://t.me/pybitshares)### LicenseA copy of the license is available in the repository’s
[LICENSE](LICENSE.txt) file.
Package: uptick-splat
splatsplat is simple aws lambda function that takes HTML/CSS/JS, invokes PrinceXML to render it and returns the resulting PDF in one of many ways.It is intended to be a DIY docraptor of sorts.InstallationSimply build the docker image, deploy it to AWS, then invoke the lambda with an event body JSON that performs the desired operation. For example:{"document_content": "<h1>Hello, World!</h1>"}Ways of invoking splatInputPass content in event:{"document_content": "<h1>Hello, World!</h1>"}Pass content via URL:{"doucment_url": "<h1>Hello, World!</h1>"}OutputReturns PDF base64 encoded by default.
To save to an s3 bucket (lambda requires permission):{"bucket_name": "<BUCKET>"}To save to a presigned url:{"presigned_url": "<URL>"}OptionsTo enable Javascript:{"javascript": true}PrinceXML Licensesplat will attempt to install a PrinceXML license file by default. Just drop yourlicense.datin the root directory before you build the docker container. The licence file is gitignored for your convenience.
If you do not have a licence file, Prince will watermark your PDFs, and you can only use them non-commercially. See theirlicense pagefor more information.You can check the status of the licence by invoking the lambda with the{"check_license": true}option, and interpreting the response, you can use this to periodically check the status of the licence and raise an alert if it's about to expire, and to verify that your new licence has updated correctly.Fontssplat will add any fonts inside afonts.zipfile. Ensure the zip file contains a folder calledfontswith all fonts inside. Simply drop into the root directory and build the docker container. Thefonts.zipfile is gitignored for your convenience. By default, prince comes with a small suite of liberation fonts.LibrarySplat can be used via theuptick_splatlibrary. Install withpip install uptick_splat.Usage:fromuptick_splatimportconfigure_splat,pdf_with_splatconfigure_splat(function_region="ap-southeast-2",function_name="splat",default_bucket_name="your-bucket-to-upload-html-to",)some_html="<h1>test</h1>"pdf_with_splat(some_html,bucket_name="test_bucket")# orpdf_with_splat(some_html)
Package: uptime-kuma-api
uptime-kuma-apiA wrapper for the Uptime Kuma Socket.IO APIuptime-kuma-api is a Python wrapper for theUptime KumaSocket.IO API.This package was developed to configure Uptime Kuma with Ansible. The Ansible collection can be found athttps://github.com/lucasheld/ansible-uptime-kuma.Python version 3.7+ is required.Supported Uptime Kuma versions:Uptime Kumauptime-kuma-api1.21.3 - 1.23.21.0.0 - 1.2.11.17.0 - 1.21.20.1.0 - 0.13.0Installationuptime-kuma-api is available on thePython Package Index (PyPI).You can install it using pip:pip install uptime-kuma-apiDocumentationThe API Reference is available onRead the Docs.ExampleOnce you have installed the python package, you can use it to communicate with an Uptime Kuma instance.To do so, importUptimeKumaApifrom the library and specify the Uptime Kuma server url (e.g. 'http://127.0.0.1:3001'), username and password to initialize the connection.>>>fromuptime_kuma_apiimportUptimeKumaApi,MonitorType>>>api=UptimeKumaApi('INSERT_URL')>>>api.login('INSERT_USERNAME','INSERT_PASSWORD')Now you can call one of the existing methods of the instance. For example create a new monitor:>>>result=api.add_monitor(type=MonitorType.HTTP,name="Google",url="https://google.com")>>>print(result){'msg':'Added Successfully.','monitorId':1}At the end, the connection to the API must be disconnected so that the program does not block.>>>api.disconnect()With a context manager, the disconnect method is called automatically:fromuptime_kuma_apiimportUptimeKumaApiwithUptimeKumaApi('INSERT_URL')asapi:api.login('INSERT_USERNAME','INSERT_PASSWORD')api.add_monitor(type=MonitorType.HTTP,name="Google",url="https://google.com")
Package: uptime-kuma-monitor
Uptime Kuma MonitorPython wrapper around UptimeKuma/metricsendpointInstallationpipinstalluptime_kuma_monitorQuickStart>>>fromuptime_kuma_monitorimportUptimeKumaMonitor>>>utkm=UptimeKumaMonitor("https://your_uptime-kuma_url","uptime-kuma_username","uptime-kuma_password")>>>utkm.data{'UptimeKuma':{'monitor_cert_days_remaining':55.0,'monitor_cert_is_valid':1.0,'monitor_response_time':141.0,'monitor_status':1.0},'AdGuard Home':{'monitor_cert_days_remaining':55.0,'monitor_cert_is_valid':1.0,'monitor_response_time':22.0,'monitor_status':1.0},'Bitwarden':{'monitor_cert_days_remaining':55.0,'monitor_cert_is_valid':1.0,'monitor_response_time':17.0,'monitor_status':1.0},'Home Assistant':{'monitor_cert_days_remaining':55.0,'monitor_cert_is_valid':1.0,'monitor_response_time':114.0,'monitor_status':1.0},'Gitea':{'monitor_cert_days_remaining':55.0,'monitor_cert_is_valid':1.0,'monitor_response_time':2331.0,'monitor_status':1.0},'NginxProxyManager':{'monitor_cert_days_remaining':55.0,'monitor_cert_is_valid':1.0,'monitor_response_time':18.0,'monitor_status':1.0},...}>>>utkm.data['UptimeKuma']['monitor_response_time']13.0>>>utkm.data['UptimeKuma']['monitor_status']1.0Notes:The user must have access to the Uptime Kuma/metricsendpointChange Logv1.0.0 : Initial Release
Package: uptime-reporting
uptime-reportingService Uptime reporting tool, designed around uptime checks and leveraging tags to organize checks in the report.Currently supportsPingdomandUptimeRobotfor data collection.Key features:uses the service API to gather uptime statistics for the time range of choice (weekly, monthly, custom)tags groupingcapability with aggregated stats per tags, to make reports more structured and readableinclusion/exclusionof checks from the reports based on their id, tags or statusterminal-friendly on-screen report generation or Jinja-basedreport templatingto output in HTML, PDF, XML, etc.How to installRequires Python => 3.7pipinstalluptime-reportingor with dockerdockerpullgiacomolozito/uptime-reportingUsageOn-screen report of all checks for last week:uptime-reporting--servicepingdom--tokenXYZ--reportweekly--datelastOn-screen report of all checks for Jan 2020 (any date within that month causes the month to be selected):uptime-reporting--servicepingdom--tokenXYZ--reportmonthly--date2020-01-01HTML-based report of all checks for a custom date range, written to file report.html:uptime-reporting--servicepingdom--tokenXYZ--reportrange--date2020-02-01_2020-03-15\--report-formatjinja--report-jinja-templatehtml--report-filenamereport.htmlOn-screen report with terminal colors, excluding certain tags and checks from the report:uptime-reporting--servicepingdom--tokenXYZ--reportweekly--datelast--tags-excludefoo,bar\--checks-exclude123456,123457--report-formattext--report-text-colorsReport grouping checks by product and for each product by client-facing vs internal endpoint (based on tags):uptime-reporting--servicepingdom--tokenXYZ--reportweekly--datelast--tags-grouping"productA,productB|client-facing,internal"\--report-formatjinja-report-jinja-templatehtml--report-filenamereport.htmlThe examples above are valid with any of the supported uptime services, by changing the--serviceparameter accordingly.SeeParameters,Tags Grouping,Template WritingandService-Specific Notesdocs for in-depth explanation.Understanding Tag Grouping is especially important for well-organized reports.DisclaimerThis is an open source tool released under GPLv3, in the hope it will be useful.It is not endorsed by Pingdom, UptimeRobot or any other organization.
Package: uptimerobotpy
UptimeRobotPyThis is a simple library to implement easy interaction with the UptimeRobot API.Getting StartedThe latest stable release is available from Pypi:pip install uptimerobotpyOtherwise you can install from git:pip install git+https://github.com/jpavlav/UptimeRobotPy.gitUsagefromuptimerobotpyimportUptimeRobotup_robot=UptimeRobot(api_key=UPTIMEROBOT_API_KEY)monitors=up_robot.get_monitors()formonitorinmonitors['monitors']:print(monitor)If no api_key is passed during instantiation, we try to handle this by creating a config file (~/.uptimerobot.ini) to read from:fromuptimerobotpyimportUptimeRobotup_robot=UptimeRobot()Enter UptimeRobot API key: XXXXXXXXXXXXXXXXThe config file.uptimerobot.ini(seeexample.uptimerobot.iniabove) is formatted as follows and can be created preemptively in your home directory if you wish:[UPTIMEROBOT]api_key=XXXXXXXXXXXXXXXXPrerequisitesPython3Built WithPython3- Beautiful language.AuthorsJustin Palmer-Urrverything-MeAcknowledgmentsKenneth Reitz ->setup- Thanks!Kamori ->Cool Guy- Thanks to you as well!
Package: uptimes
UptimesA small python3 package for uptimes.How to Install :Windowspython-mpipinstall-UuptimesLinuxpython3-mpip3install-UuptimesUsage :importuptimesimporttimetime.sleep(10)print(uptimes.uptimes())print(uptimes.raw_uptimes())Output:**0** days **0** hours **0** minutes **10** seconds
{"days":0,"hours":0,"minutes":0,"seconds":10}
Package: uptobox
uptoboxA simple API wrapper for Uptobox.Authors@ArticOffInstallationInstall uptobox with pip# Linux/macOSpython3-mpipinstall-Uuptobox# Windowspy-3-mpipinstall-UuptoboxUsage/ExamplesfromuptoboximportClientclient=Client(token="token")@client.listen()defon_connect():print(f"Connected to{client.user.name}")file=client.fetchFile("e9hrkzrylk58")print(file.name)client.login()FeedbackIf you have any feedback, please reach out to us onour discordLinksOfficial discord serverCodeSec Community
Package: uptrain-haystack
uptrain-haystackTable of Contentsuptrain-haystackInstallationTestingExamplesLicenseInstallationpip install uptrain-haystackFor more information about the UpTrain evaluation framework, please refer to theirdocumentation.Testinghatch run testExamplesYou can find a code example showing how to use the Evaluator under theexample/folder of this repo.Licenseuptrain-haystackis distributed under the terms of theApache-2.0license.
Package: uptycs-py
uptycs_pyUptycs API helper library (for Python 3)InstallationIf you already know how to install python packages, then you can install it via pip:You might need sudo on linux. if you want to install using pip, you can use following command:$ sudo pip install uptycs-pyUsageThis modules contains classes to interact with the Uptycs API using Python.Some commonly used classes include:
  UptApiAuth()     - Read an Uptycs API key file and create authorization header
  UptApiCall()     - Call an Uptycs API method
  UptAlertRule()   - Get or Create an alert rule
  UptAssets()      - Show/update assets registered in Uptycs, add/remove tags from assets
  UptEventRule()   - Get or Create an event rule
  UptLkpTable()    - Get or Create a lookup table (typically for whitelists/blacklists)
  UptQueryGlobal() - Run a query against global (flight recorder)
  UptQueryRt()     - Run a query against realtime
Package: upvest-investment-api
Upvest Investment APIThis Python package isNOTa fully fledged API client.So far, it implements the parts of theHTTP Message Signatures, draft version 15functionality which are required to interact with theUpvest Investment API.Next to a generic implementation, this is also provided as acustom authentication mechanismfortherequestsPython packagewhen you install this package with therequests-authextra enabled like so:pip install upvest-investment-api[requests-auth]For examples how to use this, please refer to Upvest'sPython code examples.Required dependencyThis Python package relies onthecryptographypackageto do the heavy lifting for HTTP Message Signatures.Optional dependencies / Package extrasThis Python package usesoptional dependenciesto give you control over which additional dependencies get installed when using it:The package extrarequests-authinstallstherequestspackagewhich is required to provide therequestscustom authentication mechanism mentioned above.The package extrafile-downloadinstallstherequestspackageandthePGPypackagewhich both are required to enable downloading files from the Upvest Investment API. See how to use it in thisMiFIR report file download code example.The package extraenv-settingsinstallstheenvironspackagewhich is used to load all settings and the access credentials for the Upvest Investment API from environment variables.You can specify multiple extras at the same time as a comma-separated list like so:pip install upvest-investment-api[requests-auth,env-settings,file-download], optionally pinning the version like so:pip install upvest-investment-api[requests-auth,env-settings,file-download]==0.0.1
Package: upwork
Upwork ScraperUpwork Scraper is a Python library for scraping upwork talent profiles.InstallationUse the package managerpipto install upwork scraper.pipinstallupworkUsagefromupworkimportScraper,Talent# initialize the scraperscraper=Scraper()# Scrape the first ten profilesscraper.scrape_upwork_profile()# Scrape the second ten profilesscraper.scrape_upwork_profile(page=1)# Scrape any profile that matches the name johnscraper.scrape_upwork_profile(name='john')# Scrape the first ten profiles that contain the name johnscraper.scrape_upwork_profile(page=1,name='john')# saves the first ten pages (100 profiles) to upwork_profiles.json filescraper.bulk_profiles()# saves the first ten pages (100 profiles) to profiles.json filescraper.bulk_profiles(file_name='profiles')# saves the first ten pages (200 profiles) to sample.json filescraper.bulk_profiles(max_pages=20,file_name='sample')NoteTherequirements.txtfile should list all Python libraries that this library depends on, and they will be installed using:pip install -r requirements.txtContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.LicenseMIT
Package: upy2
Measurements are precise only up to a particularuncertainty.
Such measurement results are thus calleduncertain quantities.  When
performing calculations with uncertain quantities, the uncertainties
of the results depend on the uncertainties of the operands involved.
The quantification of uncertainties resulting from a mathematical
operation involving uncertain operands is calleduncertainty
propagation.
From a programmer’s point of view, uncertainties might be associated
with the respective nominal values, such that the propagation of
uncertainties happens automatically, and existing algorithms can be
re-used with theuncertain quantitiesas arguments.
Here I am proposing a Python package to define uncertain operands, to
carry out calculations using such operandswith uncertainty
propagation, and to provide string representations of uncertain
quantities involved.
Complex numbers can be used to define uncertain quantities; for such
complex-valued uncertainties no net uncertainty can be calculated.
The objects holding uncertain values have array properties, though
scalar arrays can be used; elements of an uncertain array behave as if
they were uncertain quantities on their own.  When requesting a string
representation of an uncertain quantity, the typeset result depends on
the number of standard deviations to use and on the chosen precision,
given by the number of digits with respect to the uncertainty.
Furthermore, when typesetting multidimensional arrays with
uncertainty, the decimal fractions are aligned to improve readability
of the results.upyusesalgorithmic differentiation(also known asautomatic
differentation) to track uncertainties through the operations.
Uncertain values might be used in calculations together with other
uncertain values as well as with any numeric Python ornumpyobjects.  A range of mathematical functions is supported.upyprovides several syntactic conventions appropriate to the
subject.  For instance, defining uncertain quantities is possible by
writing:uvalue=nominal+-u(uncertainty)whereuis a function provided byupy.  Uncertain values
constructed in this way will be independent of each other with respect
to their uncertainties;upywill keep track of the correlations
arising from combination of uncertain quantities in mathematical
operations.  All functionality is suited both for use in the
interactive Python shell as well as in programs for numerical
analysis.
Package: upycc
UnityPython------------UnityPython is a Python implementation which runs everywhere through IL2CPP, making it a good option for modding games.UnityPython is based on CPython 3.10, but not fully compatible with CPython.Usage (CLI)------------1. runtime: Download the binaries from the release page, and unpack them to a directory in '$PATH'.2. compiler: 'pip install upycc' with a Python (>=3.8) distribution.3. create a project as follow, 'cd' into it, and run this project with 'upy .'- myupy_proj- main.pyfrom .libs.some_lib import lib_funcargs, kwargs = lib_func(1, 2, 3, a=1, b=2)print(args, kwargs)- libs- some_lib.pydef lib_func(*args, **kwargs):return args, kwargs- out (for compiler output)Usage (Unity Library)----------------------Under construction.IDE Support-----------------UnityPython has excellent IDE support based on VSCode Pylance:https://github.com/thautwarm/vscode-unitypython/tree/main/srcDevelopment--------------------Check out DEV.md in this project.