Saravanan666/pypi-org huggingface dataset:
Package: obonetx
obonetx: an intuitive way to use obonet for OBO-formatted ontologiesObonetX is built on top ofobonetand provides an intuitive way to use obo-formatted ontologies. Obonet parses an obo ontology into anetworkxgraph and expects users to call networkx functions to access ontology resources. While this approach takes full advantages of the power of networkx, it is not easy for users who are not familiar with networkx and not intuitive to manage an ontology. This package provides a wrapper of networkx graph models as an Ontology class and simplies the way to use an ontology. Many ideas are fromphenol, a java package for parsing and accessing ontologies.UsageParse and use the Human Phenotype Ontologyfromobonetx.ontologyimportOntology# use an url or file pathhpo_url='http://purl.obolibrary.org/obo/hp.obo'hpo=Ontology(hpo_url)# show root idhpo.get_root_id()# show all terms (term id as a set)hpo.terms()# show ancestor terms for HP:3000072 Abnormal levator palpebrae superioris morphology, excluding itselfhpo.ancestors(term_id='HP:3000072',include_self=False)# show descendants of HP:0008050 Abnormality of the palpebral fissures, excluding itselfhpo.descendants(term_id='HP:0008050',include_self=False)# show parents of HP:3000072 Abnormal levator palpebrae superioris morphology, excluding itselfhpo.parents(term_id='HP:3000072',include_self=False)# show children of HP:3000072 Abnormal levator palpebrae superioris morphology, excluding itselfhpo.children(term_id='HP:3000072',include_self=False)# check if there is a path between two termshpo.exists_path(src_id='HP:3000072',dest_id='HP:0000492')# check if two terms are siblingshpo.terms_are_siblings(t1='HP:3000072',t2='HP:0000492')# retrieve a map from term_id to term_labelhpo.term_id_2_label_map()# retrieve the underlying networkx graph modelhpo.nx_graph()ContributingWe welcome feature suggestions and community contributions.InstallationInstall from pypipipinstallobonetx
Package: oborpc
OBORPCDescriptionAn easy to build RPC based on Object Oriented Programming. Build your RPC in seconds. Built-in setup for FastAPI and Flask.InstallationpipinstalloborpcBasic ExamplesCreatecalculator.pyas your basefrom oborpc.base import meta
from oborpc.decorator import procedure

class Calculator(meta.OBORBase):
    @procedure
    def add(self, a: int, b: int):
        pass

    @procedure
    def subtract(self, a: int, b: int):
        pass

class CalculatorServer(Calculator):
    def add(self, a: int, b: int):
        print(f"adding {a} and {b}")
        return a+b

    def subtract(self, a: int, b: int):
        print(f"subtracting {a} and {b}")
        return a - bCreate your App, below we give 2 examples how to do it with Flask or FastAPIusing Flaskfrom oborpc.builder import FlaskServerBuilder
from calculator import CalculatorServer
from flask import Flask

calculator_server = CalculatorServer()

server_builder = FlaskServerBuilder("http://localhost", 9000)
calculator_blueprint = server_builder.build_blueprint_from_instance(
    calculator_server, "calculator", "calculator"
)

app = Flask(__name__)
app.register_blueprint(calculator_blueprint)

app.run(port=8000)using FastAPIfrom oborpc.builder import FastAPIServerBuilder
from calculator import CalculatorServer

calculator_server = CalculatorServer()

server_builder = FastAPIServerBuilder("http://localhost", 8000)
calculator_router = server_builder.build_router_from_instance(
    calculator_server, prefix=""
)


from fastapi import FastAPI

app = FastAPI()
app.include_router(calculator_router)Create client, you can create a simpleclient.pyor a client applicationsimpleclient.pyfrom oborpc.builder import ClientBuilder
from calculator import Calculator

calculator = Calculator()

client_builder = ClientBuilder("http://localhost", 8000)
client_builder.build_client_rpc(calculator)

print(calculator.add(1,2))client applicationfrom calculator import Calculator
from fastapi import FastAPI
from oborpc.builder import ClientBuilder, FastAPIServerBuilder

## RPC setup
calculator = Calculator()

clientBuilder = ClientBuilder("http://localhost", 9000)
clientBuilder.build_client_rpc(calculator)

## application
app = FastAPI()

@app.get("/calculator/add")
def get_add_results(a: float, b: float):
    return calculator.add(a, b)Your RPC is ready to go!
Package: obpcreator
InstallationInstall it by cloning the git reprository or from PyPi using:pipinstallobpcreatorExample from pyvista cubefromobpcreator.simple_inputimportSimpleBuild
importpyvistaaspvcube1=pv.Cube(center=(15,-15,5),x_length=10,y_length=10,z_length=10)cube2=pv.Cube(center=(15,0,5),x_length=10,y_length=10,z_length=10)cube3=pv.Cube(center=(15,15,5),x_length=10,y_length=10,z_length=10)cube4=pv.Cube(center=(0,-15,5),x_length=10,y_length=10,z_length=10)cube5=pv.Cube(center=(0,0,5),x_length=10,y_length=10,z_length=10)cube6=pv.Cube(center=(0,15,5),x_length=10,y_length=10,z_length=10)cube7=pv.Cube(center=(-15,-15,5),x_length=10,y_length=10,z_length=10)cube8=pv.Cube(center=(-15,0,5),x_length=10,y_length=10,z_length=10)cube9=pv.Cube(center=(-15,15,5),x_length=10,y_length=10,z_length=10)build=SimpleBuild(meshes=[cube1,cube2,cube3,cube4,cube5,cube6,cube7],spot_size=[1],beam_power=[660],scan_speed=[2031000],dwell_time=[515000],infill_strategy=["line_concentric","line_concentric","line_spiral","line_spiral","line_snake","point_random","point_ordered"],infill_settings=[{'direction':'inward'},{'direction':'outward'},{'direction':'inward'},{'direction':'outward'},{},{},{'x_jump':2,'y_jump':2}],infill_point_distance=[0.1],layer_height=0.1,rotation_angle=[0],)build.prepare_build(r"C:\Users\antwi87\Downloads\slicerTest2")To packageDelete old builds in the \dist folderUpdate the version in the setup.cfg filerun "python -m build"upload to pip with "twine upload dist/*"
Package: obpds
Open Band Parameters Device Simulator (OBPDS)A free, open-source technology computer aided design software for simulating
semiconductor structures and devices.OBPDS currently provides 1D electrostatic simulation of
III-V compound semiconductor heterostructures, similar to Prof. William
Frensley’sBandprof. Materials parameters are provided by theOpen Band Parameterssister project.If you would like to try OBPDS before installing it,
check out theinteractive tutorial.Thesource codeis graciously hosted by GitHub.InstallationIn order to use OBPDS, you must having a workingPythondistribution
installed. Python 3 support has not yet been tested, so Python 2.7 is
suggested.From PyPiThis is the recommended method for installing OBPDS.PyPiis the python
package index, which contains many python packages that can be easily installed
with a single command. To install OBPDS fromPyPi, open up a command
prompt and run the following command:pip install obpdsFrom SourceIn order to install OBPDS from source, you must fist install the
following prerequisite packages:NumpyScipyMatplotlibOpenBandParamsOnce these are installed, download the latest release.zipor.tar.gzsource package from thegithub releasespage, extract its contents, and runpython setup.py installfrom within the extracted directory.DocumentationInteractivedocumentationis hosted through mybinder.org.
If you have difficulty accessing the interactive version,
a static version is availablehere.
Package: obplib
OBPlib-PythonPython library to generate OBP data for metal 3d printers.Minimum exampleCreate two points and a set of beam parameters. Create a line with these params and a speed. Write as binary and textual OBP data to files.import obplib as obp

a = obp.Point(1,1)
b = obp.Point(2,2)

bp = obp.Beamparameters(1,1)

line = obp.Line(a,b,1,bp)

obp.write_obpj([line], "test.obpj")
obp.write_obp([line], "test.obp")OBP-compiler (obpc)This package contains the obpc tool that can convert back and forth between binary and textual OBP.ViewerUsage:usage: obpviewer.py [-h] [--slice-size SLICE_SIZE] [--index INDEX] obp_file

Use the mouse or keyboard to navigate.

supported objects:
  Line, AcceleratingLine, Curve, AcceleratingCurve,
  Restore and SyncPoint.

not supported:
  TimedPoints, Metadata and vendor_setup.

keyboard shortcuts:

  right        step forward
  shift+right  step forward 10 steps
  ctrl+right   step forward 100 steps
  alt+right    step forward 1000 steps

  left         step backward
  shift+left   step backward 10 steps
  ctrl+left    step backward 100 steps
  alt+left     step backward 1000 steps

  p            same as right
  n            same as left

  a            jump to start of file
  e            jump to end of file

  s            jump to spot size change
  b            jump to beam power change
  r            jump to restore point

  0-9          jump to sync point change (digit specifies
               sync point: 1st, 2nd, ..., etc)

positional arguments:
  obp_file              Path to obp file.

optional arguments:
  -h, --help            show this help message and exit
  --slice-size SLICE_SIZE
                        Initial slice size (default: 100).
  --index INDEX         Initial index (default: 100).
Package: obpy
<div align="center"><img src="misc/obpy.png" alt="obpy_logo"/></div><br/><div align="center"><a href="https://travis-ci.org/OpenBikes/obpy"><img alt="Build Status" src="https://travis-ci.org/OpenBikes/obpy.svg?branch=master"></a><a href="https://coveralls.io/github/OpenBikes/obpy?branch=master"><img alt="Coverage Status" src="https://coveralls.io/repos/github/OpenBikes/obpy/badge.svg?branch=master"></a><a href="https://opensource.org/licenses/MIT"><img src="http://img.shields.io/:license-mit-ff69b4.svg?style=flat-square" alt="mit"/></a></div># `obpy`:snake: Python SDK for OpenBikes API## Available functions| **Function**              | **API Endpoint**                                          | **Description**                                                   ||---------------------------|-----------------------------------------------------------|-------------------------------------------------------------------|| `get_latest_geojson`    	| `GET /geojson/<string:city_slug>`                        		| Return the latest geojson file of a city.                      	|| `get_countries`         	| `GET /countries`                                         		| Return the list of countries.                                  	|| `get_metrics`           	| `GET /metrics`                                           		| Returns latest metrics.                                        	|| `get_cities`            	| `GET /cities`                                            		| Return the list of cities.                                     	|| `get_stations`          	| `GET /stations`                                          		| Return the list of stations.                                   	|| `get_providers`         	| `GET /providers`                                         		| Return the list of providers                                   	|| `get_updates`           	| `GET /updates`                                           		| Return the list of latest updates for each city.               	|| `get_forecast`          	| `POST /forecast`                                         		| Return a forecast for a station at a given time.               	|| `get_filtered_stations` 	| `POST /filtered_stations`                                		| Return filtered stations.                                      	|| `get_closest_city`      	| `GET /closest_city/<float:latitude>/<float:longitude>`    	| Return the closest city for a given latitude and longitude.    	|| `get_closest_station`   	| `GET /closest_station/<float:latitude>/<float:longitude>` 	| Return the closest station for a given latitude and longitude. 	|
Package: obraz
ObrazObraz(Russian: Образ). IPA: /ˈobrəs/n.Image, the result of applying a function to an argumentA static blog-aware site generator in Python mostly compatible with JekyllWhy?There are many static site generators. Why choose Obraz?Written inPythonSingle source file less than800lines of codeMostlycompatiblewith the popular JekyllDocumentationVisit theObraz homepagefor more info.
Package: obrewin
Obrewin FrameworkA quantitative trading framework made for indie trading.User GuideDependenciesPython 3.11+Rust 1.72+InstallationpipinstallobrewinDeveloper GuideMain development is going under WSL 2 Ubuntu 22.04 LTS.Construct Python environmentMake your Python virtual environment, then install dependencies by following.pipinstall-rrequirements-dev.txtBuild the binary files for Python codeThis project usesmaturinto integrate the Rust and Python codes.maturindevelopConfigurepre-commitpre-commitinstall
Package: obris
Obris CLIThe Obris CLI is used to manage Obris apps from the command line.
It is built usingclickas the underlying cli framework.Learn more about Obris @obris.io.Use ourquickstart guideto start building apps.OverviewThis project aims to make managing your infrastructure independent from the cloud it's deployed on.  We want developers
to be able to leverage the tools they need and not have to make compromises when choosing between a scoped, managed
PaaS offering or a customizable, terse IaaS offering.InstallingpipinstallobrisUsingSetupCreate an API token within yourObris accountAddexport OBRIS_TOKEN=<YOUR-GENERATED-TOKEN>to your~/.zshrcor~/.bashrcfileCommandsobris applicationobris certificateobris credentialobris env-varobris processobris repoobris webserverDevelopingInstall Dependenciespyenvinstall3.12.0
pyenvvirtualenv3.12.0obris-cli

pyenvlocalobris-cli
pipinstall-rrequirements.txtConfigure ExecutableEntry PointStart running Obris commands locally!python-mobriscli<command>ContributingBranch GuidelinesPull Request Guidelines
Package: obs3dian
obs3dianEasy image controller for obsidian. Change internal file links to external S3 links.
Obs3dian converts local image file path to external url by uploading file in S3.Installation$pipinstallobs3dianRequirementspython > 3.10AWS accounts with permissions tocreate bucketput imageset bucket publicCommands$obs3dianconfigConfig file is not founded... Input your configurationAWS Profile Name [your aws profile]:S3 bucket Name [your bucket name]:Output Path [your ouput path]:Image Folder Path [your image path]:$obs3dianapplyConnected to AWS S3Bucket obs3dian is createdCreate Output Folder in ./ouput$obs3dianrun[yourmarkdownpath(fileordirectory)]Processing  [############################--------]   78%Finished    [README.md]Processing  [#############################-------]   82%Finished    [CONTRIBUTING.md]Processing  [###############################-----]   86%Finished    [LINKS.md]Processing  [################################----]   91%Finished    [SUPPORTED_PLATFORMS.md]Processing  [##################################--]   95%Finished    [ISSUE_TEMPLATE.md]Processing  [####################################]  100%Total converts: 23 obs3dian is successfully finishedYou can get more info by --help option$obs3dian--helpInfoObs3dian converts all *.md files contain input path.If given path is dir then dir/.md, dir/subdir/.md is all converted.Created Bucket is public read.run command automatically executes apply before run
Package: obsarray
# obsarray: Measurement uncertainty handling in Python[![Build Status](https://app.travis-ci.com/comet-toolkit/obsarray.svg?branch=main)](https://app.travis-ci.com/comet-toolkit/obsarray)
[![codecov](https://codecov.io/gh/comet-toolkit/obsarray/branch/main/graph/badge.svg?token=PZTGG03VQY)](https://codecov.io/gh/comet-toolkit/obsarray)
[![Documentation Status](https://readthedocs.org/projects/obsarray/badge/?version=latest)](https://obsarray.readthedocs.io/en/latest/?badge=latest)obsarrayis an extension to [xarray](https://docs.xarray.dev/en/stable/) for defining, storing and interfacing with uncertainty information using standardised metadata. It is particularly designed to work well with [netCDF](https://www.unidata.ucar.edu/software/netcdf/) files and for the Earth Observation community.obsarray is part of the [CoMet Toolkit](https://www.comet-toolkit.org) (community metrology toolkit), and can combined with the [punpy](https://punpy.readthedocs.io/en/latest/) (propagating uncertainties in python) module for very simple propagation of defined data uncertainties through arbitrary python functions.## Installationobsarray is installable via pip.## DocumentationFor more information visit our [documentation](https://obsarray.readthedocs.io/en/latest).## Licenseobsarray is free software licensed under the
[GNU Public License (v3)](./LICENSE).## Acknowledgementsobsarray has been developed by [Sam Hunt](https://github.com/shunt16).The development has been funded by:The UK’s Department for Business, Energy and Industrial Strategy’s (BEIS) National Measurement System (NMS) programmeThe IDEAS-QA4EO project funded by the European Space Agency.## Project statusobsarray is under active development. It is beta software.
Package: obs-cli
🎬🎥 OBS CLIobs-cliis a command-line interface for OBS Studio.It allows you to control OBS Studio from the command line, making it easier to
automate scene switching, source toggling, and more.This implementation ofobs-cliis:written in Python 3powered byrichandobsws-python.⚠️ Only the new OBS WebSocket API (v5) is supported!💻 InstallationYou can installobs-cliusing pip(x):# pipxpipxinstallobs-cli# pippipinstall--userobs-cli🛠️ UsageHere's the general usage ofobs-cli:obs-cli--helpThis will show you the available commands and options.🌟 Features🎞️ Scene ManagementYou can manage scenes using thescenecommand:obs-cliscene--helpFor example, to switch to a scene named "Scene2":obs-clisceneswitch"Scene2"To list all scenes:obs-cliscenelist📦 Item ManagementYou can manage scene items using theitemcommand:obs-cliitem--helpFor example, to hide an item named "Item1" in a scene named "Scene2":obs-cliitemhide--scene"Scene2""Item1"And to show it:obs-cliitemshow--scene"Scene2""Item1"To list all items in a scene:obs-cliitemlist--scene"Scene2"🎤 Input ManagementYou can manage inputs using theinputcommand:obs-cliinput--helpFor example, to get the settings of an input named "Mic/Aux":obs-cliinputget"Mic/Aux"To set the device_id of a webcam input named "Webcam":obs-cliinputset"Webcam"device_id/dev/v4l/by-id/usb-Elgato_Elgato_Facecam_FW52K1A04919-video-index0To list all inputs:obs-cliinputlistMute/unmute or toggle the mute state of an input:obs-cliinputmute"Mic/Aux"obs-cliinputunmute"Mic/Aux"obs-cliinputtoggle-mute"Mic/Aux"🎨 Filter ManagementYou can manage filters using thefiltercommand:obs-clifilter--helpFor example, to enable a filter named "Filter1" on an input named "Mic/Aux":obs-clifilterenable"Mic/Aux""Filter1"And to disable it:obs-clifilterdisable"Mic/Aux""Filter1"To list all filters on an input:obs-clifilterlist"Mic/Aux"⌨️ Hotkey ManagementYou can manage hotkeys using thehotkeycommand:obs-clihotkey--helpFor example, to trigger a hotkey named "Hotkey1":obs-clihotkeytrigger"Hotkey1"To list all hotkeys:obs-clihotkeylist🎥 Virtual Camera ManagementYou can manage the virtual camera using thevirtualcamcommand:obs-clivirtualcam--helpFor example, to start the virtual camera:obs-clivirtualcamstartTo stop the virtual camera:obs-clivirtualcamstopTo toggle the virtual camera:obs-clivirtualcamtoggleTo get the status of the virtual camera:obs-clivirtualcamstatus📡 Stream ManagementYou can manage the stream using thestreamcommand:obs-clistream--helpFor example, to start streaming:obs-clistreamstartTo stop streaming:obs-clistreamstopTo toggle streaming:obs-clistreamtoggleTo get the status of the stream:obs-clistreamstatus🎥 Record ManagementYou can manage recording using therecordcommand:obs-clirecord--helpFor example, to start recording:obs-clirecordstartTo stop recording:obs-clirecordstopTo toggle recording:obs-clirecordtoggleTo get the status of the recording:obs-clirecordstatus📄 LicenseThis project is licensed under the GPL-3.0 License.SeeLICENSEfor more information.
Package: obscraper
obscraper: scrape posts from the overcomingbias blogobscraperlets you scrape blog posts and associated metadata from theovercomingbiasblog.It’s easy to get a single post:>>> import obscraper
>>> intro_url = 'https://www.overcomingbias.com/2006/11/introduction.html'
>>> post = obscraper.get_post_by_url(intro_url)
>>> post.title
'How To Join'
>>> post.plaintext
'How can we better believe what is true? ...'
>>> post.internal_links
{'http://www.overcomingbias.com/2007/02/moderate_modera.html': 1,
'http://www.overcomingbias.com/2006/12/contributors_be.html': 1}
>>> post.comments
20Or a full list of post URLs and edit dates:>>> import obscraper
>>> edit_dates = obscraper.get_edit_dates()
...
>>> len(edit_dates)
4352
>>> {url: str(edit_dates[url]) for url in list(edit_dates)[:5]}
{'2022/01/much-talk-is-sales-patter':
'2022-01-14 20:46:35+00:00',
'2022/01/old-man-rant':
'2022-01-13 15:21:33+00:00',
'2022/01/my-11-bets-at-10-1-odds-on-10m-covid-deaths-by-2022':
'2022-01-12 19:15:10+00:00',
'2022/01/to-innovate-unify-or-fragment':
'2022-01-11 01:03:44+00:00',
'2022/01/on-what-is-advice-useful':
'2022-01-10 18:46:26+00:00'}FeaturesGet posts by their URLs or edit dates, or get all posts hosted on the
overcomingbias siteProvides detailed post metadata including post URLs, titles, authors, tags,
publish dates, and last edit datesProvides summary of post content including full post text as HTML or
plaintext, and a list of hyperlinks to other overcomingbias postsAsynchronous execution and caching for fast downloadsUse viaimport obscraperor the simple command line interfaceComprehensively testedSupports python 3.8+DocumentationRead the full documentationhere,
including theInstallation and Getting Started Guideand thePublic API Reference.Bugs/RequestsPlease use theGitHub issue trackerto submit bugs or request features.ChangelogSee theChangelogfor a list of fixes and enhancements at each version.LicenseCopyright (c) 2022 Christopher McDonaldDistributed under the terms of theMITlicense.All overcomingbias posts are copyright the original authors.
Package: obscura
obscuraExample$obscura<(echo'secret snowflake')>secret.enc
Password:
$obscura-dsecret.enc
Password:
secretsnowflakeInstallpip$pipinstallobscuraArch LinuxThere is an AUR package available here:https://aur.archlinux.org/packages/obscuraIf you do not know how to install AUR packages on Arch Linux, please consult
thewiki
Package: obscure
[![build status](https://travis-ci.org/jidn/obscure.svg?branch=master)](https://travis-ci.org/jidn/obscure.svg?branch=masterp)
![version](http://img.shields.io/pypi/v/obscure.svg)
![license](http://img.shields.io/pypi/l/obscure.svg)
![coverage](https://coveralls.io/repos/github/jidn/obscure/badge.svg?branch=master)
![downloads](http://img.shields.io/pypi/dm/obscure.svg)# ObscureShowing a steadly increasing sequence of integer IDs leaks information
to customers, competitors, or malicious entities about the number and
frequency of customers, inventory, or orders.  Some example include:/customer/123
/order/308From these, I would conclude that I am only your 123rd customer with the
308th order.  How a customer or competitor would feel about this would
differ.  However, the point is do I really want others to know this
information?  In addition, by creating another account or order, I can
estimate the rate of change within your systems.This class will help obscure your sequential order by providing a
reverseable transformation to your numbers.  By using different salts
your transformations will be unique.  In addition, the class gives some
output helpers for hex, base32, and base64.  There is one I call ‘tame’
as it removes the letters i and u to elimination some common offensive
words.# InstallBy far the simplest method is to use pip:`console $ pip install obscure `# Example`python >>> from obscure import Obscure >>> customer_id = 123 >>> num = Obscure(0x1234) >>> num.transform(customer_id) 249699227 >>> num.transform(249699227) 123 >>> num.encode_hex(customer_id) '0ee21b9b' >>> num.encode_base32(customer_id) 'B3RBXGY' >>> num.decode_base32(num.encode_base32(customer_id)) 123 >>> num.encode_base64(customer_id) 'DuIbmw' >>> num.encode_tame(customer_id) 'JB4XFK5' >>> num.decode_tame(num.encode_tame(customer_id)) 123 `