Saravanan666/pypi-org huggingface dataset:
Package: origin-etl
Ethereum ETLEthereum ETL lets you convert blockchain data into convenient formats like CSVs and relational databases.Do you just want to query Ethereum data right away? Use thepublic dataset in BigQuery.Full documentation available here.QuickstartInstall Ethereum ETL:pip3installethereum-etlExport blocks and transactions (Schema,Reference):>ethereumetlexport_blocks_and_transactions--start-block0--end-block500000\--blocks-outputblocks.csv--transactions-outputtransactions.csv\--provider-urihttps://mainnet.infura.io/v3/239a1d18eba14f0f9dc1c882de0dc872Export ERC20 and ERC721 transfers (Schema,Reference):>ethereumetlexport_token_transfers--start-block0--end-block500000\--provider-urifile://$HOME/Library/Ethereum/geth.ipc--outputtoken_transfers.csvExport traces (Schema,Reference):>ethereumetlexport_traces--start-block0--end-block500000\--provider-urifile://$HOME/Library/Ethereum/parity.ipc--outputtraces.csvStream blocks, transactions, logs, token_transfers continually to console (Reference):>pip3installethereum-etl[streaming]>ethereumetlstream--start-block500000-eblock,transaction,log,token_transfer--log-filelog.txt\--provider-urihttps://mainnet.infura.io/v3/239a1d18eba14f0f9dc1c882de0dc872Find other commandshere.For the latest version, check out the repo and call>pip3install-e.>python3ethereumetl.pyUseful LinksSchemaCommand ReferenceDocumentationExporting the BlockchainQuerying in Amazon AthenaQuerying in Google BigQueryQuerying in KaggleAirflow DAGsPostgres ETLRunning Tests>pip3install-e.[dev,streaming]>exportETHEREUM_ETL_RUN_SLOW_TESTS=True
>pytest-vvRunning Tox Tests>pip3installtox
>toxRunning in DockerInstall Dockerhttps://docs.docker.com/install/Build a docker image> docker build -t ethereum-etl:latest .
 > docker image lsRun a container out of the image> docker run -v $HOME/output:/ethereum-etl/output ethereum-etl:latest export_all -s 0 -e 5499999 -b 100000 -p https://mainnet.infura.io
 > docker run -v $HOME/output:/ethereum-etl/output ethereum-etl:latest export_all -s 2018-01-01 -e 2018-01-01 -p https://mainnet.infura.ioRun streaming to console or Pub/Sub> docker build -t ethereum-etl:latest -f Dockerfile .
 > echo "Stream to console"
 > docker run ethereum-etl:latest stream --start-block 500000 --log-file log.txt
 > echo "Stream to Pub/Sub"
 > docker run -v /path_to_credentials_file/:/ethereum-etl/ --env GOOGLE_APPLICATION_CREDENTIALS=/ethereum-etl/credentials_file.json ethereum-etl:latest stream --start-block 500000 --output projects/<your-project>/topics/crypto_ethereumProjects using Ethereum ETLGoogle- Public BigQuery Ethereum datasetsNansen by D5- Analytics platform for Ethereum
Package: originpro
originproThis package contains a high-level API for interacting with the Origin software via the Origin Automation Server COM interface. Functionality includes (but is not limited to) reading, writing, and modifying data and creating and exporting graphs. An instance of Origin is launched (either visible or hidden) when using this package.InstallationThis package is Windows only and requires either a local installation of Origin 2021 or later.To install the package, run:pip install originproAs part of the installation, theOriginExt packagewill also be installed.DocumentationDocumentation and examples are available in theOriginLab External Python Documentation.SupportSupport is available on theOrigin Forum for Python.Simple Exampleimportosimportoriginproasopop.set_show()x_vals=[1,2,3,4,5,6,7,8,9,10]y_vals=[23,45,78,133,178,199,234,278,341,400]wks=op.new_sheet('w')wks.from_list(0,x_vals,'X Values')wks.from_list(1,y_vals,'Y Values')gp=op.new_graph()gl=gp[0]gl.add_plot(wks,1,0)gl.rescale()fpath=op.path('u')+'simple.png'gp.save_fig(fpath)print(f'{gl}is exported as{fpath}')op.exit()
Package: origo-lambda-helpers
Logging for LambdaBased onStructlog.Structured and enriched logging for AWS Lambda functions.TL;DR:Decorate handler withlogging_wrapperEncrich logs with key/value pairs usinglog_addTime functions withlog_durationLog exceptions withlog_exceptionUsageWrap your lambda handler withlogging_wrapper. Badabing badabom, you're good to go!You can set the service name using thelogging.initmethod, or configure it using
theSERVICE_NAMEenvironment variable.fromdataplatform.awslambdaimportloggingfromdataplatform.awslambda.loggingimportlogging_wrapperlogging.init("my_fantastic_lambda")@logging_wrapperdefhandler(event,context):iferror:return{"statusCode":500,"body":"Automatically logs bodies from error responses even!",}Encriching logsBy automagic logs will be enriched with git revisions, cold start y/n call
duration and much more, but to add even more magic you can uselog_addandlog_duration.fromdataplatform.awslambda.loggingimportlogging_wrapper,log_add,log_duration@logging_wrapperdefhandler(event,context):log_add(dataset=event["dataset"],foo=context["foo"])log_duration(lambda:slow_thinger(event["dataset"]),"my_slow_thinger")...andsoondefslow_thinger():sleep(9999999999999999)ExceptionsStruct log can extract exception info if we log the exception to the specialexc_infokey.For convenience we catch and log uncaught exceptions using this already.If you need to process an exception you can uselog_exceptionto log it to
theexc_infokey.fromdataplatform.awslambda.loggingimportlogging_wrapper,log_exception@logging_wrapperdefhandler(event,context):try:thing()exceptMyExceptionase:log_exception(e)return{...}
Package: orijin-sdk
# Orijin-SDK for Python 3.10
Originally intended for internal use and just called python-tools, this SDK can act as a frontend client and allow you to replicate calls made by the brand platform and mobile apps.  This project was built on top of the Old-Orijin data migration tool, but has since had significant overhauls.## Package Description
This repo contains the Orijin SDK for Python.This library was built for python-3.10.1Install the latest release withpip install –upgrade orijin-sdkor clone this repo and install withpip install -e /path/to/repo/See the scripts in/scripts/for simple examples or the demon in/demo/for a more in-depth guide to fully utilize this package.## UsageThis package doesn’t have a specific usage, rather it is a collection of helpful functions to make building python apps that connect to the Orijin system easier.See/scripts/and/demo/for examples.## Development SetupTo contribute to this sdk, clone this repo and run the following from the clone’s root folder.### Create or enter a virtual environment (Optional):` py-mvenv .venv         # Run once ./venv/Scripts/activate  # Run every time `### Install requirements:` pip install-rrequirements.txt `### Compile from sourceTo install the orijin-sdk from source, run:` pip install-e. `> Replace.with/path/to/repoto install from another directoryGo into a Python cli (runpy) and test frequently that everything is working as expected during development.
Runexit()or[Ctrl-Z], [enter]to leave the cli.## Release Development SetupThese additional steps are only requiered if you’re contributing to a distributable build.Seehttps://packaging.python.org/en/latest/tutorials/packaging-projects/for full instrutctions.
The guide below has instructions written for Windows, though the main difference is just using the commandpyinstead ofpython3.### First Time SetupInside your environment, install the following additional tools:Python Build Tool:py -m pip install –upgrade buildPyPi Upload Tool:py -m pip install –upgrade twineAnd set up a second venv for testing:py -m venv testing### BuildIncrement the version number (<major>.<minor>.<patch>) insetup.pyTo build a new distributable, run:` py-mbuild `> You can see your builds in the/dist/folder, though you don’t need to use them locally.### Test UploadTest your build by uploading it to Test PyPi first:` py-mtwine upload--repositorytestpypi dist/* `And install that upload in your testing environment:` testing/Scripts/activate py-mpip install--index-urlhttps://test.pypi.org/simple/--no-deps--upgradeorijin-sdkpy-mpip install-rrequirements.txt `Go into a Python cli (runpy) and test everything is still working as expected.Once you’re done testing remember to return to your project venv:.venv/Scripts/activate### ReleaseUpload to PyPi:` py-mtwine upload dist/* `
Package: oriloc
oriloc本库用于定位oriloc主要包括四个函数：1、distance 用于求两点距离；2、tria 用于三角定位；3、cir 用于求两个圆交点；4、angle 用于两点角度定位；This package is used for locationoriloc includes four functions:"distance" is used to get the distance between two points;"tria" is used for triangulation;"cir" is used to get the intersection of two circles;"angle" is used for two-point angle positioning.
Package: orion.algo.robo
This wrapper provides access throughOríonto several Bayesian optimization algorithms
in the libraryRoBO.Thisorion.algoplugin was generated withCookiecutteralong with@Epistimio’scookiecutter-orion.algotemplate.InstallationThe RoBO wrapper is currently only supported on Linux.Before installing RoBO, make sure you havelibeigenandswiginstalled.
On ubuntu, you can install them withapt-get$sudoapt-getinstalllibeigen3-devswigOne of the dependencies of RoBO does not declare its dependencies and therefore we need
to install these dependencies first. The order of dependencies inrequirements.txtreflects this order. To install them sequentially, use the following command$curl-shttps://git.io/JLnCA|grep-v"^#"|xargs-n1-L1pipinstallFinally, you can install this package using PyPI$pipinstallorion.algo.roboContribute or AskDo you have a question or issues? Do you want to report a bug or suggest a feature? Name it! Please
contact us by opening an issue in our repository below and checkout Oríon’scontribution guidelines:Issue Tracker:https://github.com/Epistimio/orion.algo.robo/issuesSource Code:https://github.com/Epistimio/orion.algo.roboStart by starring and forking our Github repo!Thanks for the support!CitationIf you use this wrapper for your publications, please cite bothRoBOandOríon. Please also cite
the papers of the algorithms you used, such as DNGO or BOHAMIANN. See
the documentation of the algorithms to find corresponding original papers.LicenseDistributed under the terms of the BSD-3-Clause license,orion.algo.robois free and open source software.
Package: orion.algo.skopt
This package is a plugin forOríon, providing a wrapper forskoptoptimizers.For more information, you can find the documentationhere.InstallationYou can installorion.algo.skoptvia pip from PyPI$pipinstallorion.algo.skoptContribute or AskDo you have a question or issues?
Do you want to report a bug or suggest a feature? Name it!
Please contact us by opening an issue in our repository below:Issue Tracker:https://github.com/epistimio/orion/issuesSource Code:https://github.com/epistimio/orionStart by starring and forking our Github repo!Thanks for the support!CitationIf you use this wrapper for your publications, please cite bothscikit-optimizeandOríon.LicenseDistributed under the terms of the BSD-3-Clause license,orion.algo.skoptis free and open source software.
Package: orionbot
OrionBot: A Python bot training frameworkOrionBot is a Python library that allows you to easily train and run chatbots, fully customizable.InstallationTo install OrionBot, simply use pip:pipinstallorionbotUsageTo use OrionBot, simply import theChatbotclass and create a new instance with a name:fromorionbotimportChatbotbot=Chatbot("My Bot")TrainingYou can train your bot by calling thetrainmethod with an input text and a response text:bot.train("Hi","Hello there!")You can also train your bot from a file:bot.train_from_file("training_data.json")Or, you can train your bot from the default file:bot.train_from_default_file()Getting ResponsesTo get a response from your bot, simply call theget_responsemethod with an input text:response=bot.get_response("Hi")print(response)# "Hello there!"If your bot does not understand the input text, it will return a default response. You can set this response by calling theset_no_response_messagemethod:bot.set_no_response_message("I'm sorry, I didn't understand that.")Training ToggleYou can enable or disable training by calling theenable_trainingordisable_trainingmethods:bot.enable_training()bot.disable_training()ExamplesHere are some examples of how to use OrionBot:Example 1: Simple greeting botfromorionbotimportChatbotbot=Chatbot("Greeting Bot")bot.train("Hi","Hello there!")bot.train("Hello","Hi there!")bot.train("Hey","Hiya!")print(bot.get_response("Hi"))# "Hello there!"print(bot.get_response("Hey"))# "Hiya!"print(bot.get_response("What's up?"))# "I'm sorry, I didn't understand that."Example 2: Movie recommendation botfromorionbotimportChatbotbot=Chatbot("Movie Bot")bot.train("What's a good movie to watch?","I recommend watching The Shawshank Redemption.")bot.train("What's your favorite movie?","My favorite movie is The Godfather.")bot.train("Have you seen Inception?","Yes, Inception is a great movie!")print(bot.get_response("What's a good movie to watch?"))# "I recommend watching The Shawshank Redemption."print(bot.get_response("What's your favorite movie?"))# "My favorite movie is The Godfather."print(bot.get_response("Have you seen The Matrix?"))# "I'm sorry, I didn't understand that."You can find more information on ourGitHub repositoryTable of ContentsOverviewTraining GuideThe Chatbot classPreprocessing MethodTraining MethodTrain from an existing datasetTraining Mode"No Response Message"
Package: orioncrawlers-pkg-rioatmadja2018
## PORTFOLIO ORION Search Engine—
Python wheels for Orion Search Engines### Technologies
1. Python 3.6
2. PhantomJS
3. Selenium### LICENSE
—
MIT LicenseCopyright (c) 2020 ratmadjadsPermission 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: oriondsc-pkg-rioatmadja2018
## PORTFOLIO ORION Search Engine—
This is an implementation of Search Engines### Technologies
1. Python 3.6
2. Mysql
3. Linux### LICENSE
—
MIT LicenseCopyright (c) 2020 ratmadjadsPermission 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: orionframework
Orion FrameworkPython library companion for the Orion FrameworkHow to build from sourcegitclone...cdorionframework
python3-mvenv.python-envsource.python-env/bin/activate
pipinstall-rrequirements.txt## at least once to set up all your libraries needed to build#sourcescripts/pre-build.sh## actually build the local package#sourcescripts/build.shPYPITo set credentials to publish you may run the following command:python3 -m keyring sethttps://upload.pypi.org/legacy/orionframework
Package: orionmlengines-pkg-rioatmadja2018
# ML EnginesML Engines modules for Orion Projects with the following functionalities:SupervisedClassificationRegressionUnsupervisedKMeansSVM (Support Vector Machines)### Dependencies:
- Sklearn
- Pandas
- Numpy
- Seaborns# MIT License##### Copyright (c) 2020 ratmadjadsPermission 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: orion-seismic-forecast
# Welcome to the ORION Toolkit!Coming soon!## DocumentationOur documentation is hosted [here](https://nrap.gitlab.io/orion/index.html).## Who develops Orion?Lawrence Livermore National LaboratoryLawrence Berkeley National Laboratory## LicenseOrion is distributed under the terms of the MIT license.
See [LICENSE](https://gitlab.com/NRAP/orion/-/blob/develop/LICENSE),
[COPYRIGHT](https://gitlab.com/NRAP/orion/-/blob/develop/COPYRIGHT),
[NOTICE](https://gitlab.com/NRAP/orion/-/blob/develop/NOTICE), and
[ACKNOWLEDGEMENTS](https://gitlab.com/NRAP/orion/-/blob/develop/ACKNOWLEDGEMENTS), for details.LLNL-CODE-842148
Package: orionservermanager-pkg-rioatmadja2018
## ORION Server Managers—
Python wheels for Orion Search Engines that extends Paramiko functionalies### Technologies
1. Python 3.6
2. Fabric### LICENSE
—
MIT LicenseCopyright (c) 2020 ratmadjadsPermission 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: oris
ORIS for PythonThis is a library for the analysis of discrete-event models governed
byinteger variablesandcontinuous timers:Variableshold positive or negative integers. They represent theobservable stateof the system. For example, the variablequeuecould store the current number of customers.Timerstrack the continuous time to events that change state
variables:A timer is enabled if itsguardis satisfied. In the queue
example, theservicetimer is enabled whenqueue > 0.The value of the timer is sampled according to a probability
distribution; for example,Unif(1, 2)samples a random value
between 1 and 2.When the timer elapses, it can trigger a change in the state
variables, for example,queue = queue-1afterservice. This
change can start other timers (because their guards are now
satisfied) or disable them (the guards are not satisfied
anymore).The example of a single-server queue with capacity of 200, Poisson
arrivals (exponential interarrival times) and uniform service times
looks like this:fromorisimport*b=ModelBuilder()# for each variable: name, initial value, min, max (defaults: 0, 0, 'inf')b.var('queue',1,0,200)# for each timer: name, guard, distribution, state updateb.timer('arrival','True',Exp(0.5),'queue=min(queue+1, max_value(queue))')b.timer('service','queue>0',Unif(1,2),'queue-=1')m=b.build()Once you have a model, you cananalyze its state space (e.g., can you reach a goal state within time 10?)use simulation to evaluate rewards (e.g., average number of customers in the queue)Learn more in themanual.How to InstallTo install ORIS:pip3.7 install oris --user --upgrade(you need Python 3.7)To have a working Python 3.7 environment on Linux, macOS, or Windows,
we recommend usingminicondaand Jupyter notebooks:Linux and macOScurl-Ohttps://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bashMiniconda3-latest-Linux-x86_64.sh-b-p$HOME/.miniconda$HOME/.miniconda/condabin/condainitbash
bashFor macOS, replaceLinuxwithMacOSXin the first two commands.
If you are using macOS Catalina, replacebashwithzsh.Windows: run theminiconda installerselecting "Add Anaconda to
my PATH".Now you can create an environment for ORIS:conda config --set auto_activate_base false
conda create -y -n oris python=3.7 scipy matplotlib numba jupyter
conda activate oris
pip install orisEvery time you want to use ORIS, you can run:conda activate oris
jupyter notebookIf you'd like to avoid installing anything at all:Just use ORIS
insideGoogle Colaboratory. The only thing you need is:!pip3installorisat the beginning of your notebook.
Package: orix
orix is an open-source Python library for analysing orientations and crystal symmetry.The package defines objects and functions for the analysis of orientations represented
as quaternions or 3D rotation vectors accounting for crystal symmetry. Functionality
builds primarily onNumPyandMatplotliband is heavily inspired by the MATLAB packageMTEX.orix is released under the GPL v3 license.DocumentationRefer to thedocumentationfor detailed installation
instructions, a user guide, and thechangelog.Installationorix can be installed withpip:pip install orixorconda:conda install orix -c conda-forgeYou can also visitPyPI,AnacondaorGitHubto download the source.Further details are available in theinstallation guide.Citing orixIf analysis using orix forms a part of published work please cite the paper (journal,arXiv) and/orthe software.
Package: orji
OrJiOrJi is a command line tool to generate text files usingjinja2andorgmodefiles. It can be used to generate LaTeX, Markdown or HTML or any other kind of text from an orgmode file.It is somewhat inspired byj2cli.QuickstartSimple org mode file used with simple template.simple.org* A normal note

Just a note

* TODO Wash car :morning:

Car wash.

* TODO File taxes :evening:

File taxes for wife too.

* DONE Watch TVsimple.jinja2{% for note in root %}
{%- if note.state == "TODO" -%}
# {{ note.name }} ({% for tag in note.tags %}{{ tag }}{% endfor %})

{{ note.body }}
{% endif %}
{% endfor %}Running:orjicatsimple.orgsimple.jinja2Will output:# Wash car (morning)

Car wash.

# File taxes (evening)

File taxes for wife too.Why?The practical itch I was scratching was editing and writing small blocks of content inorgzlyon my phone and being able to kick off a small script that either turned it into a nice letter PDF or CV pdf or updated the markdown on my website.It also lets me maintainseparation of concernson personal documents by keeping content in org files and style in jinja2 templates.InstallOrJi can be installed with pip:pipinstallorjiAs a command line app, it is typically best installed viapipx.pipxinstallorjiUsing OrJiDemonstration of all template featuresDeliberately trigger a template failureExample of Generated LaTeX A4 CVExample of Generated LaTeX A4 LetterConvert chunks of orgmode text into markdownUse a python module with template variables and methods