Saravanan666/pypi-org huggingface dataset:
Package: ogcldapi-testclient
OGC LD API Test ClientA test client (command line program) for implementations of the "OGC LD API" which is a variant of the standardisedOGC API: Featuresthat delivers OGC API data and also Linked Data.InstallationUseLicenseCitationContactsThis test client performs tests against a target API instance and reports test passing, failure and failure messages.It has no Python Package Index dependencies (Standard Library modules only)  so should run directly with only a basic Python installation.InstallationThis program runs as a Python 3, command line utility and has only been tested on Unix/Linux systems but should run just fine on Windows too.Usework in progressThe program can be run as a Python script on the command line or via thetc.shshell script in thebin/folder.The command line arguments (Python & shell) are:FlagInput valuesRequirementNotesapi_homepositional argURI of an API instance to testRequired-r/--requirementsPerform the OGC APIs Requirements testsOptional-as/--abstracttestsPerform the OGC APIs Abstract Tests testsOptional-a/--alltestsPerform all testsOptional-l/--logHow to log: screen, file, bothOptionalDefault: screenLicenseThis code is licensed using the GPL v3 licence. See theLICENSE filefor the deed.NoteCitationbelow for attribution.CitationTo cite this software, please use the following BibTex:@software{10.5281/zenodo.xxxxx,
  author = {{Nicholas J. Car}},
  title = {OGC LD API Test Client},
  version = {0.5},
  date = {2020},
  publisher = "SURROUND Australia Pty. Ltd.",
  doi = {10.5281/zenodo.xxxxx},
  url = {https://doi.org/10.5281/zenodo.xxxxx}
}Or the following RDF:@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix sdo: <https://schema.org/> .
@prefix wiki: <https://www.wikidata.org/wiki/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://doi.org/10.5281/zenodo.xxxxx>
    a sdo:SoftwareSourceCode , owl:NamedIndividual ;
    sdo:codeRepository <https://github.com/surroundaustralia/ogcapild-testclient> ;
    dcterms:type wiki:Q7397 ; # "software"
    dcterms:creator "Nicholas J. Car" ;
    dcterms:date "2020"^^xsd:gYear ;
    dcterms:title "OGC LD API Test Client" ;
    sdo:version "0.5" ;
    dcterms:publisher [
        a sdo:Organization ;
        sdo:name "SURROUND Pty Ltd" ;
        sdo:url <https://surroundaustralia.com> ;
    ]
.Contactspublisher:SURROUND Australia Pty. Ltd.https://surroundaustralia.comcreator:Dr Nicholas J. CarData Systems ArchitectSURROUND Australia Pty. Ltd.nicholas.car@surroudaustralia.com
Package: ogc-legends
A small library to work with OGC legends.importogc_legendsurl="https://demo.mapserver.org/cgi-bin/wms?"legends=ogc_legends.get_legends(url,"./images")fork,vinlegends.items():print(k,v)The dictionary structure returned by theget_legendsfunction is as follows:{"cities":[{"file":"./images\\cities_default.png","style":"default"}],"continents":[{"file":"./images\\continents_default.png","style":"default"}],"country_bounds":[{"file":"./images\\country_bounds_default.png","style":"default"}]}From the command line:ogc_legends "https://demo.mapserver.org/cgi-bin/wms?"To save to a different folder:ogc_legends "https://demo.mapserver.org/cgi-bin/wms?" "./images"Other options - don’t override if file already exists, and use WMS version 1.1.1:ogc_legends "https://demo.mapserver.org/cgi-bin/wms?" "./images" False "1.1.1"RequirementsPython 3.6+InstallationNote installing theogc-legendsplugin will automatically install the required dependencyowslib.pip install ogc-legendsReleases0.1 (17/03/2020)Initial releaseAuthorSeth Girvin@geographika
Package: ogcmaps
API Maps ClientPython client for OGC API - Maps.InstallationpipinstallogcmapsUsagefromogcmapsimportlandingdata=landing.metadata()print(data)See thedocsfor complete API documentation.For developersInstallvirtualenvenv&&sourceenv/bin/activatepip3install-rrequirements.txtInstall pre-commit and pytestpip3installpre-commitpytestBuild from sourcepip3install.Run testscdtests&&pytestGenerate docssphinx-apidoc-fodocs/sourceogcmapsogcmaps/utils/*
Package: ogc-na
ogc-na-toolsPurposeThis repository contains tools used to maintain controlled vocabularies and knowledge assets managed by the OGC Naming Authority. Such tools may have wider general applicability and be refactored into tool specific repositories.ScopeThe tools here manage ETL processes for ingesting source data into a dynamic knowledge graph. Whilst this is quite a generic scope, this provides examples of how to use a range of resources that others may reuse to achieve similar results.HighlightsJSON ingest and conversion to RDF using semantic annotations and conversions to a target model schema.entailment and validation pipeline for RDF resources.specific scripts to convert OGC source material into a form compatible with the OGC Linked Data environmenttutorial for docker deployment and testing of available tools.Documentation and toolsThe full documentation can be foundhere.The following tools are currently available:ingest_json: Performs JSON-to-JSON-LD semantic uplifts(read more)update_vocabs: Allows defining RDF entailment + validation + upload pipelines(read more)annotate_schema: Annotates JSON schemas by leveraging@modelReferencelinks to JSON-LD contexts(read more)DevelopmentTo install runtime and development dependencies, run:pipinstall-e.[dev]Building the documentationmkdocsis used for generating documentation pages.To build the documentation (will be written to thesite/directory):mkdocs buildTo deploy to GitHub pages:mkdocs gh-deploy
Package: ogctests
OGC API Test ClientA black box verifier for OGC API specificationsInstallationThis package is available on PyPi and can be installed with pip$python-mpipinstallogctestsUsageThe test suite is designed to be run from the command line. At least one scope and an instance URL must be provided.$python-mogctests<scope_1>[<scope_2>]-i<instance_url>for instructions on how to scope the tests, call the package with the-hflag.$python-mogctests-hReportingReporting to stdout is as per normal pytest output. To increase the verbosity of the output set the-vflag toTrue.
To create a detailed report of the test run, set the-rflag toTrue. This will create a junitxml report in the users
home folder underogctestsReporting/<date>.xmlWhat it DoesIn line with theOfficial OGC test suite(written in Java), this Python-based test suite will verify the compliance of a
given endpoint with theOGC API - Features - Part 1: Corespecification.The test suite only tests against theOGC API - Features - Part 1:
Corespecification, But may be expanded in the future.See alsoAn introduction to the OGC API specificationhttps://ogcapi-workshop.ogc.org/OGC API — Features — Part 1: Corehttps://docs.ogc.org/is/17-069r3/17-069r3.htmlOfficial OGC test suitehttps://github.com/opengeospatial/ets-ogcapi-features10Implementorshttps://github.com/opengeospatial/ogcapi-features/tree/master/implementations/servershttps://demo.pygeoapi.io/stablehttps://demo.ldproxy.net/vineyardshttps://demo.ldproxy.net/daraahttps://demo.ldproxy.net/zoomstackhttps://www.ldproxy.nrw.de/katasterhttps://demo.mapserver.org/cgi-bin/mapserv/localdemo/ogcapi/
Package: ogdf-python-widget
ogdf-python-widget 0.1.1A Custom Jupyter Widget LibraryInstallationTo install use pip:$ pip install ogdf_python_widgetFor a development installation (requiresNode.jsandYarn version 1),$ git clone https://github.com/ogdf/ogdf-python-widget.git
$ cd ogdf-python-widget
$ pip install -e .
$ jupyter nbextension install --py --symlink --overwrite --sys-prefix ogdf_python_widget
$ jupyter nbextension enable --py --sys-prefix ogdf_python_widgetWhen actively developing your extension for JupyterLab, run the command:$ jupyter labextension develop --overwrite ogdf_python_widgetThen you need to rebuild the JS when you make a code change:$ cd js
$ yarn run buildYou then need to refresh the JupyterLab page when your javascript changes.
Package: ogdf-wheel
ogdf-wheel - an OGDF release build packaged as ready-to-use python wheel.This project usescibuildwheelto build theOGDFlibrary into a ready-to-use python package (called wheel) installable viapip install ogdf-wheel. Its mainly intended to be used withogdf-pythonwhen you don't want to build the OGDF yourself or use a C++ package manager.Publishing new ReleasesThe CI does neither automatically build new OGDF versions nor directly publishes the results toPyPi. To publish a new version, perform the following steps:Update the/ogdf/submodule in this repo to point to the latest release of the OGDF.Update the version number inpyproject.toml.Commit and push your changes to GitHub.Wait for the CI there to finish.Download the resulting.whlfiles.Usetwineto upload the files to PyPi.
Package: ogdp-apis
OGDP APIsOngoing side-project to write python wrappers fordata.dov.in APIsSupported APIsAPIDescriptionLinkDocumentationaqiRealtime AQI datahttps://data.gov.in/node/3b01bcb8-0b14-4abf-b6f2-c1bfd384ba69/apihttps://app.gitbook.com/@ayush-shenoy/s/ogdp-apis/apis/aqiInstallationpipinstallogdp-apisLinksPyPIDocumentationdata.gov.inLicenseCopyright 2020 Ayush ShenoyPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Package: ogen
odoo-genProject Generator helping Odoo developers to manage and run their projects.Installationgitclonehttps://github.com/cix-code/odoo-gencdodoo-gen# Create a dedicated python environmentpython3-mvenvvenv

venv/bin/pipinstall-e.
ln-s~/[path_to_odoo-gen]/venv/bin/ogen~/.local/binUsageCreate a new projectIf this is the first time creating a project, navigate to a folder that you'd like to be a workspace for multiple projects. E.g.mkdir~/odoo_projectscd~/odoo_projectsCreate the projectogencreatename_your_projectControl the Odoo instanceRun the Odoo instanceogenstartname_your_projectthen openhttp://localhost:8069.Stop the projectogenstopFor more commands runogen--helpConfigurationThe generator will create a config file under[user_config_path]/odoo-gen/ogen.conf.
It will prompt the you to confirm the workspace folder.
Package: ogg4osu
ogg4osu!Do you prefer using OGG over MP3 in your osu! beatmaps? Do you want to just slap q6 on all of your audio files because it's the highest quality setting that's still rankable most of the time? Do you hate having to check whether your q6 OGGs are actually under the 208kbps limit? This program will do that for you.InstallationGet FFmpegand make sure it's accessible from your command line.On Windows, you'll need toadd FFmpeg to PATHfor this to work. I have no idea how it's done on other platforms, but I hope it's easier than on Windows.Install Python.Python 3.11 or later should work for sure; when in doubt, just get the latest version. Older versions may work as well, but you're on your own with those.Install ogg4osu!The following command should be all you need:pip install ogg4osuIf you want/need something more specialised, I'm sure you already know what you need to do differently.UsageThe following examples use the kind-of-maybe-somewhat universalpythoncommand, but depending on your environment and/or preferences, you may want to usepython3orpyinstead.Just convert an audio file to OGGpython -m ogg4osu example.flacYou'll get a new file calledexample.ogg.Specify the name of the new filepython -m ogg4osu "long and inconvenient song title.flac" song.oggYou can also go wild with full file paths if you want.View all available optionspython -m ogg4osu -h
Package: ogg-theora-vorbis
Python Binding for Ogg Theora and Vorbis LibraryHow to installcd ogg-theora-vorbis/ogg ;
sudo python setup.py installcd ogg-theora-vorbis/theora ;
sudo python setup.py installcd ogg-theora-vorbis/vorbis ;
sudo python setup.py installto test Theora library encode programcd ogg-theora-vorbis/test/theora ;
python theora_test_decode.pyto test Theora library decode programcd ogg-theora-vorbis/test/theora; python theora_test_decode.pyto test Vorbis library encode programcd ogg-theora-vorbis/test/vorbis ; python test_vorbis_encode.pyto test audio and videocd ogg-theora-vorbis/test/audio_video; python AudioVideo.pyThis code is provided under GPL  license
Package: ogham
OghamConvert Ogham inscriptions to latin text & vice versa.Python port of the originalNode.js library.Installpip install oghamUsageYou can either transform ogham to text, or text to ogham.Latin text to ogham:fromoghamimportletters_to_ogham# "Netacari, nephew of Cagi", from Castletimon, Brittas Bay, Co Wicklowresult=letters_to_ogham('netacarinetaccagi')print(result)# ᚛ᚅᚓᚈᚐᚉᚐᚏᚔᚅᚓᚈᚐᚉᚉᚐᚌᚔ᚜Ogham to latin text:fromoghamimportogham_to_letters# "Nettasagri, Briaci", from Bridell, Pembrokeshireresult=ogham_to_letters('᚛ᚅᚓᚈᚈᚐᚄᚐᚌᚏᚔ ᚋᚐᚊᚔ ᚋᚒᚉᚑᚓ ᚁᚏᚔᚐᚉᚔ᚜')print(result)# nettasagri maqi mucoe briaciAbout OghamOgham (or ogam) is an Early Medieval alphabet used primarily to write the early Irish language, and later the Old Irish language. Used roughly from 4th to 10th centuries AD.
Package: ogimg
ogimgA Python CLI for downloading metadata images (e.g.,OGimages) from web pages.ReferencesOpenGraph.xyz.imghdrmodule.PDM-VSCodeplugin.Developmentpdm config python.use_venv False+pdm config python.use_venvpdm installpdm run ogimg --helppdm run ogimg https://github.com/joaopalmeiro/nbadgepdm run black .+pdm run isort .NotesPyflow:Commands:pip install wheel(GitHub issue).pyflow initorpyflow new ogimg.pyflow install metadata_parser click.pyflow install black --devandpyflow install isort --dev.pyflow clearandpyflow reset.pyflow -V.pyflow install.pyflow ogimg --helporpyflow ogimg https://github.com/joaopalmeiro/nbadge.pyflow black .andpyflow isort . --profile black.tools likeblackdon't work with VSCode(open) issue.Incomplete package installissue.Running ipython fails withNo module named 'pexpect'(open) issue.pyflow install tomli typed-ast --dev.pyflow randomizes the order of pyflow.lock every time I run a script through it(open) issue.Twinedocumentation.pdm add -dG format black isort.pdm add metadata_parser click.pdm config python.use_venv.
Package: ogip
# Python library to read, write, and validate “OGIP” files[![Build Status](https://travis-ci.com/volodymyrss/ogip.svg?branch=master)](https://travis-ci.com/volodymyrss/ogip)[![codecov](https://codecov.io/gh/volodymyrss/ogip/branch/master/graph/badge.svg)](https://codecov.io/gh/volodymyrss/ogip)aims to support OGIP formats:
* [OGIP/92-007 (The OGIP Spectral File Format)](https://heasarc.gsfc.nasa.gov/docs/heasarc/ofwg/docs/spectra/ogip_92_007/node5.html)
* [OGIP Calibration Memo CAL/GEN/92-002 (The Calibration Requirements for Spectral Analysis, Definition of RMF and ARF file formats)](https://heasarc.gsfc.nasa.gov/docs/heasarc/caldb/docs/memos/cal_gen_92_002/cal_gen_92_002.html)
* [OGIP Memo OGIP/93-003 (The Proposed Timing FITS File Format for High Energy Astrophysics Data)](https://heasarc.gsfc.nasa.gov/docs/heasarc/ofwg/docs/rates/ogip_93_003/ogip_93_003.html).does not aim to implement the strictest form of the standard, instead trying to understand the content from the least information provided, following [Postel’s](https://en.wikipedia.org/wiki/Robustness_principle) [Law](https://tools.ietf.org/html/rfc1122) (which has proven to be successful in TCP).well-defined, versioned, and provenance-committed processit just works, alwayswhile it is alsoalways possible to recover what exactly was done and why.relies only on [astropy](https://www.astropy.org/)Existing alternatives:[heasoft](https://heasarc.gsfc.nasa.gov/lheasoft/) contains pyxpec and heasp modules, which read ogip files.[sherpa](https://cxc.cfa.harvard.edu/sherpa/) and [3ml](https://github.com/threeML/threeML/) can read and write ogip filesThe alertnatives share common disadvantage: they are complex and not easily portable packages.
Also, they implement different variations of the standards, and we have a different aim here (see above).## Disadvantages:only python, hence slow## Example`python # opens a file, detects format, writesogip.core.open_something("file.fits").to_fits('output_file.fits')`
Package: ogitm
Because doing stupid things with git is surprisingly fun.OGitM is an ORM, but where the relational database that underlies the entire
mapping has been replaced by an awful attempt at replicating a stupidly basic
key-value document store ingit.  This software should never be used by
anyone ever.  Please, for the good of humanity.Um… What?Git is useful, because it stores both data, and the history of that data.
This might be a useful property for a database to have.  Writing a whole
database based on git is boring, I should try writing an ORM to wrap around
it.  Well, it wouldn’t so much be an ORM, more an O… git M?How do I use this?Import the module, declare your model, and go!>>>importtempfile;db_directory=tempfile.TemporaryDirectory()>>>>>>importogitm>>>classMyModel(ogitm.Model,db=db_directory.name):...name=ogitm.fields.String()...age=ogitm.fields.Integer(min=0)>>>>>>instance=MyModel(name="Bob",age=172)>>>instance_id=instance.save()>>>MyModel.find(name="Bob",age=172).first()==instanceTrue>>>instance.age=-5Traceback (most recent call last):...ValueError:Disallowed value -5 ...Can I get at the underlying database?Yes.  Meet the gitdb module, which provides direct access to a document-based
database.  Initialise it with a directory that it can use as a git bare
repository, and start inserting and getting.>>>importtempfile;db_directory=tempfile.TemporaryDirectory()>>>>>>fromogitmimportgitdb>>>db=gitdb.GitDB(db_directory.name)>>>doc_id=db.insert({'name':'Jimmy','age':45,'car':False})>>>db.get(doc_id)=={'name':'Jimmy','age':45,'car':False}TrueMore than that, you can also search for documents previously inserted.  These
queries accept simple scalar arguments, which return all documents which have
the same values as the query, and more complex dictionary arguments which can
test for existence, compare etc.>>>doc_id=db.insert({'name':'Bobbie','car':True})>>>doc_id=db.insert({'name':'Bertie','age':26,'car':False})>>>{'name':'Bobbie','car':True}indb.find_items({'car':True})True>>>doc_id=db.insert({'name':'Jimmy'})>>>db.find_items({'car':{'exists':False}})==[{'name':'Jimmy'}]TrueTodoDocumentation.  (docstrings & manual)PyPIRelationships? (U f*cking wot m8?)Python 2Better way of accessing git (May be needed for Py2, is needed for pypy, will
make it easier for anyone to install it from PyPI) (See Dulwich)Begin versioning sometime fairly soon
Package: ogl
𝓟 𝓨 𝓤 𝓣 stands for Python UML Tool. This is the external graphical shapes module for Pyut
that allows for external plugin development;This project depends on pyutmodel and wxPythonDeveloper NotesThis project usesbuildlackeyfor day to day development buildsNoteFor all kind of problems, requests, enhancements, bug reports, etc.,
please drop me an e-mail.
Written byHumberto A. Sanchez II(C) 2023I am concerned about GitHub's Copilot projectI urge you to read about theGive up GitHubcampaign fromthe Software Freedom Conservancy.While I do not advocate for all the issues listed there I do not like that
a company like Microsoft may profit from open source projects.I continue to use GitHub because it offers the services I need for free.  But, I continue
to monitor their terms of service.Any use of this project's code by GitHub Copilot, past or present, is done
without my permission.  I do not consent to GitHub's use of this project's
code in Copilot.
Package: oglhclient
The client is tightly tied to the RESTful APIRAML
specification,
which is very well exposedhere.AuthenticationTheLighthouse API Clientexpects to find the following environment
variables:(required)OGLH_API_USERa valid Lighthouse user(required)OGLH_API_PASSa valid Lighthouse user’s password(required)OGLH_API_URLthe Lighthouse API url without/api/v1ConventionsAll the methods follow the convention specified as follows. A call for
anurllike:GET /system/global_enrollment_token HTTP/1.0would be performed through the client as:>>>fromoglhclientimportLighthouseApiClient>>>api=LighthouseApiClient()>>>client=api.get_client()>>>client.system.global_enrollment_token.get()Basically, all/must be replaced by.followed by an action:GET:find()Used when asking for a specific objectExample:GET /nodes/smartgroups/myGrouId HTTP/1.0Becomes:smartgroup=client.nodes.smartgroups.find(id='myGrouId')orsmartgroup=client.nodes.smartgroups.find('myGrouId')In case of a child object like in/nodes/{id}/tags/{tag_value_id},
with a possible call like:GET /nodes/nodes-13/tags/London HTTP/1.0The python call should be:tag=client.nodes.tags.find(id='myTagId',parent_id='myNodeId')Also possible to make:tag=client.nodes.tags.find(id='myTagId',node_id='myNodeId')Always paying attention to the simple plural formatting removal:nodes:nodeproperties:propertyGET:list()Used when asking for a list of objectsExample:GET /nodes/smartgroups HTTP/1.0Becomes:smartgroups=client.nodes.smartgroups.list()parameters may apply likepage,per_page, and so on:smartgroups=client.nodes.smartgroups.list(page=1,per_page=5)GET:get()Only used when the two previous do not apply, like:GET /system/webui_session_timeout HTTP/1.0Becomes:timeout=client.system.webui_session_timeout.get()POST:create()As the name suggests, it is used to create objects, for instance:POST /tags/node_tags HTTP/1.0
Content-Type: application/json

{"node_tag": {"name": "Location","values": [{"value": "USA.NewYork"},{"value": "UK.London"}]}}could be performed as:result=client.tags.node_tags.create(data={"username":"root","password":"default"})PUT:update()It is used to update a given object, like:PUT /tags/node_tags/nodes_tags-1 HTTP/1.0
Content-Type: application/json

{"node_tag": {"name": "Location","values": [{"id": "tags_node_tags_values_90","value": "USA.NewYork"}]}}could be performed as:data={"node_tag":{"name":"Location","values":[{"id":"tags_node_tags_values_90","value":"USA.NewYork"}]}}result=client.tags.node_tags.update(tag_value_id='nodes_tags-1',data=data)DELETE:delete()It is used for deleting an object by itsid, for instance:DELETE /tags/node_tags/nodes_tags-1 HTTP/1.0could be performed as:result=client.tags.node_tags.delete(tag_value_id='nodes_tags-1')
Package: ogli
ogli integrates well!Installation$ pip install -r requirements.txt

$ pip install setup.pyDevelopmentThis project includes a number of helpers in theMakefileto streamline common development tasks.Environment SetupThe following demonstrates setting up and working with a development environment:### create a virtualenv for development

$ make virtualenv

$ source env/bin/activate


### run ogli cli application

$ ogli --help


### run pytest / coverage

$ make testReleasing to PyPiBefore releasing to PyPi, you must configure your login credentials:~/.pypirc:[pypi]
username = YOUR_USERNAME
password = YOUR_PASSWORDThen use the included helper function via theMakefile:$ make dist

$ make dist-uploadDeploymentsDockerIncluded is a basicDockerfilefor building and distributingogli,
and can be built with the includedmakehelper:$ make docker

$ docker run -it ogli --help