Saravanan666/pypi-org huggingface dataset:
Package: agileupbom
agileupbomPython 3.8+ project to manage AgileUP pipeline bill-of-materials with the following features:Linux and Windows compatible project.Defines BOM model.Manages bom yaml in S3 compatible storage.PrerequisitesThis project uses poetry is a tool for dependency management and packaging in Python. It allows you to declare the
libraries your project depends on, it will manage (install/update) them for you.Use the installer rather than pipinstalling-with-the-official-installer.poetryselfaddpoetry-bumpversionpoetry-V
Poetry(version1.2.0)Windows PathInstall poetry from powershell in admin mode.(Invoke-WebRequest-Urihttps://install.python-poetry.org-UseBasicParsing).Content|py-The path will beC:\Users\<YOURUSER>\AppData\Roaming\Python\Scripts\poetry.exewhich will will need to add to your system path.Windows GitBashWhen using gitbash you can setup an alias for the poetry command:aliaspoetry="\"C:\Users\<YOURUSER>\AppData\Roaming\Python\Scripts\poetry.exe\""Getting StartedpoetryupdatepoetryinstallRunpoetryrunagileupbomLintpoetryrunflake8TestpoetryrunpytestPublishBy default we are usingPYPI packages.Create yourself an access token for PYPI and then follow the instructions.exportPYPI_USERNAME=__token__exportPYPI_PASSWORD=<YourAPIToken>
poetrypublish--build--username$PYPI_USERNAME--password$PYPI_PASSWORDVersioningWe useSemVerfor versioning. For the versions available, see thetags on this repository.ReleasingWe are usingpoetry-bumpversionto manage release versions.poetryversionpatchDependencyOnce the release has been created it is now available for you to use in other python projects via:pipinstallagileupbomAnd also for poetry projects via:poetryaddagileupbomContributingPlease readCONTRIBUTING.mdfor details on our code of conduct, and the process for submitting pull requests to us.LicenseThis project is licensed under the Apache License, Version 2.0 - see theLICENSEfile for details
Package: agileupipc
agileupipcPython 3.8+ project to manage AgileUP Informatica PowerCenter with the following features:Linux and Windows compatible project.PrerequisitesThis project uses poetry is a tool for dependency management and packaging in Python. It allows you to declare the
libraries your project depends on, it will manage (install/update) them for you.Use the installer rather than pipinstalling-with-the-official-installer.poetryselfaddpoetry-bumpversionpoetry-V
Poetry(version1.2.0)Windows PathInstall poetry from powershell in admin mode.(Invoke-WebRequest-Urihttps://install.python-poetry.org-UseBasicParsing).Content|py-The path will beC:\Users\<YOURUSER>\AppData\Roaming\Python\Scripts\poetry.exewhich will will need to add to your system path.Windows GitBashWhen using gitbash you can setup an alias for the poetry command:aliaspoetry="\"C:\Users\<YOURUSER>\AppData\Roaming\Python\Scripts\poetry.exe\""Getting StartedpoetryupdatepoetryinstallRunpoetryrunagileupipcLintpoetryrunflake8TestpoetryrunpytestPublishBy default we are usingPYPI packages.Create yourself an access token for PYPI and then follow the instructions.exportPYPI_USERNAME=__token__exportPYPI_PASSWORD=<YourAPIToken>
poetrypublish--build--username$PYPI_USERNAME--password$PYPI_PASSWORDVersioningWe useSemVerfor versioning. For the versions available, see thetags on this repository.ReleasingWe are usingpoetry-bumpversionto manage release versions.poetryversionpatchDependencyOnce the release has been created it is now available for you to use in other python projects via:pipinstallagileupipcAnd also for poetry projects via:poetryaddagileupipcContributingPlease readCONTRIBUTING.mdfor details on our code of conduct, and the process for submitting pull requests to us.LicenseThis project is licensed under the Apache License, Version 2.0 - see theLICENSEfile for details
Package: agileupisa
agileupisaPython 3.8+ project to manage AgileUP Informatica Secure Agents with the following features:Linux and Windows compatible project.PrerequisitesThis project uses poetry is a tool for dependency management and packaging in Python. It allows you to declare the
libraries your project depends on, it will manage (install/update) them for you.Use the installer rather than pipinstalling-with-the-official-installer.poetryselfaddpoetry-bumpversionpoetry-V
Poetry(version1.2.0)Windows PathInstall poetry from powershell in admin mode.(Invoke-WebRequest-Urihttps://install.python-poetry.org-UseBasicParsing).Content|py-The path will beC:\Users\<YOURUSER>\AppData\Roaming\Python\Scripts\poetry.exewhich will will need to add to your system path.Windows GitBashWhen using gitbash you can setup an alias for the poetry command:aliaspoetry="\"C:\Users\<YOURUSER>\AppData\Roaming\Python\Scripts\poetry.exe\""Getting StartedpoetryupdatepoetryinstallRunpoetryrunagileupisaLintpoetryrunflake8TestpoetryrunpytestPublishBy default we are usingPYPI packages.Create yourself an access token for PYPI and then follow the instructions.exportPYPI_USERNAME=__token__exportPYPI_PASSWORD=<YourAPIToken>
poetrypublish--build--username$PYPI_USERNAME--password$PYPI_PASSWORDVersioningWe useSemVerfor versioning. For the versions available, see thetags on this repository.ReleasingWe are usingpoetry-bumpversionto manage release versions.poetryversionpatchDependencyOnce the release has been created it is now available for you to use in other python projects via:pipinstallagileupisaAnd also for poetry projects via:poetryaddagileupisaContributingPlease readCONTRIBUTING.mdfor details on our code of conduct, and the process for submitting pull requests to us.LicenseThis project is licensed under the Apache License, Version 2.0 - see theLICENSEfile for details
Package: agilicus
Agilicus SDK (Python)TheAgilicus PlatformAPI.
is defined usingOpenAPI 3.0,
and may be used from any language. This allows configuration of our Zero-Trust Network Access cloud native platform
using REST. You can see the API specificationonline.This package provides a Python SDK, class library interfaces for use in
accessing individual collections. In addition it provides a command-line-interface (CLI)
for interactive use.Read the class-library documentationonlineSamplesshows various examples of this code in use.Generally you may install this frompypias:pip install --upgrade agilicusYou may wish to add bash completion by adding this to your ~/.bashrc:eval "$(_AGILICUS_CLI_COMPLETE=source agilicus-cli)"Example: List usersThe below python code will show the same output as the CLI command:agilicus-cli --issuer https://auth.dbt.agilicus.cloud list-usersimport agilicus
import argparse
import sys

scopes = agilicus.scopes.DEFAULT_SCOPES

parser = argparse.ArgumentParser(description="update-user")
parser.add_argument("--auth-doc", type=str)
parser.add_argument("--issuer", type=str)
parser.add_argument("--email", type=str)
parser.add_argument("--disable-user", type=bool, default=None)
args = parser.parse_args()

if not args.auth_doc and not args.issuer:
    print("error: specify either an --auth-doc or --issuer")
    sys.exit(1)

if not args.email:
    print("error: specify an email to search for a user")
    sys.exit(1)

api = agilicus.GetClient(
    agilicus_scopes=scopes, issuer=args.issuer, authentication_document=args.auth_doc
)

users = api.users.list_users(org_id=api.default_org_id, email=args.email)
if len(users.users) != 1:
    print(f"error: failed to find user with email: {args.email}")
    sys.exit(1)

user = users.users[0]

if args.disable_user is not None:
    user.enabled = args.disable_user

result = api.users.replace_user(
    user.id, user=user, _check_input_type=False, _host_index=0
)
print(result)
Package: agility
AgilityAtomisticGrain Boundary andInterface Utility.InstallationThere are different ways to installagility. Choose what works best with your workflow.From sourceTo build from source, usepip install -r requirements.txt

python setup.py build

python setup.py installUsingpippip install agilityUsingcondaconda skeleton pypi agility

conda build agility

conda install --use-local agilityContributingAny contributions or even questions about the code are welcome - please use theIssue TrackerorPull Requests.DevelopmentThe development takes place on thedevelopmentbranch. Python 3.9 is the minimum requirement. Some backends (like ovito) currently do not support Python 3.10.If you use VSCode, you might editsettings.jsonas follows:"python.linting.flake8Enabled":true,"python.linting.flake8Args":["--max-line-length=100","--ignore=F841"],"python.linting.enabled":true,"python.linting.pylintEnabled":false,"python.linting.mypyEnabled":true,"python.linting.pycodestyleEnabled":false,"python.linting.pydocstyleEnabled":true,"python.formatting.provider":"black","python.formatting.blackArgs":["--line-length=100"],"python.sortImports.args":["--profile","black"],"[python]":{"editor.codeActionsOnSave":{"source.organizeImports":true},}DocumentationThe user documentation will be written in python sphinx. The source files should be
stored in thedocdirectory.Run testsAfter installation, in the home directory, use%pytest
Package: agility-cms
Agility CMS Python SDKThis package is a Python library for calling theAgility CMS Rest API.InstallationUse the package managerpipto install agility-cms.pipinstallagility-cmsInitializationimportClientfromagility_cmsclient=Client('<your guid>','<your api key>',locale="en-us",preview=True,url="api.aglty.io")Required Argumentsguid (str)api_key (str)Optional Argumentslocale (str)preview (bool)url (str)Galleryclient.gallery('<gallery id>')Required Argumentsgallery_id (int)Itemclient.item('<item id>',content_link_depth=1,expand_all_content_links=False)Required Argumentsitem_id (int)Optional Argumentscontent_link_depth (int)expand_all_content_links (bool)Listclient.list('<reference name>',fields="",take=10,skip=0,filter_="",sort="",direction='asc',content_link_depth=1,expand_all_content_links=False)Required Argumentsreference_name (str)Optional Argumentsfields (str)take (int)skip (int)filter (str)sort (str)direction (str)content_link_depth (int)expand_all_content_links (bool)Pageclient.page('<page id>',content_link_depth=2,expand_all_content_links=False)Required Argumentspage_id (int)Optional Argumentscontent_link_depth (int)expand_all_content_links (bool)Sitemapclient.sitemap('<channel name>',nested=False)Required Argumentschannel_name (str)Optional Argumentsnested (bool)Sync Itemsclient.sync_items(sync_token=0,page_size=500)Optional Argumentssync_token (int)page_size (int)Sync Pagesclient.sync_pages(sync_token=0,page_size=500)Optional Argumentssync_token (int)page_size (int)Url Redirectionsclient.url_redirections(last_access_date="")Optional Argumentslast_access_date (str)
Package: agiltron-selfalign
Agiltron-SelfAlignPython interface for theAgiltron SelfAlignfiber switch.Installpip install git+https://github.com/ograsdijk/Agiltron-SelfAlign.gitCode Examplefromagiltron_selfalignimportAgiltronSelfAlignresource_name="COM8"switch=AgiltronSelfAlign(resource_name,number_of_ports=16)# change port to port 14switch.set_fiber_port(14)# home switch to port 1switch.home()
Package: agine
agineagineis a Python package which have functionalities related to points in an n-dimensional space (which is defined by itsx, y, ...zcoordinates), or an actual position on the Earth (given by itslatitude, longitude). Considering two points (say P, Q), apart from many other purposes, this library can also detect if the two have a clear line of sight or not.Basic Usageagine hasthreemain functionalities: (1) Calculation of Distances, using different metrics, which is defined undercommons, (2) Functions to Find the Nearest Neighbor and (3) Function to Find if two Geographic Point has aLine-of-Sightor not. All of this can be done using the following:gitclonehttps://github.com/ZenithClown/agine.gitcdagine# as agine is currently not indexed in PyPipipinstallagine# Installing agine with pipimportagine>>Settingupagine-Environment...>>DetectedOS:"<os-name-with-version>">>scikit-learnOptions:"<is-scikit-learn-available>">>"etc. which Defines the Core-Capability"agine has a hard dependency of onlynumpyso that some of its functionalities can be used somewhere else. For options (2) and (3) it has different requirements, which can be accessed using:agine.OSOptions._point_funcandagine.OSOptions._line_of_strepectively.
Package: agiocli
Autograder.io CLIAutograder.io CLI (agio) is a command line interface toautograder.io.Quick start$pipinstallagiocli$agioContributingContributions from the community are welcome! Check out theguide for contributing.AcknowledgmentsAutograder.io CLI is written by Andrew DeOrioawdeorio@umich.edu.  Justin Applefield removed bugs and contributed features.It is based on work by James Perretta (Autograder.io Contrib) and Amir Kamil (Autograder Tools).
Package: agios
## What is agios?agios is an open source, Python 3 library for playing with genetic algorithms. Main functionality includes:* Generic API allowing to easily implement custom tasks* Highly customizable algorithm execution cycle* Multithreading support* Built-in support for images processing* Multidimensional data processingTODO list includes:* Support for PyCUDA and processing on GPU## How to install it?```pip install agios```## Where is an example code?```pythonfrom agios import evolutionfrom agios import extrasblueprint = extras.load_normalized_image('input/mona_lisa.jpg', extras.Greyscale)evolution_problem_solver = evolution.SimpleSolver(population_size=100,best_samples_to_take=2,blueprint=evolution.NumpyArraySample(blueprint),mutator=evolution.SimplePaintbrushMatrixMutator((10, 15), (10, 50)),crosser=evolution.MeanValueMatrixCrosser(),loss_calculator=evolution.SquaredMeanMatrixLossCalculator(),initial_sample_state_generator=evolution.RandomMatrixGenerator(blueprint.shape))for _ in range(10000):evolution_problem_solver.step()```Live examples can be found in examples/ directory.## How to contribute?Report observed issues or provide working pull request. Pull request must be verified before merging and it must include the following:* Unit tests* Public API marked with static typing annotations (typing module)* Public classes must include brief documentation
Package: agixtsdk
AGiXT SDK for PythonThis repository is for theAGiXTSDK for Python.InstallationpipinstallagixtsdkUsagefromagixtsdkimportAGiXTSDKbase_uri="http://localhost:7437"api_key="your_agixt_api_key"ApiClient=AGiXTSDK(base_uri=base_uri,api_key=api_key)Check out the AGiXTExamples and Tests Notebookfor examples of how to use the AGiXT SDK for Python.More DocumentationWant to know more about AGiXT?  Check out ourdocumentationorGitHubpage.
Package: agjax
Agjax -- jax wrapper for autograd-differentiable functions.v0.3.0Agjax allows existing code built with autograd to be used with the jax framework.In particular,agjax.wrap_for_jaxallows arbitrary autograd functions ot be differentiated usingjax.grad. Several other function transformations (e.g. compilation viajax.jit) are not supported.Meanwhile,agjax.experimental.wrap_for_jaxsupportsgrad,jit,vmap, andjacrev. However, it depends on certain under-the-hood behavior by jax, which is not guaranteed to remain unchanged. It also is more restrictive in terms of the valid function signatures of functions to be wrapped: all arguments and outputs must be convertible to valid jax types. (agjax.wrap_for_jaxalso supports non-jax inputs and outputs, e.g. strings.)Installationpip install agjaxUsageBasic usage is as follows:@agjax.wrap_for_jaxdeffn(x,y):returnx*npa.cos(y)jax.grad(fn,argnums=(0,1))(1.0,0.0)# (Array(1., dtype=float32), Array(0., dtype=float32))The experimental wrapper is similar, but requires that the function outputs and datatypes be specified, simiilar tojax.pure_callback.wrapped_fn=agjax.experimental.wrap_for_jax(lambdax,y:x*npa.cos(y),result_shape_dtypes=jnp.ones((5,)),)jax.jacrev(wrapped_fn,argnums=0)(jnp.arange(5,dtype=float),jnp.arange(5,10,dtype=float))# [[ 0.28366217  0.          0.          0.          0.        ]#  [ 0.          0.96017027  0.          0.          0.        ]#  [ 0.          0.          0.75390226  0.          0.        ]#  [ 0.          0.          0.         -0.14550003  0.        ]#  [ 0.          0.          0.          0.         -0.91113025]]Agjax wrappers are intended to be quite general, and can support functions with multiple inputs and outputs as well as functions that have nondifferentiable outputs or arguments that cannot be differentiated with respect to. These should be specified usingnondiff_argnumsandnondiff_outputnumsarguments. In the experimental wrapper, these must still be jax-convertible types, while in the standard wrapper they may have arbitrary typess.@functools.partial(agjax.wrap_for_jax,nondiff_argnums=(2,),nondiff_outputnums=(1,))deffn(x,y,string_arg):returnx*npa.cos(y),string_arg*2(value,aux),grad=jax.value_and_grad(fn,argnums=(0,1),has_aux=True)(1.0,0.0,"test")print(f"value ={value}")print(f"  aux ={aux}")print(f" grad ={grad}")value = 1.0
  aux = testtest
 grad = (Array(1., dtype=float32), Array(0., dtype=float32))
Package: aglfn
aglfnPython utilities for AGLFN (Adobe Glyph List For New Fonts)pip installaglfn💾 Install•🎮 Quick start•📋 Testing•😍 Acknowledgements•👤 Contributing•💼 Licenseaglfnis a small utility to accessAGLFNnames easily in Python.
Many software tools for new typefaces often referes to glyphs with this names.
Some typography tools tend to hardcode the aglfn.txt file and parse it, so this
is an attempt to have the submodule of the AGLFN repository without inglobe
those files each time in our repos.AGFLN is a subset of the AGL list intended to provide a baselist of glyphs for a
new Latin font. More detailed information could be found on therepoand on theAGL specification.🚩 Table of Contents(click to expand)InstallQuick startTestingAcknowledgementsContributingLicense💾 Installpip install aglfnor if you want to install it locally for development clone this repo and thencdaglfn
pipinstall-e.🎮 Quick startnamesget the list of all the AGLFN namesimportaglfnprint(aglfn.names)glyphsget the list of all glyphs with a corresponding AGLFN nameimportaglfnprint(aglfn.glyphs)name()get the corresponding AGLFN name by passing a glyphimportaglfnname=aglfn.name('€')assert'Euro'==nameto_glyph()get the corresponding glyph by passing an AGLFN nameimportaglfnglyph=aglfn.to_glyph('Euro')assert'€'==glyph📋 TestingTest are executed with travis, in case you want to run them locally just:cdaglfn
pythonsetup.pytest😍 AcknowledgementsCopyright 🄯 2020 Puria Nafisi Azizi, ItalyDesigned, written and maintained by Puria Nafisi Azizi.Logo, dictionary by Smalllike from the Noun Project.👤 Contributing🔀FORK ITCreate your feature branchgit checkout -b feature/branchCommit your changesgit commit -am 'Add some foobar'Push to the branchgit push origin feature/branchCreate a new Pull Request🙏 Thank you💼 Licenseaglfn - Python utilities for Adobe Glyph List For New Fonts
Copyright 🄯 2020 Puria Nafisi Azizi, Italy

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: agl-frame2vid
AGL-Frame2Vid: Convert Extracted Frames to VideoDescriptionAGL-Frame2Vid is a Python package that enables users to create videos from a sequence of extracted frames. This tool is especially designed to work in tandem with theagl-frame-extractorpackage, utilizing its metadata to determine video attributes like framerate.The package aims to facilitate research in the field of gastrointestinal endoscopy by providing an easy and standardized way to create videos for both training and clinical practice.InstallationRequirementsPython 3.11 or higherOpenCV-Python 4.5 or higherFFmpeg-Python 0.2.0 or higherUsing PoetryTo install the package, navigate to the package directory and run:poetryinstallUsageBasic ExampleHere's a basic example that shows how to useFrame2Vid:fromagl_frame2vidimportFrame2Vid# Initialize the converterconverter=Frame2Vid("input_frames","output.mp4")# Generate the videoconverter.generate_video()DocumentationFor complete documentation, refer to theofficial documentation.TestingTests can be run usingpytest:pytestContributingContributions are welcomed to improve the package. Please read thecontribution guidelinesfor more information.AuthorsThomas J. Luxlux_t1@ukw.deLicenseThis project is licensed under the MIT License - see theLICENSE.mdfile for details.
Package: agl-frame-extractor
agl-frame-extractorDescriptionagl_frame_extractoris a Python package designed to extract individual frames and metadata from .MOV video files. This package is highly useful for researchers and clinicians who require frame-by-frame analysis of video data. With applications ranging from medical research to training simulations, the package aims to improve standards and classifications in gastrointestinal endoscopy by enhancing objectivity and reproducibility.FeaturesExtracts individual frames from .MOV files and saves them as PNG images.Gathers video metadata including total number of frames, frames per second, and video duration.Offers optional multithreading support for faster frame extraction.Generates a log file to record the extraction process.InstallationTo install this package, clone the repository and run the following command in the repository root:pipinstall-e.UsageBasic Usagefromvideo_frame_extractor.extractorimportVideoFrameExtractorinput_folder="input_videos"output_folder="output_frames_metadata"extractor=VideoFrameExtractor(input_folder,output_folder)extractor.extract_frames_and_metadata()# If you want to extract png files instead of jpgs:input_folder="input_videos"output_folder="output_frames_metadata"extractor=VideoFrameExtractor(input_folder,output_folder,image_format='png')extractor.extract_frames_and_metadata()Multithreaded UsageTo enable multithreading for faster frame extraction:fromvideo_frame_extractor.extractorimportVideoFrameExtractorinput_folder="input_videos"output_folder="output_frames_metadata"extractor=VideoFrameExtractor(input_folder,output_folder,use_multithreading=True)extractor.extract_frames_and_metadata()DependenciesOpenCVtqdmLoggingThe package generates a log filevideo_frame_extraction.login the directory where it is executed. This log file contains detailed information about the extraction process.ContributingWe welcome contributions to improve this package. Please follow the standard GitHub pull request process. Make sure to document your code thoroughly, keeping in mind that the package targets an academic audience focused on research.
Package: aglink
aglinkGenerator LinksInstallingInstall and update usingpip_:.. code-block:: text$ pip install aglinkaglink supports Python 2 and newer, Python 3 and newer, and PyPy... _pip:https://pip.pypa.io/en/stable/quickstart/ExampleWhat does it look like? Here is an example of a simple generate link:.. code-block:: batch$ agl.py -d --pcloud -p /root/Downloads "https://www110.zippyshare.com/v/0CtTucxG/file.html"And what it looks like when run:.. code-block:: batch$ GENERATE      : "http://srv-8.directserver.us/?file=473600c431"
  NAME          : "Game Of Thores S01E01.mp4"
  DOWNLOAD NAME : "Game Of Thores S01E01.mp4"You can use on python interpreter.. code-block:: python>>> from aglink.agl import autogeneratelink
>>> c = autogeneratelink()
>>> 
>>> c.generate("https://www110.zippyshare.com/v/0CtTucxG/file.html", direct_download=True, download_path=".", pcloud = True, pcloud_username = "tester@gmail.com", pcloud_password = "tester123", wget = True, auto=True)
>>> GENERATE      : "http://srv-8.directserver.us/?file=473600c431"
    NAME          : "Game Of Thores S01E01.mp4"
    DOWNLOAD NAME : "Game Of Thores S01E01.mp4"For more options use '-h' or '--help'.. code-block:: python$ aglink --help

or 

$ agl --helpSupportDirect Upload to PcloudDownload With 'wget' (linux) or 'Internet Download Manager (IDM) (Windows) (pip install idm)'Python 2.7 + (only)Windows, LinuxLinksLicense:BSD <https://bitbucket.org/licface/aglink/src/default/LICENSE.rst>_Code:https://bitbucket.org/licface/aglinkIssue tracker:https://bitbucket.org/licface/aglink/issues