Saravanan666/pypi-org huggingface dataset:
Package: anaplan-api
anaplan-apiAnaplan-API is a Python library wrapper forAnaplan Bulk APIandAnaplan Authentication API.InstallationUse the package managerpipto install Anaplan-API.pip3installanaplan_apiUsageimportloggingfromanaplan_apiimportanaplanfromanaplan_api.AnaplanConnectionimportAnaplanConnectionfromanaplan_api.KeystoreManagerimportKeystoreManagerlogging.basicConfig(format='%(asctime)s,%(msecs)d%(name)s%(levelname)s%(message)s',datefmt='%H:%M:%S',level=logging.INFO)logger=logging.getLogger(__name__)if__name__=='__main__':keys=KeystoreManager(path='/keystore.jks',passphrase='',alias='',key_pass='')auth=anaplan.generate_authorization(auth_type='Certificate',cert=keys.get_cert(),private_key=keys.get_key())conn=AnaplanConnection(authorization=auth,workspace_id='',model_id='')anaplan.file_upload(conn=conn,file_id="",chunk_size=5,data='/Users.csv')results=anaplan.execute_action(conn=conn,action_id="",retry_count=3)forresultinresults:ifresult:# Boolean check of ParserResponse object, true if failure dump is availableprint(result.get_error_dump())Known IssuesThis library currently uses PyJKS library for handling Java Keystore files. This project does not appear to be actively developed, and there is a known error installing pycryptodomex and twofish - both dependencies for PyJKS. The core files required from this library are:jks.pyrfc2898.pysun_crypto.pyutil.pyPyJKS Requirementsjavaobj-py3pyasn1pyasn1_modulesYou can simply download, remove the unnecessary files, and drop the jks folder in your site-package directory to work around the error.ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.LicenseBSD
Package: anarchy
Overviewanarchyis a package for managed & beautiful chaos, designed with
incremental procedural content generation in mind. It includes
incremental & reversible random numbers, a selection of distribution
functions for random values, and cohort operations that can be applied
incrementally to groups along an indefinite 1-dimensional space.The goal is to give a high level of control to designers of PCG systems
while maintaining incremental operation.Coming soon: fractal coordinates.VersionsThere are implementations of at least the core functionality available in
C, C#, Javascript, and Python; this documentation applies most closely to
the Python implementation, and it is drawn from that code. Each different
language implementation has its own idiosyncrasies, but the higher-level
things, like number and meaning of parameters, are the same for the core
functions.TODO: Links to versions...Note: the anarchy Python package uses 64-bit integers, for compatibility
with the C version of the library and for a larger output space.
Technical limitations with JavaScript mean that the JS version of the
library uses 32-bit integers and will therefore give different results.DependenciesThe python version requires Python 3; tests usepytestand require
Python >=3.6.Example ApplicationThe incremental shuffling algorithm can be used as a replacement for a
standard random number generator in cases where you want to guarantee a
global distribution of items and are currently using independent random
number checks to control item distribution. For example, if you have code
that looks like this...defroll_item():r=random.random()ifr<0.01:# 1% chance for Rare itemreturn"Rare"elifr<0.06:# 5% chance for Uncommon itemreturn"Uncommon"else:return"Common"...you have no guarantees about exactly how often rare/uncommon items
will be, and some players will get lucky or unlucky. Instead, even if you
don't know the number ofroll_itemcalls, withanarchyyou can do
this:N=0seed=472389223defroll_item():globalN,seedr=anarchy.cohort_shuffle(N,100,seed+N//100)N+=1ifr<1:return"Rare"elifr<6:return"Uncommon"else:return"Common"In this code there are two extra variables that have to be managed in
some way, but the benefit is that for every 100 calls to the function,
"Rare" will be returned exactly once, and "Uncommon" will be returned
exactly 5 times. Each group of 100 calls will still have a different
ordering of the items, because it uses a different seed.Here's an image illustrating the differences between these two
approaches: in the top half, results are generated using independent
random numbers, while the bottom half uses anarchy's cohort shuffling to
guarantee one red cell and 5 blue cells per 10×10 white square..{.pixels}\There are many other potential applications of reversible/incremental
shuffling; this is one of the most direct.
Package: anarchy-bot
anarchy_bottelegram bot that can promote any user to admininstallpipinstall-Uanarchy_botrunpython-manarchy_bottranslate to your languagefork repogo toanarchy_bot/langduplicateen.ymlfilerename it to something likeru.ymledit filemake pull requestbot automatically decects language set in user's telegram client, and will search the dir for file with translationlicencelicense is gnu agpl 3 -gnu.org/licenses/agpl-3.0.en.html
Package: anarpy
AnarPy - ANalysis And Replication in PYthonAnarPy is a Python package to facilitate the simulation, analysis, and replication of several experiments using computational whole brain models.
For more details, installation instructions, documentation, tutorials, forums, videos and more, please visit:https://anarpy.readthedocs.ioThis package is developed and maintained by the Valparaíso Neural Dynamics Laboratory at Universidad de Valparaíso (https://vandal-uv.github.io/)LicenseThe source code for the site is licensed under the MIT license, which you can find in the LICENSE file.CitationContactCode Mantainer: Javier Palma-Espinosa (javier.palma@cinv.cl)Principal Investigator: Patricio Orio (patricio.orio@cinv.cl)
Package: ana-sdk
ANA SDKO projeto ANA SDK visa fornecer uma interface para interagir com os serviços
relacionados ao ambiente de automação de negócios, dados e clientes da ANA.
Permite realizar login, executar comandos e definir tenant, cliente
e empresa atuais para ter acesso automático ao ANA Data.InstalaçãoUse o gerenciador de pacotespippara instalar a ANA SDK.pipinstallana-sdkExemplo de utilizaçãoTodos os métodos públicos estão documentados, com seus parâmetros, retornos e exceções mapeadas. Os atributos das classes também estão documentados.fromana_sdkimportANAana=ANA(rpa_api_base_url,dashboard_api_base_url,oauth_token_full_url)ana.login("email@nasajon.com.br","senha")clientes=ana.api.get_clientes()print(clientes)ana.set_cliente(cliente[0]["id"])lotacoes=ana.data.get_lotacoes(empresa=UUID_da_empresa)lotacoes=","join(lotacao["id"]forlotacaoinlotacoes)ana.execute("668.279",{"mes":"02","ano":"2023","lotacoes":lotacoes})Além disso, você pode usar os clients para saber mais sobre os métodos disponíveis em cada um:romana_sdkimportANAana=ANA(rpa_api_base_url,dashboard_api_base_url,oauth_token_full_url)ana.login("email@nasajon.com.br","senha")ana.api.# Te mostrará tudo que precisa saber sobre a RPA API, por exemploana.rpa.ana.data.# Só estará disponível caso uma empresa, cliente ou tenant já tenha sido selecionadoContribuiçãoContribuições são bem-vindas! Para contribuir com o projeto, siga as orientações abaixo:Faça o fork do projetoCrie uma nova branch com o nome da sua contribuição:git checkout -b minha-contribuicaoFaça as modificações desejadas e adicione os arquivos alterados:git add .Faça o commit das suas alterações:git commit -m "Descrição da minha contribuição"Faça o push para a branch remota:git push origin minha-contribuicaoAbra um pull request descrevendo suas alterações
Package: anastasia
# AnastasiaJenkins build: <a href=’http://vps110163.vps.ovh.ca:8080/job/Anastasia/’><img src=’http://vps110163.vps.ovh.ca:8080/buildStatus/icon?job=Anastasia’></a>## English section## TelegramFor those who are interested by developping Anastasia, join us on our Telegram chat :https://telegram.me/joinchat/CBKa1ggoTRMEkyZTJpsTxg## Advised environmentTo make things easier, we recommend you to use PyCharm. The project was built with this IDE, and obviously, everything is working with PyCharm !  Every student can claim a free license here :https://www.jetbrains.com.## DeploymentAll pushes on master are automatically deployed on live version of Anastasia, you can access to her at @anaimag_bot. Pushes on master are not directly allowed.
All pushes on dev are automatically deployed on beta version of Anastasia, you can access to her at @anaimagbeta_bot.## AdvicesAdd your dependencies on requirements files.Join our Telegram chat !Don’t implement useless functions or spam functionsEnjoy ! :D## Used librariesTo link Anastasia to Telegram, we’re using this lib :https://github.com/python-telegram-bot/python-telegram-bot## Using git with SSH
RTFM !
———
## French section
## TelegramPour ceux qui sont intéressés par le développement d’Anastasia, vous pouvez rejoindre la discussion Telegram associée:https://telegram.me/joinchat/CBKa1ggoTRMEkyZTJpsTxg## Environnement conseilléPour vous faciliter la tâche, l’utilisation de PyCharm est recommandé. Le projet est déjà adapté pour être utilisé avec cet IDE. Il est disponible gratuitement pour tout étudiant sur ce site:https://www.jetbrains.com.## DéploiementTous les pushs sur master sont automatiquement déployés sur Anastasia, accessible sur Telegram avec l’identifiant @anaimag_bot. Les pushs sur master ne sont pas autorisés.
Tous les pushs sur dev sont automatiquement déployés sur Anastasia Bêta, accessible sur Telegram avec l’identifiant @anaimagbeta_bot.## ConseilsN’oubliez pas d’ajouter vos dépendance dans le fichier requirements.Rejoingez la conversation Telegram pour qu’on discute entre nous.N’implémentez pas de fonctions trop inutiles ou qui risqueraient de spamer les discussions.Amusez vous :D## Librairies utiliséesPour le lien avec Telegram, voilà le lien du projet utilisé:https://github.com/python-telegram-bot/python-telegram-bot## Utiliser git avec SSH
RTFM !
Package: anastruct
anaStruct 2D Frames and TrussesAnalyse 2D Frames and trusses for slender structures. Determine the bending moments, shear forces, axial forces and displacements.InstallationFor the actively developed version:$ pip install git+https://github.com/ritchie46/anaStruct.gitOr for a release:$ pip install anastructRead the docs!DocumentationQuestionsGot a question? Please ask ongitter.Includestrusses :heavy_check_mark:beams :heavy_check_mark:moment lines :heavy_check_mark:axial force lines :heavy_check_mark:shear force lines :heavy_check_mark:displacement lines :heavy_check_mark:hinged supports :heavy_check_mark:fixed supports :heavy_check_mark:spring supports :heavy_check_mark:q-load in elements direction :heavy_check_mark:point loads in global x, y directions on nodes :heavy_check_mark:dead load :heavy_check_mark:q-loads in global y direction :heavy_check_mark:hinged elements :heavy_check_mark:rotational springs :heavy_check_mark:non-linear nodes :heavy_check_mark:geometrical non linearity :heavy_check_mark:load cases and load combinations :heavy_check_mark:generic type of section - rectangle and circle :heavy_check_mark:EU, US, UK steel section database :heavy_check_mark:ExamplesfromanastructimportSystemElementsimportnumpyasnpss=SystemElements()element_type='truss'# Create 2 towerswidth=6span=30k=5e3# create trianglesy=np.arange(1,10)*np.pix=np.cos(y)*width*0.5x-=x.min()forlengthin[0,span]:x_left_column=np.ones(y[::2].shape)*x.min()+lengthx_right_column=np.ones(y[::2].shape[0]+1)*x.max()+length# add trianglesss.add_element_grid(x+length,y,element_type=element_type)# add vertical elementsss.add_element_grid(x_left_column,y[::2],element_type=element_type)ss.add_element_grid(x_right_column,np.r_[y[0],y[1::2],y[-1]],element_type=element_type)ss.add_support_spring(node_id=ss.find_node_id(vertex=[x_left_column[0],y[0]]),translation=2,k=k)ss.add_support_spring(node_id=ss.find_node_id(vertex=[x_right_column[0],y[0]]),translation=2,k=k)# add top girderss.add_element_grid([0,width,span,span+width],np.ones(4)*y.max(),EI=10e3)# Add stability elements at the bottom.ss.add_truss_element([[0,y.min()],[width,y.min()]])ss.add_truss_element([[span,y.min()],[span+width,y.min()]])forelinss.element_map.values():# apply wind load on elements that are verticalifnp.isclose(np.sin(el.ai),1):ss.q_load(q=1,element_id=el.id,direction='x')ss.show_structure()ss.solve()ss.show_displacement(factor=2)ss.show_bending_moment()fromanastructimportSystemElementsss=SystemElements(EA=15000,EI=5000)# Add beams to the system.ss.add_element(location=[0,5])ss.add_element(location=[[0,5],[5,5]])ss.add_element(location=[[5,5],[5,0]])# Add a fixed support at node 1.ss.add_support_fixed(node_id=1)# Add a rotational spring support at node 4.ss.add_support_spring(node_id=4,translation=3,k=4000)# Add loads.ss.point_load(Fx=30,node_id=2)ss.q_load(q=-10,element_id=2)# Solvess.solve()# Get visual results.ss.show_structure()ss.show_reaction_force()ss.show_axial_force()ss.show_shear_force()ss.show_bending_moment()ss.show_displacement()Real world use case.Non linear water accumulation analysis
Package: anasyspythontools
NOTEPlease note that this package is currently beta. Things may break unexpectedly. Most functions writing to Analysis Studio format have been disabled so I don’t see how this package could break your existing data anymore.Anasys Python ToolsAnasys Python Tools is a python package for working with files generated by Anasys Instruments’ (now Bruker) Analysis Studio software. Anasys Python Tools was originally developed by Cody Schindler from Anasys.Basic Usageimportanasyspythontoolsasanasys# Read your Analysis Studio filef=anasys.read("afmdata.axz")# Grab all the height map data from the fileheightmaps=f.HeightMaps# Show off your beautiful imagesheightmaps['Height 1'].show()# Unsure what the data looks like? Try:dir(f)# Displays user-accessible datadir(f.HeightMaps)FeaturesRead files with .axz, .axd, file extensionsExtract AFM spectral and height map images as numpy arraysQuickly display and save your dataUse your data with popular Python data libraries and applications (Pandas, Orange3, Jupyter, etc.)Work with your data when you’re away from your instrumentsEvaluate your data in a trasparent and flexible wayInstallationFrom pippipinstallanasyspythontoolsFrom githubInstall the latest version:pipinstallgit+https://github.com/GeorgRamer/anasys-python-tools.gitor a specific branch:pipinstallgit+https://github.com/GeorgRamer/anasys-python-tools.git@<branchname>ContributeFeel free to fork and hack away!If you have a feature you’d like to see, please open an Issue.SupportThis section previously said:If you are having issues, please let us know.
Email Cody directly atcschindler@anasysinstruments.comSince Cody appears to have stopped working on this, please raise issues in this fork or email Georg atgeorg.ramer@tuwien.ac.atLicenseThe project is licensed under the MIT license.Each .py file in this document has a header stating:#  Copyright 2017 Cody Schindler <cschindler@anasysinstruments.com>##  This program is the property of Anasys Instruments, and may not be#  redistributed or modified without explict permission of the author.To my understanding the MIT license constitutes an “explicit permission” to redistribute and modify. To be on the safe side, I (GeorgRamer) have repeatedly, over a span of several years tried to get confirmation on that from Bruker. I never got a definite answer.
Package: anatolygusev-djet
Django Extended Testsis a set of helpers for easy testing of Django apps.Main features:easy unit testing of Django views (ViewTestCase)useful assertions provides as mixin classes:response status codes (StatusCodeAssertionsMixin)emails (EmailAssertionsMixin)messages (MessagesAssertionsMixin)model instances (InstanceAssertionsMixin)handy helpers for testing file-related code (InMemoryStorageMixinand others)smooth integration with Django REST Framework authentication mechanism (APIViewTestCase)Full documentation available onread the docs.Developed bySUNSCRAPERSwith passion & patience.RequirementsPython: 2.7 (Only Django 1.11), 3.4+Django: 1.11, 2.0+(optional)Django REST Framework: 3.7+InstallationSimply install usingpip:$pipinstalldjetDocumentationFull documentation is available to study atread the docsand indocsdirectory.
Package: anavnet
AnavNetClient library to theAnavNetwebsite, which provides the current warnings from the Portuguese maritime ports.Includes all the available port names and identifiers.Counts the total messages per port.Extracts all the information from the messages.Includes a console script to consume the library.RequirementsBeautiful SoupRequestsInstallation$pipinstallanavnetUsageLibrary>>>fromanavnetimportAnavNet>>>anavnet=AnavNet()>>>anavnet.set_port(16)>>>anavnet.get_total_messages()>>>12>>>anavnet.get_message(1){'num_aviso':'288/18','dt_promulgacao':'23-Ago-2018','dt_inicio':'24-Ago-2018','dt_fim':'05-Set-2018','ent_promulgacao':'Capitania do Porto de Lisboa - CAPIMARLISBOA','local':'Rio Tejo - Cais Militar do Portinho da Costa.','assunto':'Área interdita à navegação','descricao':'No período de 24AGO a 05SET, está interdita a navegação a menos de 50 metros do Cais Militar do Portinho da Costa.','dt_cancelamento':'Data de cancelamento: 05-Set-2018'}Console script:$anavclient--help

usage:anavclient[-h](--list|--totalTOTAL|--textTEXTTEXT|--jsonJSONJSON)optionalarguments:-h,--helpshowthishelpmessageandexit--listListsavailableports--totalTOTALGetsthetotalofmessages.Argument:PORT_ID--textTEXTTEXTGetmessageasformattedtext.Arguments:PORT_ID,MESSAGE_INDEX--jsonJSONJSONGetmessageasJSON.Arguments:PORT_ID,MESSAGE_INDEXTests$python-munittestdiscover-stestsLicenseBSD-3-Clause
Package: anax
AnaxDbAn encrypted non-linear database based on PandasInstall AnaxDbpip install anaxGetting Startedimport anaxNext, bootstrap a new database.anax.Database(bootstrap=True);Using the DatabaseConnect:anax = anax.Database()Show tables:anax.tables()

['users']Read a table:anax.read("users")

                                uid username              email  password  admin
0  54c355db7d3d432ca8bfea093affb501    admin  admin@example.com  YWRtaW4=   TrueThere is much more to Anax. For examples and explanations clickhere.
Package: anaynayak-tut
anaynayak_tutThis package is only created for demonstarion of
how to create and publish python package on pypi.org using twine lib
you will find this on GeeksForGeeks as soon as it publishedNew Features!There are 2 function written in this packageFunctions:import anaynayak tut as a
get_sum(a,b) prints and returns addition of arguments 
get_mul(a,b) prints and returns multiplication of arguments

# Output will reflect on terminalInstallationpip install anaynayak_tutYou can reach out me at,nayakanay15@gmail.com
Package: anbani
AnbaniPyGeorgian Python toolkit for NLP, Transliteration and more. Partially based onanbani.js.InstallpipinstallanbaniQuickstartTransliteration example:fromanbani.core.converterimportconvert,interpretinterpret("გამარჯობა","asomtavruli")# 'ႢႠႫႠႰႿႭႡႠ'Georgianisation example:fromanbani.nlp.georgianisationimportgeorgianisegeorgianise("gamarjoba - rogor xar - rasa iqm - kaia kata - kai erti")# 'გამარჯობა - როგორ ხარ - რასა იქმ - კაია კატა - კაი ერთი'Convert ebooks with qwerty encoding to unicode Mkhedruli:fromanbani.nlp.utilsimportebook2textfromanbani.core.converterimportclassify_textfromanbani.core.converterimportconverttext=ebook2text("/home/george/Dev/georgian-text-corpus/sources/mylibrary/raw/files/ჩარლზ დიკენსი - დევიდ კოპერფილდი.pdf")print(text[:300])print(classify_text(text))print(convert(text,"qwerty","mkhedruli")[:300])# Carlz dikensi daviT koperfildi Tavi pirveli dabadeba me viqnebi gmiri Cemive sakuTari Tavgadasavlisa Tu sxva...# latin# ჩარლზ დიკენსი დავით კოპერფილდი თავი პირველი დაბადება მე ვიქნები გმირი ჩემივე საკუთარი თავგადასავლისა თუ სხვა...Expand contractions:fromanbani.nlp.contractionsimportexpand_texttext="ილია ჭავჭავაძე (დ. 8 ნოემბერი, 1837, სოფელი ყვარელი — გ. 12 სექტემბერი, 1907, წიწამური)"print(text)print(expand_text(text))# ილია ჭავჭავაძე (დ. 8 ნოემბერი, 1837, სოფელი ყვარელი — გ. 12 სექტემბერი, 1907, წიწამური)# ილია ჭავჭავაძე (დაბადება 8 ნოემბერი, 1837, სოფელი ყვარელი — გარდაცვალება 12 სექტემბერი, 1907, წიწამური)To-DoFeel free to fork this repo!TokenizerTransliterationExpand contractionsebook2pdf converterStemmerLemmatizerStopwordsResources usedhttp://www.nplg.gov.ge/civil/statiebi/wignebi/qartul_enis_marTlwera/qartul_enis_marTlwera_tavi-12.htmhttp://www.nplg.gov.ge/civil/upload/Semokleba.htm
Package: anbefm
anbefm一个后台框架manage 应用管理handle_payload 解析请求bodyjwt 保存登录信息model 数据库连接请求数据校验排序启动应用python -m anbefm.manage startapp --port=9201 --app=client如何发布python到pypi可以参考这篇教程主要步骤：setup.py生成包pip install --user --upgrade setuptools wheel twinepython setup.py sdist bdist_wheel上传包到 PyPI注册pypi账号python -m twine upload dist/*如何调试python包npm 中的npm link命令可以很方便的将当前项目链接到全局安装目录，python中也有类似的命令# 将当前包安装到全局， 可以指定包所在的文件夹（setup.py所在的文件夹）pipinstall-e.# 或pythonsetup.pydevelop
Package: anbima_calendar
Anbima Calendar 🏦 📆IntroductionAnbima Calendaris a Python library designed to simplify handling banking holidays specific to Brazil.ANBIMA (Associação Brasileira das Entidades dos Mercados Financeiro e de Capitais), the Brazilian Financial and Capital Markets Association, plays a crucial role in the development of financial markets in Brazil. This library provides a robust set of tools for determining business days, calculating due dates, and identifying holidays based on the official holiday calendar published by ANBIMA.The holiday data used inAnbima Calendaris sourced directly from ANBIMA's official website:https://www.anbima.com.br/feriados/feriados.asp. This ensures that the library stays up-to-date with the most accurate and relevant holiday information, making it an invaluable resource for financial applications, scheduling systems, and any software dealing with date calculations in the Brazilian context.Whether you're developing a finance-related application, a scheduling tool, or simply need to be aware of Brazilian banking holidays, Anbima Calendar offers a straightforward and efficient solution to navigate through the complexities of holiday scheduling in Brazil's financial markets.FeaturesIdentify Business Days: Quickly determine if a specific date is a business day in Brazil.Calculate Due Dates: Accurately calculate due dates taking into account weekends and holidays.Discover Holidays: Retrieve information about specific Brazilian holidays.Add Business Days: Add a specified number of business days to a given date.InstallationInstall Anbima Calendar using pip:pipinstallanbima_calendarQuickstartHere's a quick example to get you started with Anbima Calendar:fromanbima_calendarimportis_business_day,add_business_days,get_holiday# Check if a date is a business dayprint(is_business_day('2023-04-21'))# False, as it's Tiradentes' Day# Add business days to a datenew_date=add_business_days(5,'2023-04-18')print(new_date)# Returns the date after adding 5 business days# Retrieve the holiday nameholiday=get_holiday('2023-04-21')print(holiday)# TiradentesChecking Business Days:Determine if a given date is a business day in Brazil.fromanbima_calendarimportis_business_dayprint(is_business_day('2023-12-25'))# False, Christmas Day is a holidayAdding Business Days:Add business days to a date, automatically skipping weekends and holidays.fromanbima_calendarimportadd_business_daysnew_date=add_business_days(10,'2023-12-20')print(new_date)# Date 10 business days from December 20, 2023Identifying HolidaysFind out if a date is a holiday and get its name.fromanbima_calendarimportget_holidayholiday_name=get_holiday('2023-05-01')print(holiday_name)# Dia do Trabalho (Labor Day)ContributingContributions to Anbima Calendar are welcome! Whether it's bug reports, feature requests, or code contributions, your input is highly valued. Please refer to our Please refer to ourcontributing guidelinesfor more information.LicenseAnbima Calendar is licensed under the MIT License. See the LICENSE file for more details.