Saravanan666/pypi-org huggingface dataset:
Package: omise
Omise Python ClientPlease raise an issue or contactsupport@omise.coif you have any question regarding this library and the functionality it provides.InstallationIf you simply want to use Omise Python client in your application, you can install it usingpip:pip install omiseOreasy_installin case your system do not have pip installed:easy_install omiseThe Omise Python client officially supports the following Python versions:Python 2.7Python 3.7Python 3.8Python 3.9Python 3.10Python 3.11Any versions not listed heremaywork but they are not automatically tested.UsagePlease refer to examples in ourAPI documentation.
For basic usage, you can use the package in your application by importingomiseand setting the secret key:importomiseomise.api_secret='skey_test_4xsjvwfnvb2g0l81sjz'After the secret key is set, you can use all APIs which use secret key authentication.To create a new credit card charge, use Omise.js to create a new token and run the following:token_id="tokn_test_no1t4tnemucod0e51mo"# see https://www.omise.co/tokens-api#createcharge=omise.Charge.create(amount=100000,currency="THB",card=token_id,return_uri="https://www.omise.co/example_return_uri",)# <Charge id='chrg_test_5ktrim62oiosnrc1r41' at 0x105d6bf28>charge.status# 'successful'To create a new customer without any cards associated to the customer, run the following:customer=omise.Customer.create(description='John Doe',email='john.doe@example.com')# <Customer id='cust_test_4xtrb759599jsxlhkrb' at 0x7ffab7136910>Then to retrieve, update, and destroy that customer, run the following:customer=omise.Customer.retrieve('cust_test_4xtrb759599jsxlhkrb')customer.description='John W. Doe'customer.update()# <Customer id='cust_test_4xtrb759599jsxlhkrb' at 0x7ffab7136910>customer.destroy()customer.destroyed# TrueIn case of error (such as authentication failure, invalid card and others as listed inerrorssection in the documentation), the error of a subclassomise.errors.BaseErrorwill be raised.
Your application code should handle these errors appropriately.API versionIn case you want to enforce API version the application use, you can specify it by settingapi_version.
The version specified by this setting will override the version setting in your account.
This is useful if you have multiple environments with different API versions (e.g. development on the latest but production on the older version).importomiseomise.api_version='2019-05-29'It is highly recommended to set this version to the current version you're using.ContributingThe Omise Python client usestoxandDockerfor testing.
All changes must be tested against all supported Python versions.
You can run tests using the following instructions:InstallDockerRundocker run -it -v $(pwd):/app --rm $(docker build -q .)This command builds a Docker image using theDockerfile, mounts the current directory to the container's/appdirectory, and runs the default entrypoint for the image:/app/run-tox.sh.After you've made your changes and run the tests, please open aPull Request.LicenseSeeLICENSE.txt
Package: omitme
OmitMeYour Privacy-Centric, Easily Extendable Data Deletion Solution.Installpip install omitmeMay need to have chrome installed to function.Usageomitme-cli --helpExampleomitme-clidiscordlogin
omitme-clidiscordaccounts
omitme-clidiscordtargetmessages-delete-all--accountaccount_nameTested onLinux ✅Windows ❌MacOS ❌Supported platformsWorkingDiscordRedditPlannedMatrixTwitterIn-progressWork in progress GUI for Linux, MacOS & Windows.ContributingOmitme is built to be expandable to other platforms.See an examplehereThePlatformclassEach new platform, show inherit fromPlatform.classDiscord(Platform):Each platform class requires some metadata.iconshould be stored inomitme/resources/platformsclassDiscord(Platform):api_url="https://discord.com/api/v9"login_url="https://discord.com/login"alias="discord"icon="discord.png"description="Manage your discord data"LoginEach platform requires a login handler like so.driveris a instance ofseleniumwire's webdriver@loginasyncdefhandle_login(self,driver:webdriver.Chrome,accounts:Accounts)->httpx.AsyncClient:passOnce login is successful, the account should be stored safely usingaccounts.add& your custom HTTPX session should be returned.@loginasyncdefhandle_login(self,driver:webdriver.Chrome,accounts:Accounts)->httpx.AsyncClient:driver.get(self.login_url)...awaitaccounts.add(resp.json()["username"],session={"headers":headers})returnsessionTargetsTargets are the methods called when a user wants to omit something, e.g.omitme-cli reddit target posts-delete-all,posts-delete-allwould be our target.EventsCheckingEvent, API call in progress.OmittedEvent, data has been omitted.CompletedEvent, the omitting process is complete.@target("posts delete all",description="Delete all reddit posts")asyncdefhandle_delete_posts(self,session:httpx.AsyncClient)->AsyncIterator[OmittedEvent|CheckingEvent|FailEvent|CompletedEvent]:resp=awaitsession.get(f"/user/{awaitself._get_username(session)}/submitted",params={"timeframe":"all","limit":"100"},)forpostinresp.json()["data"]["children"]:awaitself._delete_post(session,post["kind"],post["data"]["id"])yieldOmittedEvent(channel=post["data"]["subreddit"],content=post["data"]["selftext"])yieldCompletedEvent()
Package: omjlcomps
omjlcomps: OpenMDAO Julia Componentsomjlcompsis a small Python package (actually, aOpenMDAO Plugin) that defines two classes,JuliaExplicitCompandJuliaImplicitComp, which inherit from OpenMDAO'sExplicitComponentandImplicitComponent, respectively.
These components work with a Julia package calledOpenMDAOCore.jlto create OpenMDAOComponentsthat call Julia code.
Specifically,JuliaExplicitCompandJuliaImplicitComptake instances of concrete subtypes ofOpenMDAOCore.ExplicitComponentandOpenMDAOCore.ImplicitComponentand turn them into instances ofJuliaExplicitCompandJuliaImplicitComp.
Like any other OpenMDAOExplicitComponentorImplicitComponentobjects,JuliaExplicitCompandJuliaImplicitCompinstances can be used in an OpenMDAO model, but call Julia code in their methods (compute,apply_nonlinear, etc.).
See theOpenMDAO.jl docsfor more information and examples.
Package: omkar-account-generator
Omkar Account Generator provides a convenient solution for creating
accounts. It is particularly useful for automated tasks that require
account creation in selenium.Getting StartedTo get started with Omkar Account Generator installomkar-account-generatorusing the following command:python-mpipinstallomkar-account-generatorUsagegenerate_account(gender, country)Generates an accountArgumentsgender(optional): The gender of the user account to generate.
Value can beGender.MEN,Gender.WOMEN,Gender.BOTH.
Default’s toGender.BOTHcountry(optional): The country of the user account to generate.
It accepts a value from theCountryenum. The default value isNone, which means the country can be any country.Examplefromomkar_account_generatorimportAccountGenerator,Gender,Countryaccount=AccountGenerator.generate_account(gender=Gender.WOMEN,country=Country.IN)print(account)Output{"name":"Vibha Almeida","username":"vibhaalmeida","email":"vibha.almeida@gmail.com","password":"letter16","profile_picture":"https://randomuser.me/api/portraits/women/81.jpg","phone":"9217029568","address":"7492, Ratha Bheedi, Thanjavur, Tripura, India","gender":"female","country":"IN","dob":{"date":"1992-07-29T22:51:53.073Z","age":30}}generate_accounts(n, gender, country)Generates multiple user accounts.Argumentsn: The number of user accounts to generate.gender(optional): The gender of the user account to generate.
Value can beGender.MEN,Gender.WOMEN,Gender.BOTH.
Default’s toGender.BOTHcountry(optional): The country of the user account to generate.
It accepts a value from theCountryenum. The default value isNone, which means the country can be any country.Examplefromomkar_account_generatorimportAccountGenerator,Gender,Countryaccounts=AccountGenerator.generate_accounts(3,gender=Gender.WOMEN,country=Country.IN)print(accounts)Output[{"name":"Sahana Nayak","username":"sahananayak","email":"sahana.nayak@gmail.com","password":"vietnam6","profile_picture":"https://randomuser.me/api/portraits/women/35.jpg","phone":"8679648937","address":"424, Naiduthota, Khammam, Uttar Pradesh, India","gender":"female","country":"IN","dob":{"date":"1997-10-03T07:38:31.090Z","age":25}},{"name":"Madhura Shroff","username":"madhurashroff","email":"madhura.shroff@gmail.com","password":"bettina1","profile_picture":"https://randomuser.me/api/portraits/women/87.jpg","phone":"8738692847","address":"5106, Maharanipeta, Mehsana, Maharashtra, India","gender":"female","country":"IN","dob":{"date":"1989-08-15T05:10:47.967Z","age":33}},{"name":"Hetal Kavser","username":"hetalkavser","email":"hetal.kavser@gmail.com","password":"django27","profile_picture":"https://randomuser.me/api/portraits/women/94.jpg","phone":"8033453360","address":"5222, Colaba Causeway, Buxar, Daman and Diu, India","gender":"female","country":"IN","dob":{"date":"1961-05-29T07:35:50.196Z","age":62}}]If my code helped you in creating accounts, please take a moment tostar the repository. Your act of starring will help developers in discovering our Repository and contribute towards helping fellow developers in their account creation tasks. Dhanyawad 🙏! Vande Mataram!
Package: omkar-temp-mail
Omkar Temporary Mail provides a convenient solution for receiving
temporary emails. It is particularly useful for automated tasks that
require email verification during account creation.Getting StartedTo get started with Omkar Temp Mail installomkar-temp-mailusing
the following command:python-mpipinstallomkar-temp-mailUsageget_domainsReturns a list of available domain options for generating temporary
email addresses.fromomkar_temp_mailimportTempMaildomains=TempMail.get_domains()print(domains)# prints ['1secmail.com', '1secmail.org', '1secmail.net', 'kzccv.com', 'qiott.com', 'wuuvo.com', 'icznn.com', 'ezztt.com']get_email_link(email)Get’s the first link from the most recent email message received in the
given email address.fromomkar_temp_mailimportTempMailemail="shyam@1secmail.com"link=TempMail.get_email_link(email)print(link)get_body(email)Get’s the content (text or HTML) from the most recent email message
received in the given email address.fromomkar_temp_mailimportTempMailemail="shyam@1secmail.com"body=TempMail.get_body(email)print(body)deleteMailbox(email)Deletes the mailbox associated with the provided email address.fromomkar_temp_mailimportTempMailemail="shyam@1secmail.com"TempMail.deleteMailbox(email)get_email_link_and_delete_mailbox(email)Combines the functionality ofget_email_linkanddeleteMailbox(email). It first retrieves the first link from the
most recent email and then deletes the mailbox, returning the link.fromomkar_temp_mailimportTempMailemail="shyam@1secmail.com"link=TempMail.get_email_link_and_delete_mailbox(email)print("Link:",link)If my code helped you in generating Temporary Email, please take a moment tostar the repository. Your act of starring will help developers in discovering our Repository and contribute towards helping fellow developers in their automation tasks. Dhanyawad 🙏! Vande Mataram!
Package: oml4py
This is a Python module for the OML measurement library based on the OML text
protocol [oml-text].InstallationInstall using pip [oml4py-pypi]:$ pip install oml4pyor download the package and run:$ python setup.py installUsageThis module provides the OMLBase class, which contains the following methods:initstartaddmpinjectcloseTo use OML in a python project, import the OMLBase class:from oml4py import OMLBaseStart by initializing an OMLBase object. The init method takes up to four
arguments:the name of the application,the name of the experiment,the name of the node,and the OML server URI in the formtcp:hostname:portFor example:x=OMLBase("app", "an-exp","r","tcp:myomlserver.com:3003")The only mandatory argument is the first one (the name of the
application).  If you skip any of the others, they may be defined by
environment variables (OML_DOMAIN, OML_NAME, OML_COLLECT) or via
command-line options. If these variables are not passed in explicitly
and neither the command line options nor environment variables are
defined then the application will run with OML disabled, and the
measurements that would have been sent to OML will be printed on
stdout instead.Next, add one or more measurement points. Pass the name of the measurement
point and a schema string to the start method. The schema string should
be in the formatmeasurement_name1:measurement_type1 measurement_name2:measurement_type2for example:x.addmp("fft", "freq:long amplitude:double fft_val:double")When you have set up all your measurement points, call start():x.start()When you have a measurement point to send to OML, store them in a
tuple Then pass the name of the measurement point and the tuple of
values to inject, as follows:x.inject("fft", (259888, 15, -38))At the end of your program, call close to gracefully close the database:x.close()AuthorsOML4Py was contributed by Fraida Fund, from NYU-Poly.LicenseCopyright 2012 NYU-Poly, Fraida FundCopyright 2012-2013 National ICT Australia (NICTA), AustraliaPermission 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.[oml-text]:http://oml.mytestbed.net/projects/oml/wiki/Description_of_Text_protocol[oml4py-pypi]:http://pypi.python.org/pypi/oml4py/
Package: omlabs
Software code created by U.S. Government employees is not subject to copyright in the United States (17 U.S.C. §105).
The United States/Department of Commerce reserve all rights to seek and obtain copyright protection in countries
otherthan the United States for Software authored in its entirety by the Department of Commerce. To this end, the
Department of Commerce hereby grants to Recipient a royalty-free, nonexclusive license to use, copy, and create
derivative works of the Software outside of the United States.”
Package: omlet
OMLET: Open Machine Learning Engineering ToolboxInstallationgitclonehttps://github.com/LinxiFan/omlet.gitcdomlet
pipinstall-e.PyTorch-LightningTested only with v0.7.6, please upgrade.HydraDue to incompatibilities, please installhydramanagement library from their master branch:gitclonehttps://github.com/facebookresearch/hydra.gitcdhydra
pipinstall-e.cdplugins/hydra_colorlog
pipinstall-e.The above should also install OmegaConf 2.0.1, which we'll use as our primary dot-access dict for hyperparameters.OmegaConf docs:https://omegaconf.readthedocs.io/en/latest/usage.htmlNvidia APEX fp16 traininghttps://github.com/NVIDIA/apex#quick-startgitclonehttps://github.com/NVIDIA/apexcdapex
pipinstall-v--no-cache-dir--global-option="--cpp_ext"--global-option="--cuda_ext"./
Package: omlet-arcade-bot
omlet-arcade_bot - это модуль Python для взаимодействия с платформой Omlet Arcade. Модуль позволяет автоматизировать задачи, связанные со стримингом, и взаимодействовать с пользователями.Основные возможности модуля:Аутентификация с помощью API-ключаВзаимодействие с платформой Omlet Arcade, включая получение информации о стриме, обработку комментариев и действий пользователейПоддержка команд, модерации и взаимодействия с авторамиДля получения API-ключа , можно использовать сайт:https://omapi.ru/api/
Package: ommi
Ommi[!CAUTION]
Ommi is under construction and much of the functionality is undergoing frequent revision. There is no guaratee future versions will be backwards compatible.An object model mapper intended to provide a consistent interface for many underlying database implementations using whatever model implementations are desired.Compatible Model ImplementationsMy test suite checks for compatibility with the following model implementations:Python'sdataclassmodel typesAttrsmodel typesPydanticmodel typesIncluded Database SupportSQLite3 (⚠️Under Construction⚠️)
Package: ommprotocol
A command line application to launch molecular dynamics simulations with OpenMMSome cool featuresNo coding required - just a YAML input file!Smart support for different input file formats:Topology: PDB/PDBx, Mol2, Amber’s PRMTOP, Charmm’s PSF, Gromacs’ TOP, Desmond’s DMSPositions: PDB, COOR, INPCRD, CRD, GROVelocities: PDB, VELBox vectors: PDB, XSC, CSV, INPCRD, GROA fallback method is implemented and will attempt to load verything else that might be supported byParmEd.Choose your preferredtrajectoryformat (PDB, PDBx, DCD, HDF5, NETCDF, MDCRD) andcheckpoints(Amber’s, CHARMM’s, OpenMM XML states).Live report of simulation progress, with estimated ETA and speed.Checkpoint everynsteps. Also, emergency rescue files are created if an error occurs.Autochunk the trajectories for easy handling.Installation & usageDownload thelatest installeror useconda install-comnia-cinsilichem ommprotocolif you already have Anaconda/Miniconda installed. Further detailshere.When installed, you should be able to run:ommprotocol <inputfile.yaml>Check thedocumentationto read more on how to create input files for OMMProtocol.Get helpDocumentation is always available atReadTheDocs. If you have problems runningommprotocol, feel free tocreate an issue! Also, make sure to visit our main webpage atinsilichem.com.CitationOMMProtocol is scientific software, funded by public research grants (Spanish MINECO’s projectCTQ2014-54071-P, Generalitat de Catalunya’s project2014SGR989and research grant2015FI_B00768, COST ActionCM1306). If you make use of Ommprotocol in scientific publications, please cite it. It will help measure the impact of our research and future funding! A manuscript is in progress. In the meantime, please cite this repository URL.@misc{ommprotocol,
author       ={Jaime Rodríguez-Guerra Pedregal and
                Lur Alonso-Cotchico and
                Lorea Velasco and
                Jean-Didier Maréchal},
title        ={OMMProtocol: A command line application to launch molecular dynamics simulations with OpenMM},
url          ={https://github.com/insilichem/ommprotocol}}
Package: ommtk
OMMTKOpenMM Wrappers for General and Enhanced MDSimulationsThis repo contains several simulation classes wrapped around openMM infrastructure that allow for rapid devlopment and usage of various MD Simulations.Currently Supported are the following simulations: Minimization, Standard MD (base class); Heating and Equil MD simulations (NVT and NPT respectively), Gentle Heat Sims (heat/release restraints over a range of stages), simulated tempering, metadynamics and metadynamics with focused sampling on ligand unbinding (Segment Walker Sims). The simulations support a full API with a range of functions and easily adapted run statements for specialized protocols.InstallationDependencies:OMMTK requires very few dependencies. Below is a list you can install with conda or pip:python 3.6 or higher
simtk.openmm
numpy
mdtrajTo install the latest stable version we recommend using pip with the following command (this is the only method guaranteed to provide a stable version).pip install ommtkDocumentationThe most recent documentation:https://redesignscience.github.io/OMMTK/Quickstart run# Load packages
    import parmed
    from ommtk import MDSimulation, select_atoms, unit
    
    # Note: Requires parameterized parmed in memory named parmed_structure!

    #instantiate sim from parmed alone, minimize (save h5 file) and run
    mdsim = MDSimulation(parmed_structure=parmed_structure)
    mdsim.minimize()
    minimized_parmed = mdsim.run(2 * unit.nanosecond)

    #build sim using a previous trajectory or h5 file
    mdsim = MDSimulation(parmed_structure=parmed_structure, coordinates=trajectory.h5)

    #build sim with positional restraints, run some equilibration and remove them for longer run
    protein_atoms = select_atoms(parmed_structure=parmed_structure, keyword_selection='protein')
    mdsim = MDSimulation(parmed_structure=parmed_structure, atoms_to_restrain=protein_atoms, restraint_weight=4)
    mdsim.run(1*unit.nanosecond)
    mdsim.update_restraint_weight(2)
    mdsim.run(1*unit.nanosecond)
    mdsim.remove_positional_restraints()
    end_parmed = mdsim.run(4 * unit.nanosecond)
Package: omnbot
OmNomNom is a Telegram bot that can tell you what you can eat in some
canteens in Berlin (Germany). I would like to support more canteens in
other towns or countries in the future. If you have any suggestions let
me now. You can invite the bot to a group or ask it directly.How to use itUsually you do not need to run the bot yourself. You can just talk to
the @OmnBot in Telegram. Feel free to invite it to your groups.Developer & MaintainerMax RosinContributerThanks to everyone who contributed code or documentation improvements to
the bot.Christian BenekeMatthias LoiblIf you want to add canteens or features to the bot or want to fix some
bug feel free to open a GitHub issue and start hacking :-) Pull Requests
are very wellcome! If you found some problem or would like to see a new
feature or more canteens but are not able (or do not want to / do not
have the time) please also open an issue at GitHub and/or talk to me via
Telegram (@ekeih).LicenseA Telegram bot to get canteen information.
Copyright (C) 2016  Max Rosin

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.