Saravanan666/pypi-org huggingface dataset:
Package: octopy
A Github API WrapperInstallation>>> pip install octopyDocumentationCan be found here.To DoDocumentationTestsExample>>> from octopy import OctopyClient
>>>
>>> client = OctopyClient(token='token')
>>>
>>> events = client.activity.events.all()
>>> events[0].id
12345678
>>> events[0].public
True
>>> events[0].actor.login
usernameLICENSEMIT
Package: octopyenergy
Octopy-EnergyPython client for the Octopus energy APIInstalling Octopy-EnergyThe first step to getting running with the library is to install it through pip.!pipinstalloctopyenergyRequirement already satisfied: octopyenergy in c:\users\user\path\to\octopy-energy (0.0.1)Once installedoctopyenergycan be imported into your scripts.importoctopyenergyasoefromoctopyenergy.apiimportDownloadManagerUser InputsWe now need to assign values for our account/meter details.N.b. we recommend that you store your account details in a.envfile and then use thedotenvlibrary to set them as environment variables, which can in turn be picked up byosand assigned to local variables.octopus_api_key='your_octopus_api_key'meter_mpan='your_meter_mpan'meter_serial='your_meter_serial'Configuring the Download ManagerWe'll start by initialising theDownloadManager, when we do so we can pass a number of parameters which will configure defaults in the download manager. Theoctopus_api_keyis also required for some requests.download_manager=DownloadManager(meter_mpan=meter_mpan,meter_serial=meter_serial,api_key=octopus_api_key)download_managerWelcome to the octopyenergy DownloadManager! For more information please read the documentation at https://github.com/AyrtonB/Octopy-Energy.

The following API end-points are available: 
retrieve_products, retrieve_product, retrieve_tariff_charges, retrieve_meter_point, retrieve_electricity_consumption, retrieve_gas_consumption, retrieve_gsps
Package: octopy-graph
Octopy GraphA tool for graphing data from theOctopus Energy APIGetting StartedInstallingEither clone directly from the repo or install using pippipinstalloctopy-graphsRunningThe tool is run usingpython3.7\6. For help text use:python3.7-moctopy_graph.__main__-hYou will need the following information:apikey- If you are an Octopus Energy customer, you can get an API key from youronline dashboard.gasserial- The gas meters serial number. Printed on your gas meter and on your bill.
Looks likeG3P69380371200.mprn- The MPRN for your gas meter. On your bill asMeter Point Reference,
looks like 3429439001.electricserial- The electricity meters serial number. Printed on your meter
and on your bill. Looks like12P1022008.mpan- The MPAN for you electricity meter. On your bill asSupply Number,
looks like 2019820081223ExamplesThe tool uses plotly to graph data. Here are some examples.DailyA graph showing gas and electricity usage on a specific date.WeeklyA graph showing gas and electricity usage for a specific week.Average HourlyA graph showing the average energy usage at specific times during the day.Average DailyA graph showing the average energy usage on specific days of the week.Average WeeklyA graph showing the average energy usage on weeks throughout the year.
Package: octopype
OctopypeWhat is Octopype?Octopype is a Wrapper for theGitHub APIwritten in Python using therequestslibrary.The focus is on making it simple for the user and filling every niche with the features, that the GitHub API offers.DisclaimerOctopype is still in Early Development and it does not have many features yet!Installingpip install octopypeBasic tutorials1. Getting your Github bio.importoctopypegithub=octopype.OctoPype("INSERT TOKEN HERE")print("My GitHub Bio is: "+github.account.info().bio)2. Getting the name of a repository ownerimportoctopypegithub=octopype.OctoPype("INSERT TOKEN HERE")print("The owner of Octopype's repository is: "+github.repository.getrepository("BLUEAMETHYST-Studios","octopype").owner.name)3. Updating your display nameimportoctopypegithub=octopype.OctoPype("INSERT TOKEN HERE")github.account.update.display_name("OctoPype")# Will set your display name to 'OctoPype'LicenseOctopypebyBLUEAMETHYST-Studiosis licensed under theGNU GENERAL PUBLIC LICENSE Version 3.To view the full license, clickhere.
Package: octosql-py
octosql-pyOctosql bindings for PythonFree software: MIT licenseDocumentation:readthedocs.Docker image availablea at thedockerhubFeaturesThis package provides bindings for Octosql created with help of C/C++ and Go code.To compile or install it you need the golang installed.Warning: ⚠️This package is still highly experimental software and is not recommended for usage other than “hacking around”.
The stable version will be provided soon. Please stay tuned.Creditsstyczynski- Porting Octosql to Pythoncube2222- Creator of the OctosqlHistory0.1.0 (2019-10-18)First release on PyPI.
Package: octostudio
OctoStudioThis Python library pass messages between Python andOctoStudio.Specifically, it works with two blocks of OctoStudio:beam to phoneswait for beam (work-in-progress)Install# Python >= 3.10
pip install octostudioUsagefrom octostudio import OctoStudio

def on_message(shape):
    print(shape)

octo = OctoStudio()
octo.on_message = on_message
octo.start()For MicroBlocks usersThis library was originally used to bridge OctoStudio's Bluetooth radio with MicroBlocks' wifi radio.To do this you need to install this package, then run the command:octostudio-microblocks-bridgeTake a look at theinner workings.For Scrarch usersInstall dependencies:pipinstallpaho-mqttoctostudiorun the command:octostudio-scratch-bridge. Take a look at theinner workings.Openthe demo projectOctoStudio & Scratch demo videoCustomizeoctostudio-scratch-bridge uses the default MQTT broker and account. Other users may also be using it. If you want to use your own broker and account, you can run the following code instead of the default octostudio-scratch-bridge:# custom octostudio-scratch-bridgeimportpaho.mqtt.clientasmqttfromoctostudioimportOctoStudiomqtt_client=mqtt.Client()# You can use other MQTT broker. If you want to use it with Scratch, make sure the MQTT broker supports wss protocolmqtt_client.username_pw_set('guest','test')mqtt_client.connect("mqtt.aimaker.space",1883,60)defon_message(shape):mqtt_client.publish("octo_message",shape)octo=OctoStudio()octo.on_message=on_messageocto.start()For Snap! usersInstall dependencies:pipinstallpaho-mqttoctostudiorun the command:octostudio-snap-bridge. Take a look at theinner workings.Openthe demo projectFAQHow to send a message to OctoStudio?send a message to OctoStudioI implemented this part directly in MicroBlocks instead of the bridge. I will update the relevant principles to this article soon.Messages being delayedReference here:Maximum rate that advertisements can be scanned/read.No solution found yet.Related source code, looking forward to you improving it.
Package: octosuite
A framework for gathering open-source intelligence on GitHub users, repositories and organisationsWikiRefer to the Wikifor installation instructions, in addition to all other documentation.FeaturesFetches an organisation's profile informationFetches an oganization's eventsReturns an organisation's repositoriesReturns an organisation's public membersFetches a repository's informationReturns a repository's contributorsReturns a repository's languagesFetches a repository's stargazersFetches a repository's forksFetches a repository's releasesReturns a list of files in a specified path of a repositoryFetches a user's profile informationReturns a user's gistsReturns organisations that a user owns/belongs toFetches a user's eventsFetches a list of users followed by the targetFetches a user's followersChecks if user A follows user BChecks if  user is a public member of an organisationsGets a user's subscriptionsSearches usersSearches repositoriesSearches topicsSearches issuesSearches commitsAutomatically logs network/user activity (.logs folder)User can manage logs (view, read, delete)Results can be saved to a .csv file (varies)User can manage csv files (view, read, delete)All the above can be used with command-line arguments (PyPI Package only)And more...TODORewrite the GUI in Visual Basic .NET (in progress)NoteOctosuite automatically logs network and user activity of each session, the logs are saved by date and time in the .logs folderLicenseCreditsThe code used for finding emails from usernames is taken fromSomdev Sangwan'sZenDonationsIf you like OctoSuite and would like to show support, you can Buy A Coffee for the developer using the button belowYour support will be much appreciated😊
Package: octothorpe
octothorpe is anAsterisk Manager Interface(AMI) library for theTwistedengine.At the moment, octothorpe is still in development. Because of this,
I cannot at this time offer API stability, but I intend to do this
as it shapes up further.octothorpe’s primary design goal is to disentangle the myriad
multiplexed event streams that all come over the AMI, making it
easier to focus on them individually. For example, when a new channel
comes up, thenewChannelmethod is called, giving aChannelobject you will thereafter receive channel-associated events on as
well as be able to issue actions against. (Of course, you can
subclassChannel.)Requirementsoctothorpe depends only on Twisted, and is developed against the
latest release version.  Twisted is declared as a dependency insetup.py.Developmentrequirements.txtspecifies development dependencies, including
those for running tests.As mentioned above, you should start by installing all development
requirements (you’re using avirtualenv,
right?):$ . bin/activate
$ pip install -e
$ pip install `cat requirements.txt`octothorpe is fully developed with a test-first methodology.  All
functionality is covered by the unit tests (which you can run withtrial octothorpe.) You can verify coverage withcoverage.py:$ coverage run --source=octothorpe `which trial` octothorpe
$ coverage report -mIf you’re interested in a virtual environment for hacking on
octothorpe, I’ve supplied here myVagrantandAnsibleconfigurations for building
and doing the initial configuration for a box with Asterisk running
and ready to accept a SIP phone connection.Pay close attention toVagrantfile—it contains a directive for
setting up a host-only network. I’ve randomly selected an RFC1918
address for this purpose; you’ll want to connect your SIP softphone
and your octothorpe applications to this address. If you’re happy
with this, runvagrant up.Important Note:Don’t eventhinkof using the config files
inetc/asteriskin production! They are wildly insecure.
Package: octotools
# octotools - Utilities for the UK energy market from Octopus EnergyThis repo groups together a bunch of useful utilities for the UK energy market, made with love by the Octopus Energy team.CI status:[![CircleCI](https://circleci.com/gh/octoenergy/octotools/tree/master.svg?style=svg)](https://circleci.com/gh/octoenergy/octotools/tree/master)## ContributingCreate and activate a virtualenv then:$ makeTest package with:$ make testand:$ make lintRelease to PyPI by:Bumping the version insetup.pyRunning:$ make publish
Package: octo-train
octo-trainSimple CLI client for your programming accomplishments.AboutThis project provides you with comfortable interface for developing your programming skills with CodeForces and Project Euler 🎉Install$pipinstallocto-trainUsage$octo-trainCreating new userOn first launch application will ask you to provide some info.NameJust your name to get personalized experience. ☺️CodeForces levelTo start your CodeForces journey with octo-train you must specify level of problems you can solve.You can either specify 0 and start from the easiest ones (you can change it in the settings later) or go to codeforces/archive and find appropriate level for you.⚠️ Problems level is the number specified on the right from problem's name. It starts at 500 and goes up to 3000 with step of 100.CodeForces daily goalThe minimal number of problems you want to solve every day.Project Euler levelWith Project Euler you must specify level of problems you can solve too.You can either specify 0 and start from the easiest ones (you can change it in the settings later) or go to projecteuler/archives and find appropriate level for you.⚠️ Problems level is the orange bar on the right from problem's name. Hover to see the number. It starts at 5% and goes up to 100%.Project Euler daily goalThe minimal number of problems you want to solve every day.Get the problemIn menu select which kind of problems you want to solve.See the statsShow your stats as a problem-solver.
Package: octoxlabs
Octox Labs Python SDKpy-octoxlabs is an API client for Octox Labs Cyber Security Asset Management platform on python programming language.InstallationpipinstalloctoxlabsGetting StartedGo to settingsClick "Add User" buttonType Username and choose User Type as "API User"Click "Create" buttonClick your user's Edit buttonCopy API TokenQuick StartfromoctoxlabsimportOctoxLabsocto=OctoxLabs(ip="<your-octoxlabs-platform-ip>",token="<your-api-token>")count,assets=octo.search_devices(query="Adapters = active-directory")ContributingAlso see;CONTRIBUTING.md
Package: octranspo
OC Transpo API WrapperA Python wrapper around the OC Transpo API.Getting StartedHelp to get started is available inthe docs.InstallationTo install, clone the repository and run:pythonsetup.pyinstallBuilding DocsTo build docs, install the requirements:pipinstall-rdocs/requirements.txtThen move to the docs directory and run the build script:cddocs# windowsmake.bathtml# *nixmakehtmlLicenseThis project is licensed under either ofApache License, Version 2.0, (LICENSE-APACHEorhttp://www.apache.org/licenses/LICENSE-2.0)MIT license (LICENSE-MITorhttp://opensource.org/licenses/MIT)at your option.
Package: oct-to-tiff
oct-to-tiffA command line tool for converting optical coherence tomography angiography (OCTA) data.Installationvia pip:pip install oct-to-tiffvia conda:conda install -c conda-forge oct-to-tiffGetting startedoct-to-tiff /path/to/image.OCTwill read an OCT volume and write to a single OME-TIFF file, including voxel size in the metadata.By default, the output file will be written with the same name as the input file and to the same directory:tree /path/to/images
    ├── image.OCT
    └── image.ome.tifTo specify a custom output directory, seeOptional argumentsbelow.Supported scan patternsThis tool has been developed by reverse engineering data from the Optovue RTVue XR Avanti System.Due to limited test data, only the following scan patterns are currently supported:Structural OCT3D Cornea3D Disc3D Retina3D Widefield3D Widefield MCTAngleCornea Cross LineCornea LineCross LineEnhanced HD LineGCCGridLineONH (Partial)Pachymetry WideRadial LinesRasterRetina Map (Partial)OCT AngiographyAngio DiscAngio RetinaHD Angio DiscHD Angio RetinaOptional argumentsTo view these options at any time, runoct-to-tiff --help.--output OUTPUTDescription: specify a custom output directory.If the path to the output directory does not exist, a new directory (and parent directories) will be created.Usage:oct-to-tiff /path/to/image.OCT --output /path/to/output/directory--overwriteDescription: overwrite output file if it exists.Usage:oct-to-tiff /path/to/image.OCT --overwrite--size SIZEDescription: scan size in mm.Sets the correct voxel size for scan patterns with adjustable length.Usage:oct-to-tiff /path/to/image.OCT --size 4.5--versionDescription: show program's version number and exit.Usage:oct-to-tiff --versionThe following options are mutually exclusive:--angioDescription: convert extracted OCTA data.Requires--size SIZE.Usage:oct-to-tiff /path/to/data --angio --size 4.5--en-faceDescription: convert extracted en face data.Requires--size SIZE.Usage:oct-to-tiff /path/to/data --en-face --size 4.5--seg-curveDescription: convert extracted segmentation data.Usage:oct-to-tiff /path/to/data --seg-curve--boundariesDescription: extract segmentation lines.Usage:oct-to-tiff /path/to/curve.xml --boundariesContributingThis project usesblackfor formatting andisortfor sorting imports.RequirementsRequires Python 3.8 or higher.
Package: octue
Octue Python SDKThe python SDK for runningOctuedata services, digital twins, and applications - get faster data
groundwork so you have more time for the science!Read the docshere.Uses ourtwinedlibrary for data validation.Installation and usageTo install, run one of:pipinstalloctuepoetryaddoctueThe command line interface (CLI) can then be accessed via:octue--helpUsage: octue [OPTIONS] COMMAND [ARGS]...

  The CLI for the Octue SDK. Use it to start an Octue data service or digital
  twin locally or run an analysis on one locally.

  Read more in the docs: https://octue-python-sdk.readthedocs.io/en/latest/

Options:
  --id UUID                       UUID of the analysis being undertaken. None
                                  (for local use) will cause a unique ID to be
                                  generated.
  --logger-uri TEXT               Stream logs to a websocket at the given URI.
  --log-level [debug|info|warning|error]
                                  Log level used for the analysis.  [default:
                                  info]
  --force-reset / --no-force-reset
                                  Forces a reset of analysis cache and outputs
                                  [For future use, currently not implemented]
                                  [default: force-reset]
  --version                       Show the version and exit.
  -h, --help                      Show this message and exit.

Commands:
  deploy  Deploy a python app to the cloud as an Octue service or digital...
  run     Run an analysis on the given input data using an Octue service...
  start   Start an Octue service or digital twin locally as a child so it...Deprecated codeWhen code is deprecated, it will still work but a deprecation warning will be issued with a suggestion on how to update
it. After an adjustment period, deprecations will be removed from the codebase according to thecode removal schedule.
This constitutes a breaking change.Developer notesInstallationWe usePoetryas our package manager. For development, run the following from the
repository root, which will editably install the package:poetryinstall--all-extrasThen run the tests to check everything's working.TestingThese environment variables need to be set to run the tests:GOOGLE_APPLICATION_CREDENTIALS=/absolute/path/to/service/account/file.jsonTEST_PROJECT_NAME=<name-of-google-cloud-project-to-run-pub-sub-tests-on>Then, from the repository root, runpython3-munittestortoxContributingTake a look at ourcontributingpage.
Package: oct-vol
OCTVolA package to work with optical coherence tomography .vol raw files from Heidelberg Engineering Spectralis device, providing functionalities to read, write, and crop these files.The codes in this package are primarily derived from their MATLAB implementations, available as part of the open-source segmentation pipelineSAMIRIX.In addition to unit tests in the tests directory, extensive testing has been performed on all methods of the OCTVol class.InstallationInstall this package using pip:pip install oct-volUsageExample usage in Python:fromOCTVolimportOCTVoloct_vol=OCTVol(r"</path-to-vol-file.vol>")oct_vol.crop_vol(crop_size=4)oct_vol.write_vol(r"</destination-file-path.vol>")RequirementsThe package was developed with Python 3.9.7 and numpy 1.20.3. It has been tested successfully with Python 3.5 and above.ContactFor inquiries, please contact Amir Motamedi at seyedamirhosein.motamedi(at)charite.de.LicenseRefer to LICENSE.txt for licensing details.Related ProjectsCheck out OCT-Converter, a package for various OCT file formats from different manufacturers, by Mark Graham at King's College London. Available onPyPi.
Package: ocular
ocularA tool for observing Kubernetes pods' statuses in real time.DescriptionOften times it's very hard to translate a Kubernetes event to a concrete state,
and that's the gap that ocular tries fill, i.e. return one of the following statuses:created
building
unschedulable
scheduled
running
succeeded
failed
stopped
unknownocular returns as well a condensed information about the reason of that status.Install$pipinstall-UocularUsageimportocularfromkubernetesimportclientapi_client=client.api_client.ApiClient(configuration=...)forpod_stateinocular.monitor(api_client,namespace='polyaxon',container_names=('polyaxon-experiment-job',),label_selector='app in (workers,dashboard),type=runner'):print(pod_state)Results...
>> {'status': 'unknown', 'message': 'Unknown pod conditions', 'details': {'event_type': 'ADDED', 'labels': ...
>> {'status': 'building', 'message': None, 'details': {'event_type': 'MODIFIED', 'labels': ...
>> {'status': 'building', 'message': 'PodInitializing', 'details': {'event_type': 'MODIFIED', 'labels': ...
>> {'status': 'building', 'message': 'PodInitializing', 'details': {'event_type': 'MODIFIED', 'labels': ...
>> {'status': 'running', 'message': None, 'details': {'event_type': 'MODIFIED', 'labels': ...
>> {'status': 'running', 'message': None, 'details': {'event_type': 'MODIFIED', 'labels': ...
>> {'status': 'succeeded', 'message': None, 'details': {'event_type': 'MODIFIED', 'labels': ...
...License
Package: oculist
oculistStatically typed, purely functional lenses for Python.FeaturesQuickstartfromdataclassesimportdataclassfromoculistimportLens@dataclass(frozen=True)defAddress:street:Lens[str]=Lens()@dataclass(frozen=True)defUser:name:Lens[str]=Lens()# 'Lens' is a descriptoraddress:Lens[Address]=Lens()bob=User('bob',Address("Some st."))alice=(bob>User.name<<'alice'# Define transformations using << and apply using >|User.address*Address.street<<'Other st.'# Compose transformations with | and chain lenses with *)assertbob.name=='bob'andalice.name=='alice'# original target is left untouchedConceptsLenses, Attributes and SettersSpecial LensesListTupleDictSet
Package: oculus-python
READMEoculus-python, a python library for importing and exportingBlueprint Subsea Oculus imaging sonarlog files.Supported log import/export typesTypeImportExportv1 .oculusXXv2 .oculusXX*APL ROS1X-netCDF4-XHEVC .mp4-XLossless .avi-X* Experimental.Installationpip install git+ssh://git@gitlab.gbar.dtu.dk/fletho/oculus-python.git@v0.0.1a0.dev0CLI UsageFor these examples, assume you have a .oculus log file called "test.oculus"Convert to NETCDF4:bps_oculus_io test.oculus --output netcdf4Convert to lossy video:bps_oculus_io test.oculus --output hevc --param color=TrueConvert to lossless video:bps_oculus_io test.oculus --output lossless --param color=TruePython UsageSee theexamplesfolder for some simple usages.
Package: ocupgrader
ocupgraderHelper tool to automate upgrades of applications in OpenShift based onocdeployer.Getting StartedDetailsRequires OpenShift command line tools (theoccommand), you should log in to your cluster before using this tool:$ oc login https://api.myopenshift --token=*************ocupgraderrelies on YAML file with task definitions located in current directory and calledocupgrader.ymlor located on path passed using-fargument. There is anexamplehow this file can look like.Instalation$ pip3 install --user ocupgraderUsage$ ocupgrader myproject list-tasks
$ ocupgrader myproject run maintenance-mode
$ ocupgrader myproject run status
$ ocupgrader myproject run single-component-status -p component=deploymentconfig-name
$ ocupgrader -f /path/to/ocupgrader.yml myproject run fixitDebugging$ OCDEPLOYER_LOG_LEVEL=INFO ocupgrader myproject run single-component-status -p component=deploymentconfig-name
Package: ocupy
Ocupy provides functions for eye-tracking data analysis:FixMat objects for reading of and filtering by fixation- and meta-dataCorresponding objects for stimulus data, aligned to FixMat objectsMeasures for prediction quality for eye-tracking data: AUC, NSS, KL, EMD.Lower and upper bound calculation for prediction quality of
attention models.RPC Client/Server for parallel task execution on a gridEvaluation (with cross-validation) of attention models