Saravanan666/pypi-org huggingface dataset:
Package: anubi.mdns
anubi.mdnsThis module is a pure python implementation of a mDNS responder. It provides DNS functionalities into a small network that uses the mDNS protocol.Python compatibilityThe module is compatible with:Python 3.7Python 3.8It may be compatible also with previous versions of python but it has never been tested. If you test it with a python version not listed above please notify me so I can update the documentation.VersioningThe version number follow the following pattern: MAJOR.MINOR.PATCH.TAG.MAJOR version increment on backword incompatible changesMINOR version increment on addition of new featuresPATCH version incement on bug fixing and minor changesTAG indicates project state (currently alpha)StatusThe project is currently in its alpha state. It used only by me in a small home environement.
Right now the mDNS responder listen only on IPv4 mDNS addrress and support only type A resource records.How to use anubi.mdnsHere 's an example of starting a mDNS responder that resolve some host names.importsignalimportanubi.mdnsasmdns# Create the responder instanceresponder=mdns.mDNS()# Create a SIGINT handlerdefsigint_handler(sig_num,stack):#just to be sureifsig_num==signal.SIGINT:#stop the responder on SIGINT signalresponder.stop()print('mDSN responder stopped')# Register the signal handlersignal.signal(signal.SIGINT,sigint_handler)# Create records for DNSresponder.add_record(DnsRRecordA('test.local.',120,'127.0.0.1'))# Start the responderresponder.start()# Instruct the user how to stop the applicationprint('mDSN responder started.\nPress CTRL + C to stop it.')#  Wait untill the responder terminatesresponder.join()Changelog0.1.0aComplete support for AAAA DNS records.Add support for additional records.
Now the additional records section contains AAAA records (if any) for A query and A records (if any) for AAAA query.0.0.4aAdd support for AAAA DNS records.0.0.3aUpdate python requirements for pypi.0.0.2aUpdate project description and supported python versions for pypi.0.0.1aFirst release.LicenseMIT, seeherefor details.
Package: anubis
ANUBIS - Astrophysical Nonparametrically Upgraded Bayesian Inference of SubpopulationsANUBISimplements the inference of a multivariate probability density given a set of samples and an (incomplete) parametric model.
The Heterogeneous Mixture Model, or HMM, is a finite mixture of parametric models augmented with DPGMM to capture the eventual features missed by the parametric model.To install this code, runpython setup.py install. In some cases (like on clusters), it may happen that you do not have the permission to write in the default installation directory. In this case, runpython setup.py install --user.This code makes use ofFIGARO. Be sure of having it installed and updated.DO NOT USEpip install figaro, since it installs an homonymous package.
Package: anubis-openapi-kernel
## ele me anubis openapi kernel for Python## 安装使用 pip 安装(推荐)如未安装pip, 请先至pip官网 [pip user guide](https://pip.pypa.io/en/stable/installing/“pip User Guide”) 安装pip .`bash # 安装anubis-openapi-kernelpip install anubis_openapi_kernel `## 许可证
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
Package: anuket
Anuket is an opinionated Python web framework based onPyramid. It is intended
to be used by other Pyramid applications as a base for common choices. Anuket
use URLDispatch for resources location, SQLAlchemy for ORM, Mako and Twitter
Bootstrap for templates.DocumentationThe full documentation is available atRead the Docs.InstallationIn short:$ pip install anuketThis will install Anuket and all the necessary Python packages dependencies.
For more detailed instructions please read the INSTALL.txt file.UsageAnuket is write so he can be extended by other Pyramid applications by using
the extensibility system of Pyramid. For details please read theAnuket tutorial.LicenceAnuket is provided under the Expat licence (or MIT licence). See the
LICENSE.txt file for details.AuthorsAnuket is maintained by theLazaret laboratory. See the
AUTHORS.txt file for the full list.DevelopmentContributions to Anuket are highly welcome. Please use Github to report bugs,
feature requests and submit your code:https://github.com/lazaret/anuketNote that development is done on thedevelopbranch. Themasteris reserved
for production-ready state. Therefore make sure to base your work on thedevelopbranch.Changelog0.5 released 2012-08-15Fix documentation and packaging issues0.5 released 2012-08-14Add database migration support with alembicAdd database console scriptsAdd Beaker sessionsAdd a tutorial in the documentationImprove the security of the deletion of users0.4 released 2012-04-29Change the auth_user request property to an AuthUser objectExtend the tests suiteExtend the documentation0.3 released 2012-03-30Change package name to AnuketExtend the user management toolAdd cracklib password checkerAdd pyramid_exclog for production environment0.2 released 2012-03-20Add 100% tests coverageAdd minimalistic documentation0.1 released 2012-03-12Base templates with mako and Twitter BootstrapBasic Auth&Auth mechanism and model with SQLAlchemy
Package: anum
ANumAnálise NuméricaImplementação dos métodos elementares de análise numérica contidos no livro referência.Ferramentas disponíveis:v0.1.0:Aproximação de raízes de funções de uma variável pelos métodos:BiseçãoPosição falsaPonto fixoNewton-RaphsonSecanteReferência:Cálculo numérico: Aspectos teóricos e computacionais. 2ª Ed. Livro por: Marcia Ruggiero e Vera Lúcia Lopes
Package: anurag-simplecalculator
# SimpleCalculatorThis is a very simple calculator library following a tutorial.## Installpip install anurag-simplecalculator# ChangelogAll notable changes to this project will be documented in this file.## [0.0.1] - 2020-12-16> FIRST RELEASEAdded- Add Funtion
- Subtract Function
- Divide Function
- Multiply Function## [0.0.2] - 2020-12-16Added- Added new Divide Function testsFixed- Fixed Divide Function raises ZeroDivisionError when denominator is 0## [0.0.3] - 2020-12-16Added- Added Modulo function
Package: anutils
ML and single cell analysis utils.usagegeneral utils:anutils.*anutls.glimpseis similar todplyr::glimpsein R, but enhanced
in: - display the index - when passingshow_unique=True, display the
number of unique values for each column - when passingshow_unique=True, display the unique values instead of the first N
values for each columnimportanutilsasanudf=pd.DataFrame({'name':['Alice','Bob','Carol','David','Eric'],'letters':['a','a','b','b','c'],'digits':[1,2,3,3,3],'colors':['r','g','b','k','k'],})df.index=df['name']anu.glimpse(df,show_unique=True)# output:# DataFrame: 5 rows, 4 columns# index (name)   <object> (5) ['Alice', 'Bob', 'Carol', 'David', 'Eric']# $ name         <object> (5) ['Alice', 'Bob', 'Carol', 'David', 'Eric']# $ letters      <object> (3) ['a', 'b', 'c']# $ digits       <int64>  (3) [1, 2, 3]# $ colors       <object> (4) ['r', 'g', 'b', 'k']single cell utils:anutils.scutils.*plottingfromanutilsimportscutilsasscu# a series of embeddings grouped by disease statusscu.pl.embeddings(adata,basis='X_umap',groupby='disease_status',**kwargs)# kwargs for sc.pl.embedding# enhanced dotplot with groups in hierarchical orderscu.pl.dotplot(adata,var_names,groupby,**kwargs)# kwargs for sc.pl.dotplotcuda-accelerated scanpy functionsNOTE: to use these functions, you need to install rapids first. seeinstallationfor details.fromanutils.scutilsimportsc_cudaascusc# 10-100 times faster than `scanpy.tl.leiden`cusc.sc.leiden(adata,resolution=0.5,key_added='leiden_0.5')# 10-100 times faster than `scib.metrics.silhouette`cusc.sb.silhouette(adata,group_key,embed)machine learning utils:importanutils.mlutilsasml# to be addedinstallationpip install anutilsNOTE: To useanutils.scutils.sc_cuda, you need to install rapids
first. seerapids.aifor details. For
example, to install rapids on a linux machine with cuda 11, you can run:pipinstallcudf-cu11dask-cudf-cu11--extra-index-url=https://pypi.nvidia.compipinstallcuml-cu11--extra-index-url=https://pypi.nvidia.compipinstallcugraph-cu11--extra-index-url=https://pypi.nvidia.com
Package: anvaad-py
anvaad-py :: ਅਨੁਵਾਦ-ਪੀਵਾਏThis is python version ofanvaad-jsInstallation# pippipinstallanvaad-pyAPI DocumentationUsageimportunicodefromanvaad_pyunicode('ਆਇ ਮਿਲੁ ਗੁਰਸਿਖ ਆਇ ਮਿਲੁ ਤੂ ਮੇਰੇ ਗੁਰੂ ਕੇ ਪਿਆਰੇ ॥',True)//=>'Awie imlu gurisK Awie imlu qU myry gurU ky ipAwry ]'Table of ContentsasciifirstLettersmainLetterstranslitunicodeasciiReturns a comma-separated string of ascii codes for a
string of Gurmukhi charactersParametersstringstringThe string of lettersExamplesascii('AmgAmqmgkp')//=>',065,109,103,065,109,113,109,103,107,112,'ReturnsstringReturns a single string of comma-separated ascii codesfirstLettersRetrieve the first letter of each word from a stringParameterswordsstringThe string from which to get first lettersengbooleanWhether the string is English (optional, defaultfalse)simplifybooleanWhether to simplify embedded vowels and other characters (eg. E to a, ^ to K)ExamplesfirstLetters('Awie imlu gurisK Awie imlu qU myry gurU ky ipAwry ]')//=>'AmgAmqmgkp'ReturnsstringReturns a single string of charactersmainLettersRemoves vowel symbols from a Gurmukhi stringParameterswordsstringThe string from which to get main letterssimplifybooleanWhether to simplify embedded vowels/nasal sounds (eg. E to a, ^ to K)simplifyConsonantsbooleanWhether to simplify half characters to full characters (eg. R to r)ExamplesmainLetters('Awie imlu gurisK Awie imlu qU myry gurU ky ipAwry ]')//=>'Ae ml grsK Ae ml q mr gr k pAr'ReturnsstringReturns a single string of charactersunicodeConvert Gurmukhi script to Unicode and back again.ParameterstextstringGurbani Akhar or Unicode script to be convertedreversebooleanWhether to convert ASCII to unicode (false by default)simplifybooleanWhether to simplify extended characters to single code points (eg. sæ to ਸ਼ (u0A36), ਸ਼ (u0A38u0A3C) to S) (false by default)Examplesunicode('Awie imlu gurisK Awie imlu qU myry gurU ky ipAwry ]')//=>'ਆਇ ਮਿਲੁ ਗੁਰਸਿਖ ਆਇ ਮਿਲੁ ਤੂ ਮੇਰੇ ਗੁਰੂ ਕੇ ਪਿਆਰੇ ॥'ReturnsstringReturns unicode text*unicode('ਆਇ ਮਿਲੁ ਗੁਰਸਿਖ ਆਇ ਮਿਲੁ ਤੂ ਮੇਰੇ ਗੁਰੂ ਕੇ ਪਿਆਰੇ ॥',True)*//=>'Awie imlu gurisK Awie imlu qU myry gurU ky ipAwry ]'ReturnsstringReturns gurbani akhar ascii texta0xharkirat(Harkirat Singh) production.
Package: anvage
ANVAGEANnotation Variants GEnome is a toolkit software to perform routine operations that involve VCF, GFF3 and FASTA genome files.usageanvage select --vcf tests/data/sample.vcf \
--genome tests/data/genome.fasta \
--annotation tests/data/genome.gff3 \
--selectionAnnotationType CDS \
--output_prefix resanvage synonymous --vcf tests/data/sample.vcf \
--genome tests/data/genome.fasta \
--annotation tests/data/genome.gff3 \
--output_prefix resanvage flank --vcf tests/data/sample.vcf \
--genome tests/data/genome.fasta \
--windowsSize 25 \
--output_prefix reshttps://github.com/laurabenestan/BLAST/blob/master/flanking_sequence.py
Package: anvil-app-server
A standalone server for Anvil full-stack Python web apps.This package includes several assets, some not in Python:The "anvil-standalone-runtime" script for launching the runtimeThe "downlink" Python code for the server-side parts of appsThe core Anvil server (requires Java to launch)The client-side Anvil runtime (Javascript, using the Skulpt Python-to-JS compiler)Head over tothe Github Repositoryfor usage instructions, and to learn more.
Package: anvil-new
anvil-newSimple parser for theMinecraft anvil file format, in Minecraft 1.16+.Based onmatcool's anvil-parser, all credit goes to them.InstallationThis project is available onPyPIand can be installed with pippip install anvil-newor directly from githubpip install git+https://github.com/intergalactyc/anvil-new.gitUsageDocumentation coming soon.NoteThis package is only made to be compatible with mca files from Minecraft versions 1.16+. For previous versions, install theoriginal anvil-parser package.
As of right now, it cannot be used alongside the original, only in place of it.
Package: anvil-parser
anvil-parserSimple parser for theMinecraft anvil file formatInstallationThis project is available onPyPIand can be installed with pippip install anvil-parseror directly from githubpip install git+https://github.com/matcool/anvil-parser.gitUsageReadingimportanvilregion=anvil.Region.from_file('r.0.0.mca')# You can also provide the region file name instead of the objectchunk=anvil.Chunk.from_region(region,0,0)# If `section` is not provided, will get it from the y coords# and assume it's globalblock=chunk.get_block(0,0,0)print(block)# <Block(minecraft:air)>print(block.id)# airprint(block.properties)# {}Making own regionsimportanvilfromrandomimportchoice# Create a new region with the `EmptyRegion` class at 0, 0 (in region coords)region=anvil.EmptyRegion(0,0)# Create `Block` objects that are used to set blocksstone=anvil.Block('minecraft','stone')dirt=anvil.Block('minecraft','dirt')# Make a 16x16x16 cube of either stone or dirt blocksforyinrange(16):forzinrange(16):forxinrange(16):region.set_block(choice((stone,dirt)),x,y,z)# Save to a fileregion.save('r.0.0.mca')Todothings to do before 1.0.0Proper documentationBiomesCIMore testsTests for 20w17a+ BlockStates formatNoteTesting done in 1.14.4 and 1.15.2, should work fine for other versions.
Package: anvil-web3
anvil-web3Easily interact with and createanvilchains from pythonInstallanvil-web3assumes anvil is already installed, clickhereif you don't have anvil installedpython3 -m pip install anvil-web3UsageThis example shows how to programatically create an Anvil chain and how to inject the anvil rpc methods to a
web3.pyWeb3object:fromweb3importWeb3,HTTPProviderfromanvil_web3importanvil,AnvilWeb3,AnvilInstance# create an anvil chaininstance=AnvilInstance(chain_id=42)# use the injection functionw3=Web3(HTTPProvider(instance.http_url))anvil(w3)# or contruct a Web3 object from the AnvilWeb3 class (recommended for better autocompletion support)w3=AnvilWeb3(HTTPProvider(instance.http_url))test_account=w3.eth.account.from_key(w3.keccak(text="42"))# call an anvil methodw3.anvil.set_balance(test_account.address,42424242)assertw3.eth.get_balance(test_account.address)==42424242andw3.eth.chain_id==42instance.kill()More complex demos in/examplesTestsWIPCurrent API Supportanvil_impersonateAccountanvil_stopImpersonatingAccountanvil_autoImpersonateAccountanvil_getAutomineanvil_mineanvil_dropTransactionanvil_resetanvil_setRpcUrlanvil_setBalanceanvil_setCodeanvil_setNonceanvil_setStorageAtanvil_setCoinbaseanvil_setLoggingEnabledanvil_setMinGasPriceanvil_setNextBlockBaseFeePerGasanvil_setChainIdanvil_dumpStateanvil_loadStateanvil_nodeInfoevm_setAutomineevm_setIntervalMiningevm_snapshotevm_revertevm_increaseTimeevm_setNextBlockTimestampanvil_setBlockTimestampIntervalevm_setBlockGasLimitanvil_removeBlockTimestampIntervalevm_mineanvil_enableTraceseth_sendUnsignedTransaction
Package: anvolt.py
anvolt.pyAdvanced tool with API integration and additional features✨FeaturesExplore the vast array of features available inanvolt.pywith this comprehensive list:Roleplaying Images: Add high-quality images for immersive roleplaying experiencesQuizzes / Trivia: Incorporate interactive quizzes and trivia games to engage usersAnime Images (SFW / NSFW): Include a variety of anime-related images, including both safe-for-work and not-safe-for-work optionsClient-Side Support: Provide support for client-side implementation, allowing for seamless integration with existing projectsEase-of-Use Codes: Design the package with simplicity and ease-of-use in mind, offering user-friendly codes and documentationTwitch API Integration: Utilize the Twitch API to retrieve and display real-time data from Twitch streamsCommand-Line Interface: Include a Command-Line Interface (CLI) for user-friendly access and control of the package's features📦InstallationThere are two ways to installanvolt.py, first you can use the stable release from PyPI:$pipinstallanvolt.pySecond you can use the development version from GitHub to get the latest features and updates:$pipinstallgit+https://github.com/Stawa/anvolt.pyFor more information on how to use the package, check out thedocumentation🚀QuickstartEvery function will have its own response class, for example bite function, it returnResponsesclass that you can find onanvolt.models.responsefromanvoltimportAnVoltClientclient=AnVoltClient()# client_id and client_secret (optional)defexample():bite=client.sfw.bite()print(bite.url)# Return strexample()🛠️UpdaterStay on top of updates and avoid potential errors by using our Updater class. This class ensures you are always using the latest stable version of our API, so you can focus on building your application without worrying about potential changes or bugs.fromanvolt.updaterimportUpdaterupdater=Updater()updater.check_for_updates()💻CLI / Command-Line InterfaceThe anvolt package provides a Command-Line Interface (CLI) for easy access to its features. To test requests and retrieve a list of endpoints for a specific category, use the following commands:$anvoltcategory-helpThis command displays a list of available categories and their respective endpoints. It allows users to see the different categories available and the endpoints associated with each one.$anvoltrequests--category<category>--endpoint<endpoint>This command will execute a test request to the specified endpoint in the chosen category. The--categoryand--endpointoptions are required for this command to work properly.$ anvolt save --category <category> --endpoint <endpoint>This command retrieves an image from the API and saves it to the current directory set in the command prompt, such asC:\Users\Stawa\Desktop\Folder🔗LinksDocumentationHomepageApplication Programming Interface
Package: anwa
[![Build Status](https://travis-ci.org/mjirik/anwa.svg?branch=master)](https://travis-ci.org/mjirik/anwa)
[![Coverage Status](https://coveralls.io/repos/github/mjirik/anwa/badge.svg?branch=master)](https://coveralls.io/github/mjirik/anwa?branch=master)
[![PyPI version](https://badge.fury.io/py/anwa.svg)](http://badge.fury.io/py/anwa)# anwaAutomatic animal detection in video# Install on WindowsInstall [miniconda](https://docs.conda.io/en/latest/miniconda.html) and during install add conda to pathIn command line (cmdon Windows) use:`cmd conda create-nanwa_app-cconda-forge-cmjirik--yesanwa pywin32imageio-ffmpegconda activate anwa_app python-manwa install `# Install on Linux and OsXInstall [miniconda](https://docs.conda.io/en/latest/miniconda.html) and during install add conda to pathIn command line use:`cmd conda create-nanwa_app-cconda-forge-cmjirik--yesanwaimageio-ffmpeg`## Run`cmd conda activate anwa_app python-manwa `
Package: an-website
Webseite des ANLarge Language ModelsDo not submit any code or prose written or modified by large language models or
"artificial intelligence" such as GitHub Copilot or ChatGPT to this project.
These tools produce code that looks plausible, which means that not only is it
likely to contain bugs those bugs are likely to be difficult to notice on
review. In addition, because these models were trained indiscriminately and
non-consensually on open-source code with a variety of licenses, it's not
obvious that we have the moral or legal right to redistribute code they
generate.How to developYou need:Git (obviously)CPython 3.12+Packages from pip-dev-requirements.txtC and C++ compiler for some of the dependenciesDepending on the used version of CPython: RustFor formatting TypeScript and Markdown: dprintFor building JavaScript and CSS: Deno(./deno upgrade --output ~/.local/bin/deno)For linting TypeScript: Node.js and pnpm(corepack enableoralias pnpm="corepack pnpm")How to check./check.shHow to runpython -Xdev -Xwarn_default_encoding -m an_website(-Xdevenables development mode)How to run (production)LinuxYou need:CPython 3.12+C and C++ compiler for some of the dependenciesDepending on the used version of CPython: RustSupervisordRedis 6.2redis-cell (for ratelimits)Elasticsearch 8.12+UwUFetchHow:Create a virtual environmentInstall an-website in the venv (pip install an-website)create aconfig.iniand configure itrun it (an-website/python -m an_website) with SupervisordFreeBSDShould work similar to Linux.macOSNot supported, but should work.WindowsNot supported, but maybe works.
Package: anx-interface
anx_interfaceanx_mock (python) <--anx_api--> anx_interface (python) --> anx_interface_ros2anx_mockPurpose:Development and testing of anx_interface, anx_interface_ros and anx_interface_ros2InstallingNote:Installsconsandpoetrybefor proceedingcdanx_interface
scons
poetrybuild
pipinstalldist/anx_interface-<version>-py3-none-any.whl
Package: any2
Introduction============Any2 is the base for a serie of tools:- `Any2csv`_- `Any2fixed`_- `Any2xl`_and provides common features such as object adapters and transformers... _Any2csv: https://bitbucket.org/faide/any2csv.. _Any2fixed: https://bitbucket.org/faide/any2fixed.. _Any2xl: https://bitbucket.org/faide/any2xlLicence=======This package is covered by the permissive BSD licence.Python versions===============Any2 is tested with the help of tox on python 2.7 and python 3.4It may work with older versions (some parts were developped using python 2.3)but no tests or even garantee is made on this.Changelog=========0.3.1 Nov, 5, 2015~~~~~~~~~~~~~~~~~~- Added a new item adapter that adapts a list of list to a list ofdictionaries- Added support for the item() method on the DictAdapter to allow evenbetter compatibility with dictionaries- Changed the signature of the DictAdapter constructor to remove theencoding. This is because since a few releases the adapter MUST only workon unicode (PY2) or str (PY3) objects and yield the same kind.This means this argument was asked from the caller but never usedinternally.0.3 Jul, 29 2015~~~~~~~~~~~~~~~~- All new adapters derive from any2.adapters.BaseAdapter- Added a new Obj2List adapter to adapt object yielding iterators intolist yielding iterators, since it is based on the new BaseAdapter itsupports the same transformer system.0.2 Jul. 29 2015~~~~~~~~~~~~~~~~- Fully test covered- All raised exceptions now are based on Any2Error to help users catch themContributors============By order of contribution date:- `Florent Aide`_.. _Florent Aide: https://bitbucket.org/faide
Package: anyapi2
AnyAPIAnyAPI is a small library to get rid of boilerplate code reused in many projects where interaction with APIs is needed.AnyAPI:usesrequests.Sessionhas default timeouthas configurable pool sizehas retry policy in case of 429 errorhasgetandpostmethods definedHow to usepipinstallanyapi2fromanyapiimportAPIclassSomeServiceAPI(API):BASE_URL='https://some-api-service.com'some_service=SomeServiceAPI()response=some_service.get('/v1/items')response.raise_for_status()result=response.json()
Package: anyascii
AnyAsciiUnicode to ASCII transliterationWeb DemoConverts Unicode characters to their best ASCII representationAnyAscii provides ASCII-only replacement strings for practically all Unicode characters. Text is converted character-by-character without considering the context. The mappings for each script are based on popular existing romanization systems. Symbolic characters are converted based on their meaning or appearance. All ASCII characters in the input are left unchanged, every other character is replaced with printable ASCII characters. Unknown characters and some known characters are replaced with an empty string and removed.fromanyasciiimportanyasciis=anyascii('άνθρωποι')asserts=='anthropoi'Python 3.3+ compatiblepip install anyasciiFULL README