Saravanan666/pypi-org huggingface dataset:
Package: aevol
Python Package for AevolThis is a Python Package for Aevol (https://aevol.fr/).It contains data models, code for creating visualizations and command-line scripts to be used with aevol-generated data.ContributingProbably the easiest way of trying out any modification you would like to make to this package is to install aneditableversion of the package.This can be done by running the following command from the topmost directory of the project (where this README sits):$pipinstall--editable.
Package: aevopy
AevopyAevopy is a python client for the perp and options trading platform aevo.xyz. It is still in a very early stage, but maybe
useful if you consider automated crypto currency trading.For signup with Aevo you can use this link to save on fees:https://app.aevo.xyz/r/Tulip-Sturdy-LaffontYou can find complete tutorials on how to use this code to build your own trading strategies on my substack or medium account:https://substack.com/@crjamesonhttps://medium.com/@crjamesonTable of ContentsIntroductionUsageInstallationUsageIntroductionAevopy is a simple to use python library to execute cryptocurrency perp and options trades via Aevo. It should work with all Python versions > 3.11. Older versions are untested but might work as well.UsageHere is some example code to give you a basic idea how to use it:importaevopyclient=aevopy.AevoClient()portfolio=client.get_portfolio()print(f"available portfolio margin balance:{portfolio.user_margin.balance}")# # get the market details about the asset we want to trade - TIA in this exampleinstrument=aevopy.get_markets(asset="TIA")print(f"instrument:{instrument}")# create a market buy orderorder=client.buy_market(instrument.instrument_id,amount=1)print(f"order:{order}order_id:{order.order_id}avg_price:{order.avg_price}")# set stop loss and take profitstop_loss_price=order.avg_price*0.99take_profit_price=order.avg_price*1.02order=client.sell_stop_loss(instrument.instrument_id,trigger=stop_loss_price)order=client.sell_take_profit(instrument.instrument_id,trigger=take_profit_price)If you need to work with multiple Accounts, you can create an account object and pass that as parameter to the client:account=aevopy.AevoAccount(key,wallet_address,api_key,api_secret,env)...client=aevopy.AevoClient(account)InstallationRecommended:pip install aevopyOr if you are using poetry:poetry add aevopyAlternative:From github: pip install pip@git+https://github.com/crjameson/aevopyCreate a .env file with your credentials in the same directory as your script is running. Take a look at .env.example in the examples folder.
This file should at least configure the following values:AEVO_SIGNING_KEY = 
AEVO_WALLET_ADDRESS = 
AEVO_API_KEY =
AEVO_API_SECRET =
AEVO_ENV = mainnetHint: You can create the signing key and API credentials in your userprofile settings on aevo.xyz.To run the example:poetry run python examples/basic_trade_and_risk_management.pyTo run the tests:poetry run pytestContactFor questions or ideas you can find my contact information on crjameson.xyz
Package: aew
AEWAn unofficial basic parser for blog posts onhttps://allelitewrestling.com.If they change how the pages load.. this will stop working.Example UsageIn [1]: from aew import AEW

In [2]: a = AEW()

In [3]: posts = a.get_posts()

In [4]: print(posts[0])
Post(url='https://www.allelitewrestling.com/post/best-of-aew-dynamite-for-july-5-2023', title='Best of AEW Dynamite for July 5, 2023', image_url='https://static.wixstatic.com/media/815952_0d4b056ce8504b21baa6d6982641943e~mv2.jpg/v1/fill/w_1920,h_1080,fp_0.50_0.50,q_90,enc_auto/815952_0d4b056ce8504b21baa6d6982641943e~mv2.jpg', aew=<aew.AEW object at 0x000001D93DFF4C10>)

In [5]: posts[0].date
Out[5]: datetime.date(2023, 7, 5)
Package: aex
AeXThe following currently works:importaesara.tensorasatimportaexsrng=at.random.RandomStream(0)sigma_rv=srng.normal(1.)mu_rv=srng.normal(0,1)Y_rv=srng.normal(mu_rv,sigma_rv)sampler=aex.prior_sampler(Y_rv,mu_rv)sampler(rng_key,1_000_000)ComingSampling from the posterior distribution using Blackjax's NUTS sampler:sampler=aex.mcmc({Y_rv:1.},aex.NUTS())samples,info=sampler(rng_key,1000,1000)Sampling from the posterior by arbitrarily combining Blackjax step functions:sampler=aex.mcmc({Y_rv:1.},{[mu_rv,sigma_rv]:aex.NUTS(),Y_rv:aex.RMH()})samples,info=sampler(rng_key,1000)Sampling from the posterior predictive distribution:sampler=aex.posterior_predictive(trace,Y_rv)sampler(rng_key,1000)
Package: aezpz
Adobe Experience Platform API made easy peasyDocumentationThe Adobe Experience Platform API is a RESTful API that uses OAuth 2.0 for authentication. To use the API you'll need to create a project in the Adobe Developer Console and create OAuth Server-to-Server credentials for your project.This library makes it easy to authenticate with the Adobe Experience Platform API and make requests to the API.InstallationpipinstallaezpzUsageimportaezpz# Load the credentials from the credentials fileapi=aezpz.load_config('path/to/credentials.json')# Make a request to the APIapi.schemas.find(title='my_schema')CredentialsSign in to the Adobe Developer Console with your Adobe Experience Platform accounthttps://developer.adobe.com/consoleCreate a new project or use an existing projectAdd the Experience Platform API to your projectCreate OAuth Server-to-Server credentials for your projectOn the Credentials page click the "Download JSON" button to download the credentials file
Package: af
Af2bilingualInstall in ubuntu 16.041. First install libicusudo apt-get update
sudo apt-get install libicu-dev2. Install AfTo install it globally:pip install AfIn a virtual environment:virtualenv -p python3 venv
source venv/bin/activate 
pip install AfUsageLet's suppose you have a directory "my_dir" with af files. To generate bilinguals file:af2bilingual my_dirAll generated files will be located in a generated "bilingual" directory next to "my_dir"
If the bilingual directory already exists the ad2bilingual will fail except if you use :af2bilingual my_dir -o
if you want
Package: af2-analysis
Alphafold2 Analysisaf2_analysisis a python package allowing a simplified analysis of alphafold and colabfold results.Installationgitclonehttps://github.com/samuelmurail/af2_analysiscdaf2_analysis
pythonsetup.pyinstallUsageCreate theDataobject, giving the path of the directory containing the results of the alphafold2/colabfold run.importaf2_analysismy_data=af2_analysis.Data('MY_AF2_RESULTS_DIR')Extracted data are available in thedfattribute of theDataobject.my_data.dfCompute pdockQ and pdockQ2:my_data.compute_pdockq()my_data.compute_pdockq2()plot msamy_data.plot_msa()plot plddt:my_data.plot_plddt([0,1])plot PAE:my_data.plot_pae(my_data.df['ranking_confidence'].idxmax())show 3D structure (nglviewrequired):my_data.show_3d(my_data.df['ranking_confidence'].idxmax())
Package: afacinemas-scraper
Afa Cinemas Scraper 🦀afacinemas-scraper- Ferramenta para raspagem de dados do site da redeAfa Cinemas.⚙️ Instalaçãopipinstallafacinemas-scraper💻 Utilizaçãofromafacinemas_scraperimportScraperscraper=Scraper()🔍 Buscando os cinemasfromafacinemas_scraperimportScraperscraper=Scraper()cinemas=scraper.get_cinemas()print(cinemas)📄 Saída:[{'codigo':4,'nome':'Boituva Cine Park','logo':'http://afacinemas.com.br/logotipo/boituva.jpg','endereco':'Avenida Vereador José Biagione, 660 Centro - Boituva /SP','contato':'(15) 3363-8083'},...]🔍 Buscando os próximos lançamentosfromafacinemas_scraperimportScraperscraper=Scraper()proximos_lancamentos=scraper.get_proximos_lancamentos()print(proximos_lancamentos)📄 Saída:[{'titulo':'MONSTER HUNTER','estreia':'14/01/2021','poster':'http://afacinemas.com.br/adm/cartazSite/hunter.jpg','descricao':'Baseado no jogo da Capcom chamado Monster Hunter, a tenente Artemis e seus soldados são transportados para um novo mundo. Lá, eles se envolvem em batalhas imponentes, buscando desesperadamente a sobrevivência contra bestas gigantes portadoras de habilidades surreais.','classificacao':'14 ANOS','genero':'AÇÃO','duracao':'110min'},...]🔍 Buscando os preços dos ingressosfromafacinemas_scraperimportScraperscraper=Scraper()precos_ingressos=afa.get_precos_ingressos(10)# código do cinemaprint(precos_ingressos)📄 Saída:[{'dia_semana':'Domingo','precos':[{'descricao':'Inteira 2D','valor':24.0},{'descricao':'Meia 2D','valor':12.0},{'descricao':'Inteira 3D','valor':24.0},{'descricao':'Meia 3D','valor':12.0}]},...]🔍 Buscando a programação de um cinemafromafacinemas_scraperimportScraperscraper=Scraper()programacao=afa.get_programacao(10,"2022-06-30")print(programacao))📄 Saída:[{'codigo':'521','titulo':'LIGHTYEAR','urlCapa':'http://afacinemas.com.br/cartazSite/light.jpg','classificacao':'LIVRE','genero':'ANIMAÇÃO','duracao':'100 min','sinopse':'Lightyear é uma aventura que apresenta a história definitiva da origem do herói que inspirou o brinquedo, o Buzz Lightyear, apresentando o lendário Patrulheiro Espacial que conquistou fãs de todas as gerações.','sessoes':[{'sala':'Sala 1','horario':'16:00','audio':'DUB','imagem':'2D'},{'sala':'Sala 1','horario':'18:15','audio':'DUB','imagem':'2D'}]...
Package: afam
afam - ASC Files Analyzing ModuleThis package allows the user to analyze a ASC file, created by the EDF2ASC translator program of
SR Research. It converts selected events and samples from the EyeLink EDF file into
text, and sorts and formats the data into a form that is easier to work with.It helps to perform the following operations:Opening and closing the ASC file.Matching words and messages to keywords (tokens).Reading data items from the file, including recording start, button presses, eye events and
messages and samples.It contains the following event & sample classes:ASC_BUTTON- a dataclass used to store the data from a "BUTTON" lineASC_EBLINK- a dataclass used to store the data from an "EBLINK" lineASC_ESACC- a dataclass used to store the data from an "ESACC" lineASC_EFIX- a dataclass used to store the data from an "EFIX" lineASC_INPUT- a dataclass used to store the data from a "INPUT" lineASC_MSG- a dataclass used to store the data from a "MSG" lineASC_SBLINK- a dataclass used to store the data from a "SBLINK" lineASC_SSACC- a dataclass used to store the data from a "SSACC" lineASC_SFIX- a dataclass used to store the data from a "SFIX" lineASC_MONO- a dataclass used to store the data from a monocular "SAMPLE" lineASC_BINO- a dataclass used to store the data from a binocular "SAMPLE" lineInstallation$pipinstallafamUsageimportafamdataset=afam.read_asc(file_name)ContributingInterested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.Licenseafamwas created by Christoph Anzengruber. It is licensed under the terms of the GNU General Public License v3.0 license.Creditsafamwas created withcookiecutterand thepy-pkgs-cookiecuttertemplate.
Package: afanimation
afanimationOverviewDescriptionThis is a simple python loading animation including funny expression.
You can make people waiting completion of tasks less bored.RequirementModuleenumEnvironmentPython 2.7 or above.Usageimport afanimation
a = afanimation.Animation()
a.start()
....Some loading tasks....
a.stop()Installpip install afanimationLicenceMITAuthor[Aoi Fukuoka] (https://github.com/aoifukuoka)
Package: afasi
afasiFuzz a language by mixing up only few words.License: MITDocumentationUser and developerdocumentation of afasi.Bug TrackerFeature requests and bug reports are best entered in thetodos of afasi.Primary Source repositoryThe primary source ofafasilives somewhere on a mountain in Central Switzerland.
But, we use decentralized version control (git), so any clone can become the source to everyone's benefit, no central only code.
Anyway, the preferred public clones ofafasiare:on codeberg- a democratic community-driven, non-profit software development platform operated by Codeberg e.V.at sourcehut- a collection of tools useful for software development.StatusBeta.Note: The default branch isdefault.
Package: afdcli
Waveform and Station Downloading ClientThis tool was created to automate waveform and station data download. Please cite appropriate authorities if you are using the data for non-commercial purposes. Commercial use of the data without permission is forbidden. Please read the printed warnings from the data centers printed out.Installationpipinstallnumpy
pipinstallafdcliStation Dataget_stations(network, station, starttime, endtime, **kwargs)Arguments:network: Network code, wildcards allowed ("T?","*")station: Station code, wildcards allowed ("B?ZM","B*")starttime: start time string in ISO format at UTC ("2020-03-27T06:00:13Z")endtime: start time string in ISO format at UTC ("2020-03-28T06:00:13Z")Parameters:attach_response: Returns instrument responseminlatitude,maxlatitude,minlongitude,maxlongitude: Window of coordinates of stationsWaveform Dataget_waveforms(network, station, starttime, endtime, **kwargs)Arguments:network: Network code, wildcards allowed ("T?","*")station: Station code, wildcards allowed ("B?ZM","B*")starttime: start time string in ISO format at UTC ("2020-03-27T06:00:13Z")endtime: start time string in ISO format at UTC ("2020-03-28T06:00:13Z")Parameters:minlatitude,maxlatitude,minlongitude,maxlongitude: Window of coordinates of stationsdata_format:"mseed"for miniseed or"fseed"for fullseed formatsfilename: filename to save the file (not implemented)Examplesdownloading waveforms:from afdcli.client import Client
c = Client()
c.get_waveforms('*','BO*', '2020-06-25T17:19:16Z', '2020-06-26T17:20:16Z')downloading stations with instrument responsefrom afdcli.client import Client
c = Client()
c.get_stations('*','BO*', '2020-06-25T17:19:16Z', '2020-06-26T17:20:16Z', instrument_response=True)
Package: afdiankit
✨ 一个现代化的爱发电 Python SDK ✨✨ 同时支持同步与异步调用 ✨安装方式pipinstallafdiankit# or, use poetrypoetryaddafdiankit# or, use pdmpdmaddafdiankit使用方法使用爱发电网页端 API获取网页端auth_token在爱发电网页端打开 F12 开发者工具，切换到 Console（控制台）标签页，输入以下 JavaScript 代码获取网页端 auth tokendocument.cookie.match(newRegExp("(^| )auth_token=([^;]+)"))[2];调用afdiankit示例：fromafdiankitimportAfdian,TokenAuthStrategyafdian=Afdian("<auth_token>")# 或者显式调用 TokenAuthStrategygithub=Afdian(TokenAuthStrategy("<auth_token>"))使用开放平台 API在开发者后台生成 webhook 的 token，复制user_id。调用afdiankit示例：fromafdiankitimportAfdian,TokenAuthStrategyafdian=Afdian()user_id="<user_id>"token="<token>"afdian.open.post_ping(token=token,user_id=user_id,params={"a":"1"},ts=int(time.time())).json()许可证项目源代码使用 MIT 许可证授权，见LICENSE。鸣谢yanyongyu/githubkit
Package: afeng-py-tools
afeng-py-tools介绍阿锋的Python工具集软件架构软件架构说明安装教程安装pipinstallxxxxxxxx使用说明xxxxxxxxxxxx参与贡献Fork 本仓库新建 Feat_xxx 分支提交代码新建 Pull Request特技使用 Readme_XXX.md 来支持不同的语言，例如 Readme_en.md, Readme_zh.mdGitee 官方博客blog.gitee.com你可以https://gitee.com/explore这个地址来了解 Gitee 上的优秀开源项目GVP全称是 Gitee 最有价值开源项目，是综合评定出的优秀开源项目Gitee 官方提供的使用手册https://gitee.com/helpGitee 封面人物是一档用来展示 Gitee 会员风采的栏目https://gitee.com/gitee-stars/
Package: aferro-ml-lib
python_ml_templateFirst actions:When setting up the repo (and potentially also the venv) from scratch, a few one-time actions are needed:install pip dependenciespre-commit install --install-hooks -t pre-commit -t commit-msggit config branch.master.mergeOptions "--squashActivate gh-pages web (otherwise the CI release will error here).Features:The following things are already integrated via CI, but can be run manually:Utest: python -m unittestutest with py coverage: coverage run -m unittestflake8allusing pre-commit, added commitizen to pre-commit (remember topre-commit install --install-hooks -t pre-commit -t commit-msg). This enforces "conventional commits" style:https://www.conventionalcommits.org/en/v1.0.0/#summaryTo commit, reecommended topip install commitizenand then commit using:cz c(orcz c --retryif the last one failed).docs from scratch:Add docs folder and requirements.txt withsphinxandsphinx-rtd-themeCentralized version and metadata. Setup works with very few parametersTo enforce squash merging to master, issuegit config branch.master.mergeOptions "--squash"(info:https://stackoverflow.com/a/37828622)GH pages action. Make sure that the repo server has publishing enabled, otherwise it will error.PyPI: need a regular and a test account. Create a token for GH actions (if global only need to do this once). Then, in the GH repo, add that token under secrets->pypi.https://pypi.org/manage/account/token/Further feature ideas/TODOs:TUTinitcheck_installationautoimports in eachinitdcase test toolspylintrc?custom "asteroid" sphinx thememypy (not needed in research code)gitignore.iodependabothttps://dependabot.com/github-actions/Ignore commits in changelog:https://github.com/conventional-changelog/conventional-changelog/issues/342Deploy to conda-forgechange docstring style to napoleonadd doctestAdd changelog to autodocsIntegrate wiki. Add wiki to autodocsAutocomment:https://github.com/marketplace/actions/label-commenterTODO:CML+ Complete ML projectGeneralize runner to GPU, home and GitLab
Package: afesta-tools
Library and tools for AFesta.tvFeaturesLogin to Afesta/LPEG API and register as a new player/clientRe-use existing 4D Media Player installation + login credentials when
available (Windows only)Download Afesta videos via CLI (requires valid account and appropriate
purchases/permissions)Download and extract interlocking goods scripts from Afesta vcz archives
(supports extracting scripts in both Vorze CSV and Funscript formats)RequirementsPython 3.8+Valid Afesta accountInstallationYou can installAfesta ToolsviapipfromPyPI:$pipinstallafesta-toolsUsageLogin to Afesta via CLI (not required on Windows if 4D Media Player is
installed and logged into Afesta):$afestaloginAfesta username: username
Afesta password:Download videos:$afestadlm1234-0000m1234-0000_1m1234-0000_2m1234-0000_3...Download vcz archives:$afestadl-vczABC123-Takumi-R1_sbsABC123-Takumi-R2_sbsABC123-Takumi-R3_sbs...Extract CSV scripts from vcz archives:$afestaextract-scriptABC123-Takumi-R1_sbs.vczABC123-Takumi-R2_sbs.vczABC123-Takumi-R3_sbs.vcz...Extract Funscript scripts from vcz archives (for Piston only).$afestaextract-script--format=funscriptABC123-Takumi-R1_sbs.vczABC123-Takumi-R2_sbs.vczABC123-Takumi-R3_sbs.vcz...Please see theCommand-line Referencefor details.ContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theMIT license,Afesta Toolsis free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.CreditsThis project was generated from@cjolowicz’sHypermodern Python Cookiecuttertemplate.
Package: afex-sso
AFEX SSO (DJANGO)Simple Integration (usage)instantiate the SSO classfrom AFEX_SSO import SSO
  sso = SSO()

  def get_user_details(View):
    sso_instance = sso.check_credentials(session_key)
    get_user = sso_instance['data'].get('user')
    '''
        # other codes
    '''

   def logout(View):
       # get user email
        email = " "
        signout = sso.sign_out(email)
    '''
        # other codes
    '''Keyssession_key : sent from the service provider client (frontend) after successful authentication on the ssoSETTINGSset the sso details on settings.py as shown belowSSO_URL = ""SSO_API_KEY = ""SSO_SECRET_KEY = ""Sample Response{
"responseCode": "100",
"data": {
    "session_identifier": "SES_2c73ff51cfe5c5a68fc58934c9be3b",
    "user": {
        "email": "example@africaexchange.com",
        "first_name": "Ayodeji",
        "last_name": "Balogun",
        "photo": null,
        "tribe": null,
        "designation": "Software Developer",
        "email_aliases": [
            "example@afexnigeria.com",
        ]
    }
},

"message": "Successfully Retrieved"

}
Package: affability
AffabilityAffability allows for an easy utilization of Google's DialogFlow for natural language understanding. It allows for calling a single function and returning the result from Dialogflow as a class containing all the pertinent data such as detected intent. Communicating with Dialogflow through Affability trades-off features and customizability for simplicity and conciseness.This can be utilized to understand commands and then perform the relevant tasks based from the detected intent. Affability is ultimately designed to make it easy to integrate DialogFlow in other standalone projects.DependenciesAs of v1.0.1, affability automatically installs dialogflow. Should speech recognition be needed, the SpeechRecognition pakage needs to be installed.pipinstallSpeechRecognitionWith an invalid argument, Affability throws an InvalidArgument exception, which requires importing it from the Google API Core exceptions:fromgoogle.api_core.exceptionsimportInvalidArgumentInstallationpipinstallaffabilityUsageThe module can be imported as affability:importaffabilityUsing the understand function:The understand function contains 5 parameters: text, credentials, projectID, languageCode, and sessionID. Text is text to be analyzed, credentials is the file path of the authentication key, projectID is the project ID, languageCode is the language, and sessionID is the session ID. All parameters are strings.affability.understand('textToBeAnalyzed','filepath','projectIDname','en-US','me')The understand function returns the results as an organizer class. This class contains detectedIntent, confidence, reply, action, requiredParamsPresent, and replyParams.classorganizer:def__init__(self,detectedIntent,confidence,reply,action,requiredParamsPresent,replyParams):self.detectedIntent=detectedIntentself.confidence=confidenceself.reply=replyself.action=actionself.requiredParamsPresent=requiredParamsPresentself.replyParams=replyParamsFor example, to extract and print detected intent:reply=affability.understand('textToBeAnalyzed','filepath','projectIDname','en-US','me')print(reply.detectedIntent)Affability throws the InvalidArgument exception when DialogFlow detects invalid arguments. To handle this, it is recommended to use the understand function in a try and except block:try:reply=affability.understand('textToBeAnalyzed','filepath','projectIDname','en-US','me')# do something with replyexceptInvalidArgument:# Handle invalid argument errorSample usageThe sample.py file demonstrates the ease of communicating with Dialogflow through Affability.
Package: affapy
AffapyAffapyis a Python library for multiprecision Affine Arithmetic. Affapy can be used to perform operations with affine forms and intervals.InstallationAffapy can be installed withpip:pip3installaffapyUsageSee the Affapy's documentationhere.ContributorsQuentin DESCHAMPS:quentin.deschamps@etu.sorbonne-universite.frFlorian GUILY:florian.guily@etu.sorbonne-universite.frTristan MICHEL:tristan.michel1@etu.sorbonne-universite.frRuxue ZENG:ruxue.zeng@etu.sorbonne-universite.frLicenseGNU GPLv3
Package: affection
AffectionAlgebraic Effect for modern Python.Tips: Istronglyrecommend you to readAlgebraic Effects for the Rest of Usbefore you start.Affectionis a small library that implementsAlgebraic Effectfor Python.
It leveragesasyncio, decorator andwithsyntax for a smooth experience.Warning: Please note that untilHigher Rank Type Variantsare supported in Python, theEffect.handleAPI will be quite ugly.UsageThis project is designed to be a single file project.You can either directly copy it into your project, or addaffectionfromPyPIwith your favorite package manager.fromaffectionimportEffect,Handle,effect,performclassLog(Effect[None]):def__init__(self,content:str):self.content=contentdefget_name(name:str|None=None)->str:perform(Log(f"Getting name with{name}"))returnperform(effect("ask_name",str))ifnameisNoneelsenamedefmain():withHandle()ash:@Log.handle(h)def_(l:Log):print(l.content)@effect("ask_name",str).handle(h)def_(_)->str:return"Default"perform(Log("Test parent log"))withHandle()asi_h:@Log.handle(h)def_(l:Log):print("Inner",l.content.lower())print(get_name("Ann"))print(get_name())if__name__=="__main__":main()"""Test parent logInner getting name with annAnnInner getting name with noneDefault"""