Saravanan666/pypi-org huggingface dataset:
Package: ansys-scade-apitools
OverviewAnsys SCADE API Tools is an extension library for SCADE Python APIs.RequirementsTheansys-scade-apitoolspackage supports only the versions of Python delivered with
Ansys SCADE, starting from 2021 R2:2021 R2 through 2023 R1: Python 3.72023 R2 and later: Python 3.10Ansys SCADE API Tools has two installation modes: user and developer. To install for use,
seeGetting started.
To install for development, seeContribute.Documentation and issuesDocumentation for the latest stable release of Ansys SCADE API Tools is hosted atAnsys SCADE API Tools documentation.In the upper right corner of the documentation’s title bar, there is an option for
switching from viewing the documentation for the latest stable release to viewing the
documentation for the development version or previously released versions.On theAnsys Scade API Tools Issuespage, you can create issues to report bugs and request new features. On theDiscussionspage on the Ansys Developer portal, you can post questions, share ideas, and get community feedback.LicenseAnsys Scade API Tools is licensed under the MIT license.This toolkit makes no commercial claim over Ansys whatsoever. The use of this toolkit
requires a legally licensed copy of the Ansys SCADE Suite. For more information,
see theAnsys SCADE Suitepage on the Ansys website.
Package: ansys-seascape
A pythonic remotable interface to RedHawkSC and TotemSC that allows integration with other PyAnsys and Python libraries.How to installInstall from PyPIUser installation can be performed by running:pipinstallansys-seascapeORpython-mpipinstallansys-seascapeInstall from latest Github sourceFetch latest source from github:cd<your-library-directory>gitclonehttps://github.com/pyansys/pyseascape.git(Optional) Create and enable virtual environment. Please refer to officialvenvdocumentation for more help regarding virtual environment setup.# Create a virtual environmentpython-mvenv.venv# Activate it in a POSIX systemsource.venv/bin/activate# Activate it in Windows CMD environment.venv\Scripts\activate.bat# Activate it in Windows Powershell.venv\Scripts\Activate.ps1Install the projectcdpyseascapepipinstall.Install additional requirements (if needed):python-mpipinstall.[tests]python-mpipinstall.[doc]UsageNote: Either a local installation or remote connection to licensed RedHawk-SC is required to use the pyseascape library. This only offers a remotable frontend interface that can run directly in native Python on any machine.Launching local RedHawk-SC in backendfromansys.seascapeimportRedHawkSCgp=RedHawkSC(executable=path_to_executable)ORfromansysimportseascapegp=seascape.RedHawkSC(executable=path_to_executable)Connecting to remote RedHawk-SC sessionfromansys.seascapeimportRedHawkSCgp=RedHawkSC(url=url_or_ip_to_redhawksc_server:port)All RedHawk-SC global functions can be called using prefix of RedHawkSC object name. Object methods can be called as normal.Running RedHawk-SC commandsFor example:# If gp = RedHawkSC(...)db=gp.open_db(db_name)# Returns a SeascapeDB remotable objectdb.create_design_view(...)# Creating RedHawk-SC objectsinst=gp.Instance('Inst_Name')# RedHawk-SC modules must also be prefixed by gp# E.g. using voltage_impact modulegp.voltage_impact.helpers.get_pgimpact_histograms(...)Accessing RedHawk-SC helpRedHawk-SC native help function supports command based as well as keyword based help.
This help can be accessed remotely as well.# If gp = RedHawkSC(...)# command based helpgp.help(command='gp.Scatter')# keyword based helpgp.help(keyword='scatter')Known issues and limitationsGUI features have not yet been implemented. Hence, commands like open_console_window, open_scheduler_window etc. do not work yet. Commands like gp.scatter_plot also does not work as it requires drawing gui plotsDocumentationPlease refer to RedHawk-SC Documentation.
Package: ansys-sherlock-core
PySherlock is a Python client library for the Ansys Sherlock product.OverviewAnsys Sherlock is a reliability physics-based electronics design tool that provides
fast and accurate life predictions for electronic hardware at the component,
board, and system levels in early stage design.PySherlock provides Pythonic access to Sherlock’s functions, enabling
users to automate and customize their specific workflows.With PySherlock, you can perform many tasks, including these:Launch a Sherlock gRPC server and a Sherlock client.Import ECAD files and generate project reports.Define life cycle events and profiles.Generate a stackup and update a stackup layer.Update a project parts list.Perform layer view operations such as updating a mount point’s location.Export a trace or trace reinforcement model for integration with Ansys Workbench.Execute one or more analyses.DependenciesYou must have a licensed copy ofAnsys Sherlockinstalled either on your local machine or a remote machine. To use a remote session, a connection to the
remote machine must be available from your Python program.Documentation and issuesFor comprehensive information on PySherlock, see the latest releasedocumentation.On thePySherlock Issuespage,
you can create issues to submit questions, report bugs, and request new features.
This is the best place to post questions and code.ContributingIf you would like to test or contribute to the development of PySherlock, seeContributein the
PySherlock documentation.LicensePySherlock is licensed under the MIT license.PySherlock makes no commercial claim over Ansys whatsoever. This library extends the functionality
of Ansys Sherlock by adding a Python interface to Sherlock without changing the core behavior
or license of the original software. The use of the interactive control of PySherlock requires
a legally licensed copy of Sherlock.For more information on Sherlock, see theAnsys Sherlockpage on the Ansys website.
Package: ansys-simai-core
A Python wrapper for Ansys SimAIHow to installAt least two installation modes are provided: user and developer.For usersIn order to install PySimAI, make sure you
have the latest version ofpip. To do so, run:python-mpipinstall-UpipThen, you can simply execute:python-mpipinstallansys-simai-coreFor developersInstalling PySimAI in developer mode allows
you to modify the source and enhance it.Before contributing to the project, please refer to thePyAnsys Developer’s guide. You will
need to follow these steps:Start by cloning this repository:gitclonehttps://github.com/ansys/pysimaiInstall PDM. NB: If you are a Windows user, make sure that Python is installed on your system and it is added to the Path.Use PDM to create a virtual env with the dependencies and activate itFor Linux/Mac:pdminstalleval$(pdmvenvactivate)For Windows:pdminstallInvoke-Expression(pdmvenvactivate)Finally, verify your development installation by running:python-mpipinstalltoxtoxHow to testThis project takes advantage oftox. This tool allows to automate common
development tasks (similar to Makefile) but it is oriented towards Python
development.Using toxAs Makefile has rules,toxhas environments. In fact, the tool creates its
own virtual environment so anything being tested is isolated from the project in
order to guarantee project’s integrity. The following environments commands are provided:tox -e style: will check for coding style quality.tox -e py: checks for unit tests.tox -e py-coverage: checks for unit testing and code coverage.tox -e doc: checs for documentation building process.Raw testingIf required, you can always call the style commands (ruff) or unit testing ones (pytest) from the command line. However,
this does not guarantee that your project is being tested in an isolated
environment, which is the reason why tools liketoxexist.A note on pre-commitThe style checks take advantage ofpre-commit. Developers are not forced but
encouraged to install this tool via:python-mpipinstallpre-commit&&pre-commitinstallDocumentationFor building documentation, you can either run the usual rules provided in theSphinxMakefile, such as:make-Cdoc/html&&opendoc/html/index.htmlHowever, the recommended way of checking documentation integrity is using:tox-edoc&&open.tox/doc_out/index.htmlDistributingPDM commands can help you build or publish the packagepdmbuildpdmpublish
Package: ansys-sphinx-theme
IntroductionThe Ansys Sphinx theme is an extension of the popularPyData Sphinx themethat is used bynumpy,pandas,pyvista, and many more
scientific Python packages.You use the Ansys Sphinx theme withSphinx,
a Python documentation generator, to create documentation.
The theme’s objective is to ensure that Ansys documentation
looks and behaves consistently.While this theme is primarily used to create documentation
for PyAnsys libraries, you can also use it to create
documentation for any Ansys project with content in
reStructuredText (RST) and Markdown (files).If you are new to using Sphinx, seeSphinx Getting Started.Documentation and issuesIn addition to installation information, theAnsys Sphinx theme documentationprovides information on how you can customize the theme. Because
this documentation is created using this theme, viewing it is
an easy way to preview the theme itself.On theIssues pagefor this repository, you can create issues to submit questions, report bugs,
and request new features. To reach the PyAnsys support team, emailpyansys.support@ansys.com.Getting startedInstall theansys-sphinx-themepackage with:python -m pip install ansys-sphinx-themeModify your Sphinxconf.pyfile to usehtml_theme = 'ansys_sphinx_theme'.Development and contributionsIf you want to contribute to the PyAnsys Sphinx theme, install
theansys-sphinx-themepackage in development mode with:git clone https://github.com/ansys/ansys-sphinx-theme.git
python -m pip install -U pip tox
tox -e style,docTo simplify checks, this repository usespre-commit.
You can optionally install and use this tool. For more information, see itsinstallationandusagedocumentation.Before contributing to a PyAnsys library, seeContributingin thePyAnsys Developer’s Guidefor overall guidance, paying particular
attention toHow-tofor
guidelines and best practices.LicenseThis theme is licensed under theMIT License.
Package: ansys-templates
Theansys-templatesrepository holds a collection of useful templates compliant
with PyAnsys guidelines. It also provides theansys-templatescommand line tool
for interactively generating new projects based on previous templates.The main advantages of using this tool are:Building process is fully interactive. There is no need to manually modify files.Output of the project can easily be customized during the rendering process.Generated projects are compliant withPyAnsys Developer’s Guidelines.For information on using this tool, see theAnsys Templates Documentation.How to installUsers can installansys-templatesby running:python -m pip install ansys-templatesThe usage ofpipxis encouraged too. Seeinstalling ansys-templates using
pipx.Basic commandsThe following commands are provided withansys-templates:ansys-templates--help: lists information about the tool.ansys-templateslist: lists all available templates.ansys-templatesnew <template name>: creates a new project from template.Available templatesAvailable templates inansys-templatesare:doc-project: Create a documentation project using Sphinx.pybasic: Create a basic Python Package.pyansys: Create a PyAnsys Python Package project.pyansys-advanced: Create an advanced PyAnsys Python Package project.pyansys-openapi-client: Create an OpenAPI Client Package project.pyace: Create a Python project for any method developers.pyace-flask: Create a Flask project initialized for any developer.pyace-grpc: Create gRPC project initialized for any developer.pyace-fast: Create a FastAPI project initialized for any developer.solution: Create a Solution based on the Solution Application Framework.For Ansys Internal Use OnlyTemplate featuresThe following table summarizes the main properties for each of the templates
available inansys-templates:Templatesetup.pypyproject.tomlActionstox.inirequirements/Dockerdoc-projectXXXpybasicXpyansysXXXpyansys-advancedXXXXXpyansys-openapi-clientpyaceXXXXXXpyace-fastXXXXXXpyace-flaskXXXXXXpyace-grpcXXXXXXsolution “*”XXXXWarning“*” This template is forAnsys Internal Use Only.Demo branchesTo have a better idea on how each template will look once it gets rendered, see
its corresponding demonstration branch.Demo branch fordoc-projectDemo branch forpybasicDemo branch forpyansysDemo branch forpyansys-advanced using flitDemo branch forpyansys-advanced using poetryDemo branch forpyansys-advanced using setuptoolsDemo branch forpyaceDemo branch forpyace-fastDemo branch forpyace-flaskDemo branch forpyace-grpcDemo branch forsolution
Package: ansys-tools-example-coverage
ansys-tools-example-coverageTheansys-tools-example-coveragelibrary is intended to assess and report the docstring examples coverage
of modules and submoldules from a given directory.
example-coverage is licensed under theMIT License.What does this library do?ansys-tools-example-coveragedisplays the number of documentation strings containing
examples following either thenumpydocorGoogle-Style.Example usage:python -m ansys.tools.example_coverage -f "path_to_package"

Name                                      Methods     Missed   Covered
-----------------------------------------------------------------------
my_package.my_module_a.sub_module_a             3          3       0.0%
my_package.my_module_a.sub_module_b             6          3      50.0%
my_package.my_module_a.sub_module_c             1          0     100.0%
my_package.my_module_b                          4          1      75.0%
-----------------------------------------------------------------------
Total                                          14          7        50%InstallationInstall with:pip install ansys-tools-example-coverageIssuesTo post issues, questions, and code, go toexample-coverage Issues.Licenseansys-tools-example-coverageis licensed under the MIT license.
Package: ansys-tools-path
Library to locate Ansys products in a local machine.How to installAt least two installation modes are provided: user and developer.For usersIn order to installansys-tools-path, make sure you
have the latest version ofpip. To do so, run:python-mpipinstall-UpipThen, you can simply execute:python-mpipinstallansys-tools-pathFor developersInstallingansys-tools-pathin developer mode allows
you to modify the source and enhance it.Before contributing to the project, please refer to thePyAnsys Developer’s guide.
You need to follow these steps:Start by cloning this repository:gitclonehttps://github.com/ansys/ansys-tools-pathCreate a fresh-clean Python environment and activate it:# Create a virtual environmentpython-mvenv.venv# Activate it in a POSIX systemsource.venv/bin/activate# Activate it in Windows CMD environment.venv\Scripts\activate.bat# Activate it in Windows Powershell.venv\Scripts\Activate.ps1Make sure you have the latest required build system and doc, testing, and CI tools:python-mpipinstall.[tests]python-mpipinstall.[doc]python-mpipinstall.[build]Install the project in editable mode:python-mpipinstall--editableansys-tools-pathHow to testingIf required, you can always call the style commands (black,isort,flake8…) or unit testing ones (pytest) from the command line. However,
this does not guarantee that your project is being tested in an isolated
environment, which is the reason why tools liketoxexist.A note on pre-commitThe style checks take advantage ofpre-commit. Developers are not forced but
encouraged to install this tool via:python-mpipinstallpre-commit&&pre-commitinstallDocumentationFor building documentation, you can either run the usual rules provided in theSphinxMakefile, such us:make-Cdoc/html&&your_browser_namedoc/html/index.htmlDistributingIf you would like to create either source or wheel files, start by installing
the building requirements and then executing the build module:python-mpipinstall.[build]python-mbuildpython-mtwinecheckdist/*
Package: ansys-tools-repo-sync
Theansys-tools-repo-synclibrary is intended to synchronize the content
of two different repositories.What does this library do?For instance, due to intellectual properties concerns, it might not be possible
to expose publicly the entire content of a private repository.
Its owner could decide to have a second repository, a public one.
Part of the content for this public repo would come from the private repository.ansys-tools-repo-syncallows you to do so by copying a folder and its content
from one repo to the other.By default, nothing is synced to the secondary repository (in order to avoid undesired
content). For that purpose, users have to provide amanifestfile (in ASCII format)
that contains regular expressions for the files accepted.For example, if we wanted to sync all*.pyfiles, one should generate amanifestfile as follows:*.pyHow to use it?A common usage for this tool consist to integrate it in one of your CI/CD pipeline or workflow.
Firstly, the tool must be installed.pipinstallansys-tools-repo-syncThen, it can be used in the considered workflow with the appropriate arguments.Run it as follows:repo-sync\--token<token>\--owner<organization-name>\--repository<repository-name>\--from-dir<path-to-dir-containing-files-to-sync>\--to-dir<target-dir-for-sync>\--include-manifest<path-to-manifest>The options above arecompulsoryin order to run the tool. If an option is missing,
the operation will fail. For more information on all the available options for this tool,
users can run:repo-sync--helpNoteThe--dry-runflag can be set while establishing the entire
workflow for the first time. It helps preventing unnecessary commits
of sensitive data. It will print the content expected to be committed in the
public repository.IssuesTo post issues, questions, and code, go toansys-tools-repo-sync Issues.Licenseansys-tools-repo-syncis licensed under the MIT license.
Package: ansys-turbogrid-core
PyTurboGrid is a Python wrapper forAnsys TurboGrid, a high-quality turbomachinery
meshing software app. To run PyTurboGrid, you must have access to a licensed local copy
of TurboGrid. PyTurboGrid supports Ansys TurboGrid 2023 R2 and later.InstallationTheansys-turbogrid-corepackage supports Python 3.8, 3.9, 3.10 and 3.11 on Windows and Linux. Two modes
of installation are available:User installationDeveloper installationUser installationTo use PyTurboGrid, you must install theansys-turbogrid-corepackage fromPyPI.To ensure that you have the latest version ofpip, run this command:python-mpipinstall-UpipTo install PyTurboGrid, run this command:python-mpipinstallansys-turbogrid-coreDeveloper installationA developer installation consists of cloning thepyturbogridrepository
and installing the project in editable mode. When you install PyTurboGrid from
source code, you can modify and enhance the code.Overall guidance on contributing to a PyAnsys library appears in theContributingtopic
in thePyAnsys Developer’s Guide. Ensure that you are thoroughly familiar
with thisguidebefore attempting to
contribute to PyTurboGrid.Clone thepyturbogridrepository:gitclonehttps://github.com/ansys/pyturbogrid.gitTo avoid incompatibilites in requirements when working in multiple
Python projects, create and activate a virtual environment. For
more information, seeVirtual environmentsin thePyAnsys
Developer’s Guide.To ensure that you have the latest version ofpip, run this command:python-mpipinstall-UpipAssuming that your current working directory is the top-level directory
of your locally clonedpyturbogridrepository, install PyTurboGrid
from this local repository in editable mode by running this command:python-mpipinstall-e.RequirementsYou must have a licensed local installation of Ansys TurboGrid 2023 R2 or later.TheAWP_ROOTxxxenvironment variable, wherexxxis the three-digit
Ansys version, allows PyTurboGrid to find your local TurboGrid installation.A Windows installation automatically sets this root environment variable.
For example, if you install Ansys 2023 R2 in the default directory,
the installer sets theAWP_ROOT232environment variable toC:\ProgramFiles\ANSYS Inc\v232.A Linux installation does not automatically set this root environment
variable. For example, if you install Ansys 2023 R2 in the default
directory, you must manually set theAWP_ROOT232environment
variable to/usr/ansys_inc/v232.License and acknowledgmentsPyTurboGrid is licensed under the MIT license.PyTurboGrid makes no commercial claim over Ansys whatsoever. This library extends the
functionality of Ansys TurboGrid by adding a Python interface to TurboGrid without
changing the core behavior or license of the original software. The use of the
interactive control of PyTurboGrid requires a legally licensed local copy of TurboGrid.For more information on TurboGrid, see theAnsys TurboGridpage on the Ansys website.
Package: ant
IntroductionPython implementation of the ANT, ANT+, and ANT-FS protocols. For more
information about ANT, seehttp://www.thisisant.com/.Can be used to communicate with ANT nodes using an ANT stick (USB).This project came to be when I tried to download data for analysis from my
ANT+/ANT-FS enabled running watch under GNU/Linux. This eventually lead me to
attempting to port ANT_LIB and ANT_DLL (by Dynastream) to Linux. However, I
didn’t quite like the library, the protocol is well documented and trivial to
implement, and I was going to have to write a ctypes-based wrapper afterwards
since I was only going to use the library from Python. Thus, I decided to
write a pure Python implementation.ContactYou can reach me via e-Mail and Google Talk/Jabber at:martin at NOSPAM martinvillalba dot comDocumentationDocumentation will be a bit scarse for the time being, but everything public
should have at least a docstring by the time I make the first stable release.LicenseReleased under the MIT/X11 license. See LICENSE for the full text.Install% python setup.py installDevelopSee DEVELOP.md for details.
Package: ant1Interface
前言：
这个代码库主要是用来实现引擎调用算法模型时，输入输出接口的解析。bot中相应的接口定义详见https://yuque.antfin.com/crtpg4/dp5u2i/ciww6f#qNMmC两种import方式：
1. 如果使用antnlp，参考antnlp/adabrain/common/interface/ant1/demo.py
2. 如果不使用antnlp, 直接安装pypi包，pip install -ihttps://test.pypi.org/simple/ant1
在代码里面引入包  import ant1
引入具体包 from ant1 import decoder
务必在函数每次被调用的时候，进行初始化
decode_builder = decoder.DecoderParamsBuilder(input_proto_type=INPUT_PROTO_TYPE)组件内的解析函数定义使用详见antnlp/adabrain/common/interface/ant1/docs
Package: anta
Arista Network Test Automation (ANTA) FrameworkANTA is Python framework that automates tests for Arista devices.ANTA provides aset of teststo validate the state of your networkANTA can be used to:Automate NRFU (Network Ready For Use) test on a preproduction networkAutomate tests on a live network (periodically or on demand)ANTA can be used with:TheANTA CLIAs aPython libraryin your own application# Install ANTA CLI$pipinstallanta# Run ANTA CLI$anta--help
Usage:anta[OPTIONS]COMMAND[ARGS]...AristaNetworkTestAutomation(ANTA)CLI

Options:--versionShowtheversionandexit.--log-fileFILESendthelogstoafile.IflogginglevelisDEBUG,onlyINFOorhigherwillbesenttostdout.[envvar:ANTA_LOG_FILE]-l,--log-level[CRITICAL|ERROR|WARNING|INFO|DEBUG]ANTAlogginglevel[envvar:ANTA_LOG_LEVEL;default:INFO]--helpShowthismessageandexit.

Commands:checkCommandstovalidateconfigurationfilesdebugCommandstoexecuteEOScommandsonremotedevicesexecCommandstoexecutevariousscriptsonEOSdevicesgetCommandstogetinformationfromorgenerateinventoriesnrfuRunANTAtestsondevices[!WARNING]
The ANTA CLI options have changed after version 0.11 and have moved away from the top levelantaand are now required at their respective commands (e.g.anta nrfu). This breaking change occurs after users feedback on making the CLI more intuitive. This change should not affect user experience when using environment variables.DocumentationThe documentation is published onANTA package website. Also, ademo repositoryis available to facilitate your journey with ANTA.Contribution guideContributions are welcome. Please refer to thecontribution guideCreditsThank you toAngélique Phillipps,Colin MacGiollaEáin,Khelil Sator,Matthieu Tache,Onur Gashi,Paul Lavelle,Guillaume MulocherandThomas Grimonetfor their contributions and guidances.