Saravanan666/pypi-org huggingface dataset:
Package: octodns-ultra
Ultra DNS provider for octoDNSAnoctoDNSprovider that targetsUltra DNS.InstallationCommand linepip install octodns-ultrarequirements.txt/setup.pyPinning specific versions or SHAs is recommended to avoid unplanned upgrades.Versions# Start with the latest versions and don't just copy what's here
octodns==0.9.14
octodns-ultra==0.0.1SHAs# Start with the latest/specific versions and don't just copy what's here
-e git+https://git@github.com/octodns/octodns.git@9da19749e28f68407a1c246dfdf65663cdc1c422#egg=octodns
-e git+https://git@github.com/octodns/octodns-ultra.git@ec9661f8b335241ae4746eea467a8509205e6a30#egg=octodns_ultraConfigurationproviders:ultra:class:octodns_ultra.UltraProvider# Ultra Account Name (required)account:env/ULTRA_ACCOUNT# Ultra username (required)username:env/ULTRA_USERNAME# Ultra password (required)password:env/ULTRA_PASSWORDSupport InformationRecordsUltraProvider supports A, AAAA, CAA, CNAME, MX, NS, PTR, SPF, SRV, and TXTRoot NS RecordsUltraProvider supports full root NS record management.DynamicUltraProvider does not support dynamic records.DevelopmentSee the/script/directory for some tools to help with the development process. They generally follow theScript to rule them allpattern. Most useful is./script/bootstrapwhich will create a venv and install both the runtime and development related requirements. It will also hook up a pre-commit hook that covers most of what's run by CI.
Package: octodns-yamlimproved
YAMLimproved provider for octoDNSAnoctoDNSprovider which brings additional features to the original YAML provider, including the ability to specify custom zone file names.InstallationCommand linepipinstalloctodns-yamlimprovedrequirements.txt/setup.pyPinning specific versions or SHAs is recommended to avoid unplanned upgrades.Versions# Start with the latest versions and don't just copy what's here
octodns==0.9.14
octodns-yamlimproved==0.0.1Configurationproviders:config:class:octodns_yamlimproved.YamlProvider# The location of yaml config files (required)directory:./config# Specify a custom zone file name# File present in the directory declared in "directory" without specifying the extension.# (optional, default empty)file_name:"root"# The ttl to use for records when not specified in the data# (optional, default 3600)default_ttl:3600# Whether or not to enforce sorting order on the yaml config# (optional, default True)enforce_order:true# Whether duplicate records should replace rather than error# (optiona, default False)populate_should_replace:falseSupport InformationRecordsSupports A, AAAA, NS, MX, TXT, SRV, CNAME, and PTR.DynamicYamlImprovedProvider does not support dynamic records.DevelopmentSee the/script/directory for some tools to help with the development process. They generally follow theScript to rule them allpattern. Most useful is./script/bootstrapwhich will create a venv and install both the runtime and development related requirements. It will also hook up a pre-commit hook that covers most of what's run by CI.
Package: octofet
OctofetPiRaspberry Pi library to interface with the Amperka Octofet 8-channel power switches.InstallationIf you haven’t enabled SPI support in your Raspbian Linux yet, open the terminal and run the
following commands:Runsudo raspi-config.Use the down arrow to select5 Interfacing Options.Arrow down toP4 SPI.Select<Yes>when it asks you to enable SPI.Press<Ok>when it tells you that SPI is enabled.Use the right arrow to select the<Finish>button.Reboot your Raspberry Pi to make the SPI interface appear.After reboot, log in and enter the following command:$ls/dev/spi*The Pi should respond with:/dev/spidev0.0/dev/spidev0.1These represent SPI devices on chip enable pins 0 and 1, respectively. These pins are hardwired
within the Pi.Then usepipto install the library:pip3installoctofetAPIQuickstart example:importtimeimportoctofet# Create an Octofet object connected to the CE0 pin of the Raspberry Pi board.octo=octofet.Octofet(0)# Switch state variable.state=TruewhileTrue:# For each switch.forswitchinrange(8):# Set the current state for the switch.octo.digital_write(switch,state)# Wait 1 second.time.sleep(1)# Toogle state.state=notstateSee fullAPI reference in API.md.
Package: octoflow
OctoFlowStreamlining machine learning tracking for seamless experiment management.FeaturesFeature 1Feature 2...DevelopmentTo set uphatchandpre-commitfor the first time:installhatchglobally, e.g. withpipx, i.e.pipx install hatch,optionally runhatch config set dirs.env.virtual .direnvto letVS Codefind your virtual environments,make surepre-commitis installed globally, e.g. withpipx install pre-commit,runpre-commit installto installpre-commit.A special feature that makes hatch very different from other familiar tools is that you almost never
activate, or enter, an environment. Instead, you usehatch run env_name:commandand thedefaultenvironment
is assumed for a command if there is no colon found. Thus you must always define your environment in a declarative
way and hatch makes sure that the environment reflects your declaration by updating it whenever you issue
ahatch run .... This helps with reproducability and avoids forgetting to specify dependencies since the
hatch workflow is to specify everything directly inpyproject.toml. Only in rare cases, you
will usehatch shellto enter thedefaultenvironment, which is similar to what you may know from other tools.To get you started, usehatch run covorhatch run no-covto run the unitest with or without coverage reports,
respectively. Usehatch run lint:allto run all kinds of typing and linting checks. Try to automatically fix linting
problems withhatch run lint:fixand usehatch run docs:serveto build and serve your documentation.
You can also easily define your own environments and commands. Check out the environment setup of hatch
inpyproject.tomlfor more commands as well as the package, build and tool configuration.CreditsThis package was created withThe Hatchlorproject template.
Package: octogit
Afreeandopen sourceinterface to github from the command line. Avoid the usual copy and paste when creating repositories, keep up to date on issues, and much more.–Everybody loves more tentacles.InstallationInstalling using pip.pip install octogitUsing OctogitAvailable commands.octogit login
# allows you to store your github authentication data

octogit create <reponame> 'description'
# lets you create the repository both locally and on github

octogit issues
# lets you see all the related issues in the current repository

octogit issues <number>
# lets you see a specific issue with summary

octogit issues <number> close
# lets you close an issueContributeIf you would like to contribute simply fork this project and add yourself to the AUTHORS.txt along with some changes hopefully and submit a pull request.
Package: octogrid
GitHub following network visualizer for Humansoctogrid in actioninteractive versionInstallationpip install octogridIf you are facing issues (on Linux) with ‘python-igraph’, you should consider installing required libraries first.apt-get install -y libigraph0-devHow toYou need tocreate an accounton Plotly to see your visualizations, it’s free.Once you have an account there, execute the following in your terminal to setup your user credentials.python -c “import plotly; plotly.tools.set_credentials_file(username=’USERNAME’, api_key=’APIKEY’)”Your API key can be collectedfrom here.All these steps aren’t compulsory, though. If you leave them,octogridwill create plots via its own account.Usageoctogrid generate [–reset] [–user=<username>]Generate the GML file for user representing its GitHub following graphoctogrid publish [–reset] [–user=<username>]Publish the user’s GitHub community graph using Plotly–reset(optional) flag is used to clear the cache storage for a given userPowered ByLicenseMIT ©Plotly.
Package: octohot
octohotA git command automation for multiple repositoriesInstallationpip3 install octohotFirst useCreate a octohot.yml in an empty folder with organization name, your token and a optional
repo list.octohot.yml examplegithub_organization: Hotmart-Org
github_token: <GITHUB_TOKEN>
repositories:
- git@github.com:organization/repo1.git
- git@github.com:organization/repo2.git
- git@github.com:organization/repo3.gitSync, replace and apply usageoctohot github org import # import all repositories from organization to octohot.yml
octohot sync # Clone, reset, delete unpushed Branches, pull all repos in octohot.yml
octohot regex find "[A-Z]*" # Find all upper case words
octohot regex replace "[0-9]*" "" # remove all numbers
octohot regex replace "foo" "baz" # replace foo to baz 
octohot apply # Pull, branch, add, commit, push and make a optional PRMain commandsClone, reset, delete unpushed branches, pull all reposoctohot syncPull, create branch, add, commit, push and make an optional PR on all branchesoctohot applySome examples you can do:$octohotapply-pr<branch_from_pr><PRtitle><PRmessage>

Options:
$octohotapply-pr--origin-branchmain<pr_branch><PRtitle><PRmessage>
$octohotapply-pr--default-branch<branch_from_pr><PRtitle><PRmessage>This case, if you choose for --default-branch, during the push, the branch that will be compared default_branch of the
repository. If you choose for --origin-branch/-o, during the push, they will be the ones chosen to be compared
(in order).All Commandsoctohot --helpgit Providergit provider for octohotoctohot git --helpCreate/Change branch in all reposoctohot git branchClone all reposoctohot git cloneCommit added changes in all reposoctohot git commitGet diff from all reposoctohot git diffPull all reposoctohot git pullPush all reposoctohot git pushReset all reposoctohot git resetGitHub ProviderGitHub provider for octohotoctohot github --helpMake a PR in all GitHub repos from a specific branchoctohot github prImport all repositories to octohot.yml config file from a Organization from
GitHuboctohot github org importList all repositories to octohot.yml config file from a Organization from
GitHuboctohot github org listRegEx ProviderPerl RegEx provider for octohotoctohot regex --helpFind a regular expression in all repos and list files and matchesoctohot regex findFind and replace a string in all reposoctohot regex replaceContributingPull requests for new features, bug fixes and suggestions are welcome!LicenseGNU General Public License v3 (GPLv3)
Package: octo-infra-aws-python
Octo Infra AWSInfra library for AWS operationsEncapsulates some actions in classes to easier perform actions such as VPC access or EC2 accessInstallingThe infra-aws requires Python 3.8+In order to install octo-infra-aws, you can install it directly from pypi:pip3installocto-infra-aws-pythonUsageThe library has a few helper classes:EC2NetworkSSMServiceDiscoveryS3AMISTSAll of the helpers above supply functions to easily manage different actionsCreating / Destroying a VPC along with all its resources:gw_id:Optional[str]=Network.create_internet_gateway(CreateInternetGateway(internet_gateway_name="InternetGW",tags={"a":"b"}))vpc_id:Optional[str]=Network.create_vpc(CreateVPC(cidr_block="10.0.0.0/16",vpc_name="VPC",internet_gw=gw_id,is_public=True,tags={"a":"b"}))Network.destroy_vpc(DestroyVPC(vpc_id=vpc_id,full_cleanup=True))Creating EC2 Instance:EC2.create_ec2_instance(CreateEC2(vpc_id="vpc-12345,subnet_id="subnet-12345",instance_name="ec2",instance_type="t2.small",wait_until_finished=True,extra_startup_wait_time_seconds=30,security_group="sg-12345",keypair="keypair",ami="ami-12345",tags={"a":"b"},user_data="rm -rf"),instance_count=3)More usages can be found in code
Package: octokitpy
Python client for GitHub APIInstallationNote octokit and octokit.py were already taken in the cheese shoppip install octokitpyDocumentationhttps://octokitpy.readthedocs.io/en/latest/ExamplesREST API:from octokit import Octokit
repos = Octokit().repos.list_for_user(username="octokit")
for repo in repos.json:
    print(repo["name"])
# Make an unauthenticated request for octokit's public repositoriesWebhooks:from octokit import webhook
webhook.verify(headers, payload, secret, events=['push'])octokit.pyprovides a function to verifywebhookssent to your application.headersdictionary of request headerspayloadstring; payload of requestsecretstring; secret provided to GitHub to sign webhookeventslist; events that you want to receiveverify_user_agentboolean; whether or not you want to verify the user agent string of the requestreturn_app_idboolean; whether or not you want to return the app id from the ping event for GitHub applications. This will only return theidif the event is thepingevent. Otherwise the return value will be boolean.Note that webhook names are available atfrom octokit_routes import webhook_namesAuthenticationInstantiate a client with the authentication scheme and credentials that you want to use.basic:octokit = Octokit(auth='basic', username='myuser', password='mypassword')token:response = Octokit(auth='token', token='yak').authorization.get(id=100)app:octokit = Octokit(auth='app', app_id='42', private_key=private_key)app installation:octokit = Octokit(auth='installation', app_id='42', private_key=private_key)For applications, provide the application id either from the ping webhook or the application’s page on GitHub.
Theprivate_keyis a string of your private key provided for the application.
Theappscheme will use the application id and private key to get a token for the first installation id of the application.API Schema/Routes/SpecificationsOne can instantiate theOctokitwithroutes=specificationwhere thespecificationis one ofapi.github.com,ghe-2.15, etc.DataTheoctokitclient based on the availableroute dataandwebhook dataTODOsGitHub APIs[-] REST (see best practices, integration tests, and errors)

[ ] GraphQL client

[x] GitHub Apps

[ ] OAuth Apps

[x] WebhooksTests[x] unit tests

[ ] integration tests - need fixtures to assert against

[x] coverage uploaded to code climateErrors[ ] Raise `OctokitValidationError` for param validation error

[ ] Raise `OctokitAuthenticationError` for auth error

[ ] Raise `OctokitRateLimitError` for rate limiting errorsBest Practices[ ] throttling

[ ] handles rate limiting

[x] paginationDocumentation[ ] Auto generated documentationDeployment[x] Deploy wheels

[ ] GitHub releasesCheck box guide[ ] Incomplete

[-] Partially completed

[x] CompletedDevelopmentTo run the all tests run:toxContributingPull requests are very welcome!Please see CONTRIBUTING.md for more information.CreditsPackage based oncookiecutter-pylibraryLicenseMITChangelog0.13.0Breaking changesChange to OpenAPI specificationsRemove python 3.5 supportRemove caching of parameters between callsMethod parameters are typed checked to the OpenAPI schemas0.1.0 (?)First release on PyPI.
Package: octoliner
OctolinerPiA library for Raspberry Pi to interface with the AmperkaOctoliner8-channel line sensor.InstallationOpen the terminal on your Raspberry Pi and usepipto install the library:pip3installoctolinerIf you haven’t enabled I²C support in your Raspbian Linux yet, run the configuration tool to turn it on:sudoraspi-configThen: Interfacing Options → I2C → Yes (enable) → Yes (autoload) → <Finish> → Yes (reboot). The setting preserves across reboots.Testing connection$python3-moctoliner00.50.67501#Ctrl+CtoexitAPIQuickstart example:importtime# Import the class required# from the library octolinerfromoctolinerimportOctoliner# Sensor on the standard bus and addressoctoliner=Octoliner()# Lower sensitivity to 80%octoliner.set_sensitivity(0.8)whileTrue:# Read all channel valuesvalues=[octoliner.analog_read(i)foriinrange(8)]# Print them to consoleprint(values)# Repeat forever, twice per secondtime.sleep(0.5)See fullAPI reference in API.md.
Package: octomachinery
octomachinery: Bots Without BoilerplateInvisible engine driving octobot machines. Simple, yet powerful.Web-site @https://octomachinery.dev. Stay tuned!How-to create a GitHub Bot tutorialis ready for preview
@tutorial.octomachinery.devElevator pitchHere’s how you 👍 a just-created comment:fromoctomachinery.app.server.runnerimportrunasrun_appfromoctomachinery.routingimportprocess_event_actionsfromoctomachinery.routing.decoratorsimportprocess_webhook_payloadfromoctomachinery.runtime.contextimportRUNTIME_CONTEXT@process_event_actions('issue_comment',{'created'})@process_webhook_payloadasyncdefon_comment(*,action,issue,comment,repository=None,sender=None,installation=None,assignee=None,changes=None,):github_api=RUNTIME_CONTEXT.app_installation_clientcomment_reactions_api_url=f'{comment["url"]}/reactions'awaitgithub_api.post(comment_reactions_api_url,preview_api_version='squirrel-girl',data={'content':'+1'},)run_app(name='Thumbs-Up-Bot',version='1.0.0',url='https://github.com/apps/thuuuuuuuuuuuuuumbs-uuuuuuuuuuuup',)PrerequisitesPython 3.7+Contribute octomachineryWant to add something to upstream?Feel free to submit a PR or file
an issue if unsure.
Note that PR is more likely to be accepted if it includes tests and
detailed description helping maintainers to understand it better 🎉Oh, and be pythonic, please 🐍Don’t know how?Check outHow to Contribute to Open Sourcearticle by GitHub 🚀LicenseThe source code and the documentation in this project are released under
theGPL v3 license.For Enterpriseoctomachinery is available as part of the Tidelift Subscription.The octomachinery maintainers and the maintainers of thousands of other packages
are working with Tidelift to deliver one enterprise subscription that covers
all of the open source you use.Learn more.
Package: octomap-python
octomap-pythonPython binding ofthe OctoMap library.Installationpipinstalloctomap-pythonExamplegitclonehttps://github.com/wkentaro/octomap-python.git&&cdoctomap-python
pipinstall-e'.[example]'cdexamples
pythoninsertPointCloud.pyAcknowledgementThis is a fork ofneka-nat/python-octomap.
Package: octomap-python-messy
octomap-pythonPython binding ofthe OctoMap library.Installationpipinstalloctomap-pythonExamplegitclone--recursivehttps://github.com/wkentaro/octomap-python.git&&cdoctomap-python
pipinstall-e'.[example]'cdexamples
pythoninsertPointCloud.pyAcknowledgementThis is a fork ofneka-nat/python-octomap.
Package: octomotron
OctomotronOctomotron is a tool for rapidly deploying multiple evaluation instances of a
webapp from branches stored in git.  Octomotron sets up intances using
zc.buildout and mr.developer.  Developers using Octomotron will need to provide
a buildout configuration as well as a plugin written in Python that Octomotron
can call into for logic pertaining to your application.Currently in alpha.Changelog for Octomotron0.1 (Unreleased)Initial release.
Package: octomy-batch
About batchBatch is a batch tasks queue and executor in PyPi package form. See alsohttps://gitlab.com/octomy/batch-basefor Docker image based on this.Batch isavailable on gitlab.Batch isavailable in PyPI.# Clone git repositorygitclonegit@gitlab.com:octomy/batch.git# Install into your current Python environmentpipinstalloctomy-batch
Package: octo-onedrive
OctoPrint OneDrive Communication ModuleThis is used in my two plugins -OctoPrint OneDrive BackupandOctoPrint OneDrive File Sync.It is made for my own purposes to unify the code across the two plugins, making maintenance a bit easier. As such it has no documentation or stable API guarantees and I don't recommend you try and use it for your project.It is hosted on PyPi and can be installed with pip:pip install octo-onedrive
Package: octoparse
OctoparseUnofficial Octoparse API client in pythonWith support for Advanced API and China as wellInstallation:use pip to install:pip install octoparseCredentials:3 methods are supported as below:1) Support for ENV variablesInclude the following as environment variables:export OCTOPARSE_USERNAME=octoparse_user
export OCTOPARSE_PASSWORD=octoparse_passwd2) Support for.envfileInclude the following in.envfile in script directory:OCTOPARSE_USERNAME=octoparse_user
OCTOPARSE_PASSWORD=octoparse_passwd3) Manual input of username & passwordInput username & password manually once from prompt:Enter Octoparse Username: octoparse_user
Password:Example usage:from octoparse import Octoparse

# initialize api client
# it will try to log in & ask for credentials if required
octo = Octoparse()

# if using advanced API:
octo = Octoparse(advanced_api=True)

# if using from China:
octo = Octoparse(china=True)

# List all task groups
groups = octo.list_all_task_groups()

# List all tasks in a group
tasks = octo.list_all_tasks_in_group(group_id='xxxx-ssdsd-1212')

# Check if a task is currently running. This isn't provided in Standard API.
status = octo.is_task_running(task_id='abcd-1234-djfsd-dfdf')

# Export the not exported data
data = octo.get_not_exported_data(task_id='abcd-1234-djfsd-dfdf', size=100)

# Update data status
resp = octo.update_data_status(task_id='abcd-1234-djfsd-dfdf')

# get all the data for a task with task id: 'abcd-1234-djfsd-dfdf'
data = octo.get_task_data(task_id='abcd-1234-djfsd-dfdf')

# get all the task data as a pandas.DataFrame for a task with task id: 'abcd-1234-djfsd-dfdf'
df = octo.get_task_data_df(task_id='abcd-1234-djfsd-dfdf')

# get an offset of data for a task with task id: 'abcd-1234-djfsd-dfdf'
# e.g get 100 rows starting from 200
data = octo.get_task_data(task_id='abcd-1234-djfsd-dfdf', offset=200, size=100)

# fetch task data in a loop using the generator function:
for data in octo.get_task_data_generator(task_id='abcd-1234-djfsd-dfdf', offset=200, size=100):
    print(data)
    do_something_with_data()

# clear data for a task with task id: 'abcd-1234-djfsd-dfdf'
octo.clear_task_data(task_id='abcd-1234-djfsd-dfdf')Following are supported for Advanced API# Get Tasks' status
task_list = ['abcd-1234-djfsd-dfdf', 'ab23-5677-djfsd-dfdf']
resp = octo.get_task_status(task_list)

# Get Task's parameter
resp = octo.get_task_param(task_id='abcd-1234-djfsd-dfdf', name='loopAction1.Url')

# Update Task's parameter
resp = octo.update_task_param(task_id='abcd-1234-djfsd-dfdf', name='loopAction1.Url', value='http://xyz.abc')

# Add new URLs/text to an existing loop
resp = octo.add_url_text_to_loop(task_id='abcd-1234-djfsd-dfdf', name='loopAction1.Url', value='http://xyz.abc')

# Start running task
resp = octo.start_task(task_id='abcd-1234-djfsd-dfdf')

# Stop running task
resp = octo.stop_task(task_id='abcd-1234-djfsd-dfdf')
Package: octoparse-python
octoparse-pythonoctoparse-python is an API wrapper for Octoparse written in PythonInstallingUsageClient instantiationfrom octoparse.client import Client

client = Client(advanced_api=True)Get a new tokenr = client.new_token('OCTOPARSE USERNAME', 'OCTOPARSE PASSWORD')Refresh a tokenr = client.refresh_token('REFRESH_TOKEN')Set access token to clientclient.set_access_token('ACCESS_TOKEN')List all task groupsr = client.list_task_groups()List all tasks in a groupr = client.list_group_tasks('GROUP_ID')Get task statusTASK_LIST = ['TASK_ID1']
r = client.get_task_status(TASK_LIST)

Task status code:
0 = Running,
1 = Stopped,
2 = Completed,
3 = Waiting,
5 = Never RunGet task parametersConfiguration parameter name (navigateAction1.Url,loopAction1.UrlList,loopAction1.TextList, etc.)

r = client.get_task_parameters('TASK_ID', 'navigateAction1.Url')Update task parametersConfiguration parameter name (navigateAction1.Url,loopAction1.UrlList,loopAction1.TextList, etc.)

r = client.update_task_parameters('TASK_ID', 'navigateAction1.Url', 'https://url.com')Start running taskr = client.start_task('TASK_ID')Stop running taskr = client.stop_task('TASK_ID')Clear datar = client.clear_data('TASK_ID')Export Non-exported Datar = client.export_non_exported_data('TASK_ID', 'SIZE')Update Data Statusr = client.update_data_status('TASK_ID')Update Data Statusr = client.get_data_by_offset('TASK_ID', 'OFFSET', 'SIZE')
Package: octopasty
This project intends to be a replacement of octopasty-og.
Octopasty-og was an intent to be a replacement of astmanproxy.The documentation is available in file docs/octopasty.org.  See the
Installation section to get started.The Octopasty team, 2012-10-30.Note from Jean Schurger:
The real author of ‘octopasty’ is François Pinard.
The Octopasty-og code is available for curiosity purpose here:https://github.com/jeansch/octopasty-og