Saravanan666/pypi-org huggingface dataset:
Package: oscplotlib
oscplotlibUse Matplotlib in terminals that support the OSC 1337 image protocol.Example:import matplotlib.pyplot as plt
import oscplotlib as osc

plt.plot([1, 2, 3])
osc.show()

plt.figure(2)
plt.plot([3, 2, 1])

plt.figure(3)
plt.hist([1, 1, 2])

osc.show_all()
Package: osc-plugin-clone
osc cloneThis command creates a clone of an OBS project, copying all packages,
metadata and project configuration. If necessary, it updates the
metadata to match the new project name. For this to work correctly,
it assumes the project's name is<distro>:<release>:<component>:$ osc clone debian:jessie:main debian:stretch:mainosc forkThis command clones a forest of OBS projects corresponding to a single
distribution with multiple components. It copies projects, adjusting
their dependencies to match the new project names.For this to work correctly, it assumes the project names are<distro>:<release>:<component>:$ osc fork debian:jessie debian:stretchInstallationTo install osc-plugin-clone, type:./setup.py installAt the moment, installing to a user's home directory isn't supported.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 2 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 version 2
text for more details.You should have received a copy of the GNU General Public
License along with this package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA  02110-1301 USAAuthorsFor the list of contributors, see CONTRIBUTORS.
Package: os-cpu
OpenStack Boilerplate contains all the boilerplate you need to create an OpenStack package.Please fill here a long description which must be at least 3 lines wrapped on
80 cols, so that distribution package maintainers can use it in their packages.
Note that this is a hard requirement.Free software: Apache licenseDocumentation:http://docs.openstack.org/developer/os-cpuSource:http://git.openstack.org/cgit/openstack/os-cpuBugs:http://bugs.launchpad.net/os-cpuFeaturesTODO
Package: oscr
OSCR(Open Source Caretaker for Reddit)This is an unofficial program and is not officially endorsed by the Transcribers of Reddit nor the Grafeas Group; they are in no way involved with this program and are not liable for any matters relating to it. This is developed unofficially, in my capacity as a volunteer, NOT a moderator.WARNING: use of this bot can cause the ToR-Stats Discord bot to freeze, if you have the bad luck to delete a comment while it is being processed.Nicknamed Oscar, this program removes blacklisted comments after a period of time. It is designed with r/TranscribersOfReddit transcribers in mind; specifically those who are tired of these comments clogging up their profiles, thus the contents of the default blacklist.OSCR's documentation is hosted at readthedocs.For emergency contact, I'm reachable throughmurdo@maclachlans.org.ukandmurdomaclachlan@gmail.com(the first address is preferred). You can also open an issue on GitHub if needed.
Package: osc.recipe.sysegg
This buildout recipe allows you to reuse system wide eggs in your buildout.
If SysEggs finds the requested eggs in you pythons site-packages directory
(or PYTHONPATH) it will create a.egg-linkto it. Other packages that
require these eggs will not fetch them.If force-sysegg is set to any value, the buildout will stop when any required
sysegg is not installed.ExampleIf you have an application that depends on the python image library (PIL) and
you want to use the library that is already installed (e.g. with apt-get on Debian),
you can use a buildout.cfg like this:[buildout]

parts =
    sysegg
    otherpart

[sysegg]
recipe = osc.recipe.sysegg
force-sysegg =
eggs =
  PIL

[otherpart]
recipe = zc.recipe.egg
egg = egg_that_depends_on_PILYou should list sysegg before all other parts.Changelog0.1.2 (2010-03-25)accept eggs definition to start with a blank lineadd force-sysegg option. if set to any value, abort if
any required egg is not installed0.1.1 (2009-05-20)use loggingfixed type in example0.1 (2009-05-20)initial release
Package: osc-recorder
OSC-recorderPython scripts to capture and replay OSC packets. Built on top of pyliblo.Documentation:https://osc-recorder.readthedocs.io.InstallationDownload and installliblofirst
* For Mac OSXbrew install libloInstall cython:pip install cythonInstall pyliblo:pip install pylibloIf it doesn’t work, follow instructions here:pylibloIf you want to install from source.Clone the repo and runpip install .from the folder.TODOFix sphinx autodoc for modulesCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.5 (2019-12-19)Updated docs and requirementsAdded script osc_to_csvSupport for numpy array as timeseries0.1.2 (2019-07-04)First release on PyPI.Read the docs
Package: oscsipm
OscSiPMInstruments to make a photocounting statistics from histograms and raw oscillograms (made by LeCroy oscilloscope or old Tektronix oscilloscope) of SiPM signal. One can correct the baseline of the oscillogram and compensate a crosstalk noise in the photocounting statistics.InstallationOscSiPM is available at pip. It may be installed withpipinstalloscsipmHow to use?Import necessary modules:fromoscsipmimportPulsesHistMaker,QStatisticsMaker,find_pcrosstalk,compensateImport an experimental datadatadir="C:\\expdata\\"parser=PulsesHistMaker(datadir,vendor='tek',parallel=True,parallel_jobs=-2)parser.read()Make a histogramhistfile="C:\\histograms\\test.txt"parser.multi_pulse_histogram(frequency=1e6,time_window=10e-9)parser.save_hist(histfile)Make a photocounting statisticshistfile="C:\\histograms\\test.txt"qmaker=QStatisticsMaker(histfile,amplitude_discrete=0.021,method='manual')Q=qmaker.QDetermine a crosstalk probability (if an optical signal is coherent) and compensate itPDE=0.4pcrosstalk,res=find_pcrosstalk(Q,PDE,N=50)Q1=compensate(Q,pcrosstalk)RequirementsSee requirements.txt
Package: oscslip-proxy
oscslip-proxyRun an OSC server for bidirectional SLIP encoded OSC communication over a serial transport.Requirementspython-oscpyserialsliplibpip install -r requirements.txtUsage$ ./oscslip-proxy.py -h

usage: oscslip-proxy [-h] [-p OSC_PORT] [-s SERIAL_PORT] [-b BAUDRATE] [-t TIMEOUT] [-v] [receiver_ports ...]

positional arguments:
  receiver_ports        osc receivers (57120)

options:
  -h, --help            show this help message and exit
  -p OSC_PORT, --osc_port OSC_PORT
                        osc port listening for outbound messages
  -s SERIAL_PORT, --serial_port SERIAL_PORT
                        serial port
  -b BAUDRATE, --baudrate BAUDRATE
                        baudrate
  -t TIMEOUT, --timeout TIMEOUT
                        timeout
  -v, --verbose         print messages
Package: osc-tiny
OSC TinyThis project aims to provide a minimalistic and transparent client for accessing
theOpenBuildServiceAPI.UsageThis is a very basic example:fromosctinyimportOscosc=Osc(url="https://api.opensuse.org",username="foobar",password="helloworld",)# This returns an LXML objectosc.requests.get(request_id=1)# This returns an LXML objectosc.search.request(xpath="state/@name='new'")For more documentation seehttps://osc-tiny.readthedocs.io/en/latest/ContributingAny contributions are welcome.Linkshttps://osc-tiny.readthedocs.io/en/latest/https://openbuildservice.org/https://build.opensuse.org/apidocs/index
Package: osc-transformers
osc-transformers以配置文件的方式构建transformer模型当前使用transformer类模型最流行的方式是使用transformers,这个库的特点是开箱即用,使用方便,但在构建transformer类模型上面不够灵活,因此本项目旨在提供一种更优雅、更灵活构建transformer类模型的方式.安装首先安装pytorch: osc-transformers需要torch>=2.0pipinstallosc-transformers
Package: osc-trino-acl-dsl
osc-trino-acl-dslA declarative format for configuring Trino access controlTo operationalize this code you need Trino adminstrator privilegesexamples:Converting Trino ACL DSL to a rules.json# install package using pipenv, pip or similar tools$pipenvinstallosc-trino-acl-dsl# the package command `trino-dsl-to-rules` will load the given yaml or json file# and write the resulting 'rules.json' file to standard output# dsl-example-1.yaml is in the 'examples' directory of this repository$pipenvruntrino-dsl-to-rulesdsl-example-1.yaml>rules.json# rules.json is trino file-based access control rules file$headrules.json{"catalogs":[{"group":"admins","allow":"all"},{"group":".*","catalog":"dev","allow":"all"Using pre-commit checksFor more information on pre-commit checks, seehereHere is an example entry for.pre-commit-config.yamlFor more info seehererepos:-repo:https://github.com/os-climate/osc-trino-acl-dslrev:v0.3.1hooks:# a pre-commit check to verify that an ACL DSL yaml file is in sync with rules.json file-id:trino-acl-dsl-checkbuilding and testingiterative dev/test for pre-commit checkscheck out this repositorymake some change to precommit checks you want to testin a test repository, make an edit you expect your precommit check to operate on, thengit addthis edit (i.e. stage it for commit) but do NOT commit it, so the precommit check sees it and properly provides staged files to the argument list.runpre-commit try-repo /path/to/osc-trino-acl-dsl --verbose(seehere)examine the output of your precommit check to see if it did what you wantpublish new version to pypiupdate all occurrences of__version__(trygit grep version)python3 setup.py cleanorgit clean -fdxpython3 setup.py sdisttwine check dist/*twine upload dist/*push latest to repocreate new release tag on githubupload test or release candidate:twine upload --repository-urlhttps://test.pypi.org/legacy/dist/*python packaging resourceshttps://packaging.python.org/https://packaging.python.org/tutorials/packaging-projects/https://realpython.com/pypi-publish-python-package/
Package: osdbinfos
[![Latest Version](https://pypip.in/version/osdbinfos/badge.svg)](https://pypi.python.org/pypi/osdbinfos/)[![Supported Python versions](https://pypip.in/py_versions/osdbinfos/badge.svg)](https://pypi.python.org/pypi/osdbinfos/)[![Wheel Status](https://pypip.in/wheel/osdbinfos/badge.svg)](https://pypi.python.org/pypi/osdbinfos/)[![License](https://pypip.in/license/osdbinfos/badge.svg)](https://pypi.python.org/pypi/osdbinfos/)# Aboutosdbinfos let you identify a local video file based on its content and the help of the [opensubtitles](http://www.opensubtitles.org/) [API](trac.opensubtitles.org/projects/opensubtitles/wiki/XMLRPC)This module just provide video file identification; It does not download any subtitle;# Example usage :## As a modulefrom osdbinfos import OpenSutitlespath = "Pioneer One/Pioneer.One.S01E01.REDUX.720p.x264-VODO/Pioneer.One.S01E01.REDUX.720p.x264-VODO.mkv"osdb = OpenSutitles()print(osdb.get_files_infos([path, ])){'Pioneer One/Pioneer.One.S01E01.REDUX.720p.x264-VODO/Pioneer.One.S01E01.REDUX.720p.x264-VODO.mkv': {u'kind': 'episode', u'movie_hash': 'e1c675becea90705', u'serie_title': u'Pioneer One', u'imdb_id': 'tt1834084', u'episode_title': u'Earthfall', u'episode_number': 1, u'season_number': 1}}## From CLI :~: osdbinfos-example "Pioneer One/Pioneer.One.S01E02.720p.x264-VODO/Pioneer.One.S01E02.720p.x264-VODO.mkv" | python -m json.tool{"Pioneer One/Pioneer.One.S01E02.720p.x264-VODO/Pioneer.One.S01E02.720p.x264-VODO.mkv": {"episode_number": 2,"episode_title": "The Man from Mars","imdb_id": "tt1835555","kind": "episode","movie_hash": "19b48b9a2f464caa","season_number": 1,"serie_title": "Pioneer One"}}In this example, files used are the first and second episode of "Pioneer One" freely available on [Vodo.net](http://vodo.net/joshbernhard/pioneerone/)
Package: os_diskconfig_python_novaclient_ext
Disk Config extension for python-novaclient.Installpip install os_diskconfig_python_novaclient_extUsageThis extension will automatically be detected by novaclient and will provide
the –disk-config option forboot,zone-boot,rebuild, andresizecommands.NoteThis is theclientextension, for disk-config to work, the Nova service must
also be using theserver-sideextension as well.
Package: osdk-manager
Operator SDK ManagerA python wrapper around theOperator SDKandOperator Package Managerto make it easier to build CI workflows around release and versioning of an operator, operator bundle, and operator registry.DownloadThis package is published on PyPi asosdk-manager. You can install it withpip install osdk-manager.UseFor detailed instructions on use, please refer to the embedded documentation in the CLI. Once installed, you can runosdk-manager --helpto see a list of commands.
Package: os-docid
os-docidDocID for fun.Install$ pip install os-docidUsageAPI>>> from os_docid import docid

>>> docid('http://www.google.com/')
1d5920f4b44b27a8-ed646a3334ca891f-ff90821feeb2b02a33a6f9fc8e5f3fcd

>>> docid('1d5920f4b44b27a8-ed646a3334ca891f-ff90821feeb2b02a33a6f9fc8e5f3fcd')
1d5920f4b44b27a8-ed646a3334ca891f-ff90821feeb2b02a33a6f9fc8e5f3fcd

>>> docid('1d5920f4b44b27a8ed646a3334ca891fff90821feeb2b02a33a6f9fc8e5f3fcd')
1d5920f4b44b27a8-ed646a3334ca891f-ff90821feeb2b02a33a6f9fc8e5f3fcd

>>> docid('abc')  
NotImplementedError: Not supported data formatCommand line$ os-docid -h
usage: os-docid [-h] [-v] [-f FILES [FILES ...]]

Generate DocID.

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -f FILES [FILES ...], --files FILES [FILES ...]
                        files to be process (default: stdin)Unit Tests$ toxLicenseMIT licensed.
Package: os-downpour
downpour exports tenant data from an OpenStack cloud to create a set
of Ansible playbooks for importing the data into another cloud.Installing and UsingThe project is in a very very early prototyping stage.downpour usesos-client-configfor settings related to accessing
the cloud. Fill in yourclouds.yamlor use the environment
variables or command line arguments provided.Withtoxinstalled, experiment via:$ tox -e venv -- downpourFree software: Apache licenseSource:http://git.openstack.org/cgit/openstack/downpourDocumentation:http://downpour.readthedocs.io/en/latest/
Package: osdp
OSDP Python is a python framework implementation of the Open Supervised Device Protocol (OSDP). This protocol has been adopted by the Security Industry Association(SIA) to standardize communication to access control hardware. Further information can be found athttp://www.osdp-connect.com.This project is highly inspired by @bytedreamer’sOSDP.Net <https://github.com/bytedreamer/OSDP.Net>LicenseApacheQuick StartInstallationTo install OSDP, usepip3orpipenv:$pip3install-UosdpThis module depends onpycryptodomepyserialExample Usage>>>fromosdpimport*>>>conn=SerialPortOsdpConnection(port='/dev/tty.wchusbserial1420',baud_rate=9600)>>>cp=ControlPanel()>>>bus_id=cp.start_connection(conn)>>>cp.add_device(connection_id=bus_id,address=0x7F,use_crc=True,use_secure_channel=False)>>>id_report=cp.id_report(connection_id=bus_id,address=0x7F)>>>device_capabilities=cp.device_capabilities(connection_id=bus_id,address=0x7F)>>>local_status=cp.local_status(connection_id=bus_id,address=0x7F)>>>input_status=cp.input_status(connection_id=bus_id,address=0x7F)>>>output_status=cp.output_status(connection_id=bus_id,address=0x7F)>>>cp.shutdown()
Package: os-dpm
OpenStack Shared library for IBM z Systems PR/SM hypervisor in DPM modeThe IBM z Systems (and IBM LinuxONE) “Dynamic Partition Manager” (DPM) allows
managing the firmware-based logical partition hypervisor (PR/SM) with the
dynamic capabilities known from software-based hypervisors. This project
holds common files between nova-dpm [1] and networking-dpm [2].[1]https://github.com/openstack/nova-dpm[2]https://github.com/openstack/networking-dpmFree software: Apache licenseDocumentation: TBDSource:http://git.openstack.org/cgit/openstack/os-dpmBugs:http://bugs.launchpad.net/os-dpmFeaturesTODO
Package: osd-slides
osd-slidesosd-slidesis a tool to download and search Prof. Paine's slides through terminal or with one command or as library.OverviewOpen Software Development classes slides are hard to turn it to a pdf and download and search for keywords. This tool will help students to download slides and search for keywords in slides easily.This tool can be used as a library or run from command line.FeaturesRead what slides are availableDownload osd slides.Search for keywords in the slides.Installpipinstallosd-slidesDependenciesUsesDecktapeTo install decktape, run in osd-slides.$npminstalldecktapeYou will need node.js on your computer for above to run.
Check if node.js in your computer by running this. And then check the version of npm.
You might want to restart your terminal/powershell after installing node.js.$Node--version
$npm--versionHow to useUsers can download files by calling searchAndDownloadPdf().fromosd-slides.osd_slides.mainimportDownloaderdownloader=Downloader()downloader.searchAndDownloadPdf()Users can view what files can be downloaded by calling showDownloadablePdf()fromosd-slides.osd_slides.mainimportDownloaderdownloader=Downloader()downloader.showDownloadablePdf()Users can search for keywords in slides and open the exact slide the keyword exists.fromosd-slides.osd_slides.searchimportSearchurl="https://www.cs.columbia.edu/~paine/4995/lectures/"search=Search(url,["22-legal.html","21-econ.html"])search.lookup("Legal")search.open(1)ExampleAs said above users can search for keywords in slides and open the exact slide the keyword exists.fromosd-slides.osd_slides.searchimportSearchurl="https://www.cs.columbia.edu/~paine/4995/lectures/"search=Search(url,["22-legal.html","21-econ.html"])search.lookup("Legal")search.open(1)or running the project from command line like this$pythonosd-slides/osd_slides/__main__.pysearch
Whichslideswouldyouliketosearchin?Pleaseprovideslideswithspacesbetweenthem:>>22-legal.html21-econ.html
Slidesreadingcompleted
Whatkeywordwouldyouliketolookup:>>Legal
Slidesthatcanbefoundare[(1,0,'22-legal.html'),(1,1,'22-legal.html'),(2,0,'22-legal.html')]Whichonewouldyouliketoopen?pleaseprovidethenumber.
>>2will result in the following:
Package: osducli
OSDU Command Line InterfaceCommand-line interface for interacting with OSDU.UsageThe first time you use the CLI you should run the configure command to provide connection information and other important configuration.osduconfigupdateOnce configured use the CLI as shown below. Omitting a command will display a list of available options.osdu<command>For more information, specify the-hflag:osdu-hosdu<command>-hChange Log0.0.38msal non interactive auth addedupdated imported packagesSupport python 3.11, drop support for python 3.80.0.37fix for crash when workflow status result didn’t contain an endTimeStampfix dataload ingest –batch option should work as flag and with specified batch size0.0.36Added entitlements members groups command0.0.35Split storage get to storage list (for id’s) and storage get (for records)storage get –id option added0.0.34Bump sdk version to 0.0.12Added legal add and delete commandsFix entitlements add group errorAdd description option to entitlements add group0.0.33fix storage delete returns 204 error when deleted successfully0.0.32dataload ingest added options for passing legal tags and aclcorrect CRS Converter Service naming0.0.31Added update check when running ‘osdu’ or ‘osdu version’0.0.30API documentation pages are shown in info commandsworkflow get, runs and status commands0.0.29storage commands0.0.28search kind commandsearch id supports limitsearch query supports a specific queryglobal query option renamed to filter0.0.27file download and info commands0.0.26crs transforms command0.0.25test against python 3.10 in addition to 3.8, 3.9crs commands0.0.24checkrefs authority, acl and legal parameters for generated files0.0.23osdu version shows service versionsadded info subcommand to entitlements, legal, schema, search, unit, workflow.0.0.22search query supports limit0.0.21dataload verify supports reference-data {{NAMESPACE}} replacement0.0.20dataload support sequence file for ordered loading (ref. standard reference-data)0.0.19schema add –overwrite-existing optionmerge dataload checkrefs code (wip)user friendly output modeimproved dataload helper textsupport for python 3.100.0.18split global options in help text for claritysearch table output fields changed0.0.17change osducli references to osdu0.0.16fix ingestion batch sizes0.0.15entitlements members add- added role optionentitlements members removecommand added0.0.14callable as osdu instead of osduclisearch query & search id commandsdataload ingest –skip-existing optionAdd legal service and list tags0.0.13workflow register / unregister commandsdataload ingest - wait and simulate options0.0.12Fix config permissions0.0.11schema commandsdataload batching imporvements0.0.10refeactor code to use click instead of knack0.0.9entitlements commands0.0.8use osdu-sdk 0.0.20.0.7Uses osdu-sdk for backend code0.0.6Refactor of connection code0.0.3Bulk upload commands (file upload still missing)Interactive loginConfig improvementsAdditional testing0.0.2Cleanup and diverse fixes0.0.1Initial release.
Package: osdu-client
Introductionosdu-clientis a python library implementing a simple OSDU client with an abstracted-out authorization backend.Instalationpip install osdu-clientExampleOSDU API client can be adjusted to specific OSDU deployment by defining auth backend according toAuthBackendInterfacemethods.fromtypingimportDictfromosdu_clientimportOSDUAPIfromosdu_client.authimportAuthBackendInterfaceclassAuthBackend(AuthBackendInterface):def__init__(self,headers,base_url)->None:self._headers=headersself._base_url=base_urldefget_headers(self)->Dict:returnself._headersdefget_base_url(self)->str:returnself._osdu_base_urldefget_sd_connection_params(self,log_level:int=None)->Dict:return{}auth_backend=AuthBackend(headers={"Authorization":"Bearer XYZ"},base_url="https://exmaple.com")storage_client=OSDUAPI.client('storage',auth_backend=auth_backend)response=storage_client.get_record_versions(id="123")
Package: osdu-sdk
# OSDU SDK for PythonThis is the OSDU SDK for Python (work in progress).UsageNote: This is currently a WIP so will be subject to breaking changes.Change Log0.0.14Fix for msal non-interactive authentication0.0.13Add support for non-interactive authentication0.0.12Add entitlements group description parameter0.0.11All client action functions can optional expected response status codes0.0.10Delete doesn’t check status codes (consistency with other functions)Put will pass list objects as json0.0.9Search query_by_kind functionSearch query_by_id supports limitSearch query supports a specific query0.0.8search query supports limit0.0.7client put & put_returning_json functions0.0.6entitlements add_member_to_group role parameteradded entitlements remove_member_from_group function0.0.5Search query function0.0.4Search query_by_id function0.0.3Reusable client baseEntitlements client0.0.2Add basic search client0.0.1Initial release.
Package: osearch
Osearch - The tool for finding information in nested dicts/listsWhen you are working with imported JSON in python, it's often hard to get an overview of the datastructure. I createdosearchto help you with this. It allows you to search for strings or integers in huge nested structures.
Here is an example of a messy test structure:tstObj = [
    1,
    2,
    3,
    "listval2",
    "listval5",
    {
        "dict1": "dictval1",
        "dict2": "dictval2",
        "dict3": 3,
        "dict4": ["item1", "A long string here", 1000, "another string"],
        100: 222,
    },
]first we import theosearchlib:from osearch import osearchNow we can do some funny searches for strings containing the part "val":>> osearch(tstObj, "val", method="contains", prettyprint=True)
[3]='listval2'
[4]='listval5'
[5]['dict1']='dictval1'
[5]['dict2']='dictval2'Or we could search for an integer:>> osearch(tstObj, 100, prettyprint=True)
[5][100]Or maybe even a regular expression search that is non-case sensitive. Here we search for all occurances of keys/values that ends in val1 or val5:>> osearch(tstObj, r"val[15]$", method="regex-case", prettyprint=True)
[4]='listval5'
[5]['dict1']='dictval1'Have fun/ Alex Skov Jensen