Saravanan666/pypi-org huggingface dataset:
Package: pycoq
The pip distribution package pycoq provides two python packages:serlibpycoqpycoqpycoqis a python library that provides interface to Coq using the serialization coq-serapihttps://github.com/ejgallego/coq-serapiserlibserlibis a python library providing s-expression parser implemented in C++Install on LinuxCurrently we support only the Linux platform.External dependenciesopamThe pycoq callsopampackage manager to install and run the coq-serapi and coq binaries.
The pycoq assumes thatopambinary of version 2.* is in the$PATH.On Ubuntu 20.04 install opam withsudo apt-get install opam.
Seehttps://opam.ocaml.org/doc/Install.htmlfor other systems.straceThe pycoq callsstraceto inspect the building of coq-projects to prepare the context. The pycoq assumesthatstraceis in the$PATH.On Ubuntu 20.04 install strace withsudo apt-get install strace.
Seehttps://github.com/strace/stracefor other systems.Install from githubAssumingpython>=3.8andpipare in your python environment (we recommend to use conda or python venv) to install from github runpip install git+https://github.com/IBM/pycoqTest your setupFrom your python environment withpycoqinstalled runpytest --pyargs pycoqConfig pycoqThe location of the project directory, debug level and other parameters can be specified in the config file$HOME/.pycoqUninstall pycoqFrom your python environment withpycoqinstalled runpip uninstall pycoqBy default, pycoq uses directory$HOME/.local/share/pycoqto store temporary files such as the opam repository, project files and the logs.
To remove the project directory:rm -fr $HOME/.local/share/pycoqTo remove the config file:rm $HOME/.pycoqUsing pycoqFor basics see the exampletutorial/tutorial_pycoq.pyand the test scripts inpycoq/tests.Build pycoq in DockerInstall docker, git clone the source repository and from the directory containing Dockerfile rundocker build -t pycoq:test .to verify the setup and test of pycoq in docker container on linux
Package: pycoQC
pycoQC v2.5.2PycoQC computes metrics and generates interactive QC plots for Oxford Nanopore technologies sequencing dataPycoQC relies on thesequencing_summary.txtfile generated by Albacore and Guppy, but if needed it can also generate a summary file from basecalled fast5 files. The package supports 1D and 1D2 runs generated with Minion, Gridion and Promethion devices, basecalled with Albacore 1.2.1+ or Guppy 2.1.3+. PycoQC is written in pure Python3.Python 2 is not supported. For a quick introduction see tutorial byTim Kahlkeavailable athttps://timkahlke.github.io/LongRead_tutorials/QC_P.htmlFull documentation is available athttps://adrienleger.com/pycoQCGallery]]Example HTML reportsAlbacore_all_RNAGuppy-2.1.3_basecall-1D_RNAGuppy-2.3_basecall-1D_alignment-DNAAlbacore-1.2.1_basecall-1D-DNAGuppy-2.1.3_basecall-1D_DNA_barcodeAlbacore-1.7.0_basecall-1D-DNA_APIAlbacore-2.1.10_basecall-1D-DNAAlbacore-1.7.0_basecall-1D-DNAExample JSON reportsGuppy-2.3_basecall-1D_alignment-DNAGuppy-2.1.3_basecall-1D_RNAAlbacore-1.7.0_basecall-1D-DNA_APIDisclaimerPlease be aware that pycoQC is a research package that is still under development.It was tested under Linux Ubuntu 16.04 and in an HPC environment running under Red Hat Enterprise 7.1.Thank youClassifiersDevelopment Status :: 3 - AlphaIntended Audience :: Science/ResearchTopic :: Scientific/Engineering :: Bio-InformaticsLicense :: OSI Approved :: GNU General Public License v3 (GPLv3)Programming Language :: Python :: 3licenceGPLv3 (https://www.gnu.org/licenses/gpl-3.0.en.html)Copyright © 2020 Adrien Leger & Tommaso LeonardiAuthorsAdrien Leger & Tommaso Leonardi /aleg@ebi.ac.uk/https://adrienleger.com
Package: pycor
PyCor 0.0.7Python Module for Korean Language ProcessingNLCP : Natural Language Contextual ParsingCorpus기반 사전 학습, Dictionary 없이 한국어 형태소 분석이 가능한 자연어 파서문장들을 처리하는 과정에서 Dictionary를 스스로 만드는 형태소분석기한정된 문법형태소의 결합 규칙과 문서 혹은 문서 집합 안에서의 체언, 용언의 활용형태 분석문장 단위, Document단위, Document set단위로 컨텍스트 생성, 자연어 파싱제약 조건 : 기본적인 한국어 맞춤법을 지키는 정규화된 한글 문서에 적합(위키, 논문, 뉴스 기사 등)목적 : 체계적인 지식을 기술한 문서의 파싱과 이해Install> pip install pycorUsage> python3
import pycor

pycor.train('training-text-dir')
pycor.savemodel('model-dir')

# 체언 혹은 용언의 어근들을 추출하여 2차원 배열로 제공
word2dArray = pycor.trim(text) 
pycor.trimfile('text-file-path') 

# 키워드 추출
keywordArray = pycor.abstract(text)
Package: pycord
Pycord - A tiny python wrapper on top of FFMpegPycordis a simple python wrapper on top of ffmpeg
designed to load videos into numpy ndarrays quickly and easily.You can usePycordin place of more complex video loader asOpenCVorDecordin your Computer Vision or Machine Learning projects.Examplefrompycord.video_readerimportVideoReadervr=VideoReader("video.mp4")b=vr.get_batch([5,8])DocumentationThere's no documentation at the moment, take a look to the tests to find some examples of use.ContributingThe main idea of this project is to provide a decord-like interface
completely written in python (hance the namepycord, apython implementation of decord).Any contribution is welcome as long as it is implemented in pure python.I'm looking for something faster...If you thinkpycordis slow, and you don't mind to deal directly with come low-level code,
take a look to my other projectiterframes!
It's a python module implemented inRustwith the aim to be as fast as possible.
Package: py-cord
A fork of discord.py. Pycord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.Key FeaturesModern Pythonic API usingasyncandawait.Proper rate limit handling.Optimised for both speed and memory usage.Full Application Command SupportInstallingPython 3.8 or higher is requiredTo install the library without full voice support, run the following command:# Linux/macOSpython3-mpipinstall-Upy-cord# Windowspy-3-mpipinstall-Upy-cordOtherwise, to get full voice support, run the following command:# Linux/macOSpython3-mpipinstall-U"py-cord[voice]"# Windowspy-3-mpipinstall-Upy-cord[voice]To install additional packages for speedup, run the following command:# Linux/macOSpython3-mpipinstall-U"py-cord[speed]"# Windowspy-3-mpipinstall-Upy-cord[speed]To install the development version, do the following:$gitclonehttps://github.com/Pycord-Development/pycord$cdpycord$python3-mpipinstall-U.[voice]or if you do not want to clone the repository:# Linux/macOSpython3-mpipinstallgit+https://github.com/Pycord-Development/pycord# Windowspy-3-mpipinstallgit+https://github.com/Pycord-Development/pycordOptional PackagesPyNaCl(for voice support)aiodns,brotlipy,cchardet(for aiohttp speedup)orjson(for json speedup)Please note that while installing voice support on Linux, you must install the following packages via your preferred package manager (e.g.apt,dnf, etc) BEFORE running the above commands:libffi-dev (orlibffi-develon some systems)python-dev (e.g.python3.10-devfor Python 3.10)Quick Exampleimportdiscordbot=discord.Bot()@bot.slash_command()asyncdefhello(ctx,name:str=None):name=nameorctx.author.nameawaitctx.respond(f"Hello{name}!")@bot.user_command(name="Say Hello")asyncdefhi(ctx,user):awaitctx.respond(f"{ctx.author.mention}says hello to{user.name}!")bot.run("token")Traditional Commands Exampleimportdiscordfromdiscord.extimportcommandsintents=discord.Intents.default()intents.message_content=Truebot=commands.Bot(command_prefix=">",intents=intents)@bot.command()asyncdefping(ctx):awaitctx.send("pong")bot.run("token")You can find more code examples in theexamplesdirectory.Note: Make sure you do not reveal your bot token to anyone, as it can grant access to your bot.Useful LinksDocumentationLearn how to create Discord bots with PycordOur Official Discord ServerOfficial Discord Developers Server
Package: pycord-btns-menus
📢 ANNOUNCEMENTRepository has been TRANSFERRED toModern-Realm/discord_btns_menusPackage Name:discord-btns-menusA responsive package for Buttons, DropMenus, Combinations and Paginator• This module makes the process a lot easier !JoinOfficial Discord Serverfor more guidance !Key FeaturesButtonsDropMenusCombinations (Usage of both Buttons & DropMenus)Paginator
Package: pycord-cogsbyserver
Pycord Cogs by ServerA simple addon to the pycord library that allows you to make cogs that exist as different objects between different servers. This is better explained by an example, so say you're making a simple music bot. Your cog might look something like this without the library...importdiscordfromdiscord.extimportcommandsclassCogThing(commands.Cog):def__init__(self,bot):self.bot=botself.queues={}self.volumes={}@discord.slash_command()asyncdefadd_to_queue(self,ctx,*,song_title):ifctx.guildnotinself.queues:self.queues[ctx.guild]=[]self.queues[ctx.guild].append(song_title)awaitctx.respond("Song added")@discord.slash_command()asyncdefchange_volume(self,ctx,*,volume:int):self.volumes[ctx.guild]=volumeawaitctx.respond(f"Volume set to{volume}")asyncdefplay_song(self,vc):ifvc.guildnotinself.queuesorlen(self.queues[vc.guild])==0:returnsong=self.queues[vc.guild].pop(0)volume=100ifvc.guildnotinself.volumeselseself.volumes[vc.guild]do_some_things_play_some_music(vc,song,volume)...but with the library it can look like this!importdiscordfrompycord_cogsbyserverimportServerCogclassCogThing(ServerCog):def__init__(self,bot):self.bot=botself.queue=[]self.volume=100@ServerCog.slash_command()asyncdefadd_to_queue(self,ctx,*,song_title):self.queue.append(song_title)awaitctx.respond("Song added")@ServerCog.slash_command()asyncdefchange_volume(self,ctx,*,volume:int):self.volume=volumeawaitctx.respond(f"Volume set to{volume}")asyncdefplay_song(self,vc):iflen(self.queue)==0:returnsong=self.queue.pop(0)do_some_things_play_some_music(vc,song,self.volume)You can imagine how that would reduce complexity as the bot's functionality increases.The library supports event listeners too, like so:classCogThing(ServerCog):@ServerCog.listener()asyncdefon_message(self,message):awaitmessage.channel.send("infinite loop time")Those are sorted by guild as well, or into the special DMs instance if there's no one guild that makes sense. In the special case of on_ready, the event instead fires in all cogs, to allow general prep.Release Notes/ChangelogNot a whole lot to say, really. I've done what I've done.V0.3.1MINOR SPELLING ERROR (changed summary from "An pycord..." to "A pycord...")V0.3.0Added documentation to literally everything relevant, and a lot of pretty irrelevant things too.V0.2.0Added basic slash command supportV0.1.0First version, ayyyyy! Added basic library functionality in listeners.
Package: py-cord-components
py-cord-componentsAn unofficial third party library of py-cord for discord components.Welcome!Discord components are cool, but discord.py will support it on version 2.0. It
is hard to recreate, so we made a third-party library for using components such as
buttons or selects!This project is open source ⭐.Also, there is anofficial discord server, so
if you have any questions, feel free to ask it on this server.FeaturesYou can use message components and handle component interactions easily!Third-party of py-cord.DocsGitbook version(Up to
date)Wiki Version(Up to date)Install# GitHub (Develop)pipinstall--upgradegit+https://github.com/spacedev-official/py-cord-components.git# Pypi (Current)pipinstall--upgradepy-cord-componentsExampleYou can see many exampleshere.LicenseThis project is under the MIT License.Repos using PycordComponentsPycordPaginatorHow-to useEvery discord.py, discord, DiscordComponent, discord_components mention should be changed topy-cord, pycord, PycordComponent, py_cord_component
Package: pycord-components
pycord-componentsbased on discord.py components - to comply with py-cordWelcome!Discord components are cool, but pycord's document lacks ease of use in components. It
is hard to wait, so we made a third-party library for using components such as
buttons or selects!This project is open source ⭐.FeaturesYou can use message components and handle component interactions easily!Third-party of pycord.It is simply changed version of discord-components which doesn't require discord.py. Why? Because it is deprecated.Installpip install --upgrade pycord-componentsLicenseThis project is under the MIT License.
Package: py-cordex
VersionsDocumentationOpen SourceCoding StandardsDevelopment StatusFundingThis package offers python tools for theCORDEXcommunity and should make your work with CORDEX grids and meta data easy.
Most of the tools leverage thexarrayAPI to create grid and coordinate informations and data of CORDEX domains in the
form of anxarray.Datasetdirectly from the officialCORDEX archive specifications.FeaturesTools to manage CORDEX grids as xarray datasets.Includes coordinate transformations, bounds and vertices for CORDEX datasets.Utitlities for cmorization to make the CORDEX ensembles more consistent.Preprocessing for easy access to a homogenized CORDEX ensemble dataset.For planned features, please have a look at theissues, grab one, andcontribute!Meta dataAccess to meta data should be automatic and machine readable to avoid humans to do boring, repetitiv tasks that are error prone.
For that purpose, easy access to meta information should be guaranteed by tables collectedhere.InstallationYou can install py-cordex using pip or conda, e.g.pip install py-cordexorconda install -c conda-forge py-cordexInstallation from sourceFor instructions to install py-cordex from source, please have a look at thecontributing guide.
If you want to contribute, please get in contact as early as possible, e.g.,
usingdraft pull requests.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.Parts of this package have been developed within the project Pilot Lab Exascale Earth System Modelling (PL-ExaESM).
Package: pycord-ext-i18n
Pycord_ext_i18nA regular localization Library for pycord.InstallationTo install the pycord_ext_i18n, you can just run the following command:# Windowspipinstallpycord_ext_i18n# Linux/MacOSpython3-mpipinstallpycord_ext_i18nPrepareFirst, You will need to a locale configuration file (*.json) to store your command parameter or string.
A locale configuration file internal structure will be like it:{"command.{command_name}.name":"help",#yourcommand_namename."command.{command_name}.description":"help_description",#yourcommand_namedescription."hello":"你好"#thisisstring.}And, save your locale configuration file to locale folder.
The name is the country code you want! (like Zh-TW, en-US...)Basic UsageUsage: Get a text.frompycord_ext_i18nimportI18ni18n=I18n()i18n.load('./locale')print(i18n.get_text("hello","zh-TW",None))#Print: 你好Usage: Use localize_slash_command to localize your slash command (Remember configuration file).fromdiscordimportApplicationContextfromdiscord.extimportcommandsfrompycord_ext_i18nimportI18ni18n=I18n()classExampleCog(commands.Cog):def__init__(self,bot):self.bot=bot@i18n.localize_slash_command()asyncdeftest(self,ctx:ApplicationContext):awaitctx.response.send_message(content=f"My command name is{ctx.command.name}!")defsetup(bot):bot.add_cog(ExampleCog(bot))
Package: pycord-ext-menus
pycord-ext-menusA Pycord extension that makes working with reaction menus and button component menus a bit easier.InstallingRequirementsPython 3.8 or higher is requiredIt is necessary to first installpycordThen install the extension by running one of the following commands:# Linux/macOSpython3-mpipinstall-Upycord-ext-menus# Windowspy-3-mpipinstall-Upycord-ext-menusLicenseCopyright (c) 2021 Pranoy#0140CreaditsThis is the fork of nextcord-ext-menus.
Package: py-cord-fixed
A fork of discord.py. Pycord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.Key FeaturesModern Pythonic API usingasyncandawait.Proper rate limit handling.Optimised for both speed and memory usage.Full Application Command SupportInstallingPython 3.8 or higher is requiredTo install the library without full voice support, you can just run the following command:# Linux/macOSpython3-mpipinstall-Upy-cord# Windowspy-3-mpipinstall-Upy-cordOtherwise to get voice support you should run the following command:# Linux/macOSpython3-mpipinstall-U"py-cord[voice]"# Windowspy-3-mpipinstall-Upy-cord[voice]To install additional packages for speedup, run the following command:# Linux/macOSpython3-mpipinstall-U"py-cord[speed]"# Windowspy-3-mpipinstall-Upy-cord[speed]To install the development version, do the following:$gitclonehttps://github.com/Pycord-Development/pycord$cdpycord$python3-mpipinstall-U.[voice]or if you do not want to clone the repository:# Linux/macOSpython3-mpipinstallgit+https://github.com/Pycord-Development/pycord# Windowspy-3-mpipinstallgit+https://github.com/Pycord-Development/pycordOptional PackagesPyNaCl(for voice support)aiodns,brotlipy,cchardet(for aiohttp speedup)orjson(for json speedup)Please note that while installing voice support on Linux, you must install the following packages via your preferred package manager (e.g.apt,dnf, etc) BEFORE running the above commands:libffi-dev (orlibffi-develon some systems)python-dev (e.g.python3.10-devfor Python 3.10)Quick Exampleimportdiscordbot=discord.Bot()@bot.slash_command()asyncdefhello(ctx,name:str=None):name=nameorctx.author.nameawaitctx.respond(f"Hello{name}!")@bot.user_command(name="Say Hello")asyncdefhi(ctx,user):awaitctx.respond(f"{ctx.author.mention}says hello to{user.name}!")bot.run("token")Traditional Commands Exampleimportdiscordfromdiscord.extimportcommandsintents=discord.Intents.default()intents.message_content=Truebot=commands.Bot(command_prefix=">",intents=intents)@bot.command()asyncdefping(ctx):awaitctx.send("pong")bot.run("token")You can find more examples in the examples directory.Note: Make sure you do not reveal your bot token to anyone, it can grant access to your bot.Useful LinksDocumentationLearn how to create Discord bots with PycordOur Official Discord ServerOfficial Discord Developers ServerUnofficial Discord API Server
Package: pycord-i18n
pycord-i18nInternationalization for PycordKey FeaturesTranslated responsesCommand name, description & option localizationBased on user & server locale (no need for storage!)InstallationTo install this extension, run the corresponding command:# linux / macOSpython3-mpipinstallpycord-i18n# windowspython-mpipinstallpycord-i18nUsageSetup your internationalization files just likesample-german.json.
Note thatall fields are optionalandyou can use whichever file format you wantas long as you pass the translations into I18n in the given format.Load your files:importjsonwithopen("sample-german.json","r")asf:german=json.load(f)...Create an I18n object:frompycord.i18nimportI18n,_i18n=I18n(bot,de=german)# de is the locale code for German# response translations will be based on the guild's locale, you can make the bot consider the user's locale too by using the following:i18n=I18n(bot,consider_user_locale=True,de=german)# all valid locales: da, de, en_GB, en_US, es_ES, fr, hr, it, lt, hu, nl, no, pl, pt_BR, ro, fi, sv_SE, vi, tr, cs, el, bg, ru, uk, hi, th, zh_CN, ja, zh_TW, koInternationalize your commands:@i18n.localize# command name and description localization@bot.slash_command()asyncdefhello(ctx):awaitctx.respond(_("Hello, this sentence is in English"))# "_()" does the translation# if you don't want to use `@localize` on every command, simply use the following method after adding the commands to the bot:i18n.localize_commands()Changelogv1.2.0Added formatting supportv1.1.0Added option localization support
Package: pycordia
Pycordia⚠️Note!As of now, this package is under early development so functionalities are bound to change drastically.Wedon'trecommend you currently use Pycordia in a production environment.A work-in-progress Discord API wrapper for Python with a simple gateway and some common events implemented.:globe_with_meridians:Website:https://angelcarias.github.io/pycordia:memo:Documentation:https://angelcarias.github.io/pycordia/docs:speech_balloon:Discord server:https://discord.gg/h5JhXtGfXQIf you have any questions, feel free to join ourDiscord serverto follow the changes we make, as well as receive help and talk with others!Our examples, and documentation assume you're at a level of Python where you can comfortably work with Discord bots.⚙️ InstallationPycordia has been well tested on Python 3.8, however, 3.7 and above are supported.Installing from PIPThe easiest way to get Pycordia on your system is by installing it throughpip.$pipinstallpycordia# Should work everywhere$pip3installpycordia# Should work on most *nix systems; use on MacOS$python-mpipinstallpycordia# Alternative; should work everywhere$python3-mpipinstallpycordia# Alternative; use on MacOS$py-3-mpipinstallpycordia# Alternative; use on Windows🏓 Example of a simple Ping-Pong Botfrompycordiaimportevents,modelsimportpycordiaimportdotenvimportosdotenv.load_dotenv()client=pycordia.Client(intents=pycordia.Intents.all())@client.eventasyncdefon_ready(event:events.ReadyEvent):print(f"{event.user}ready to do stuff!",client.intents)@client.eventasyncdefon_message_create(msg:models.Message):ifmsg.author.botornotmsg.content:returnifmsg.content.startswith(".ping"):embed=models.Embed.create(description=":ping_pong: Pong!")embed.color=0xFF123Aawaitmodels.Message.send(msg.channel_id,embeds=[embed])client.run(os.getenv("DISCORD_TOKEN"))Eventson_ready:events.ReadyEventon_message_create:models.Messageon_typing_start:events.TypingStartEventon_message_delete,on_message_delete_bulk:events.MessageDeleteEventon_message_update:models.Messageon_channel_create,on_channel_update,on_channel_delete:models.ChannelFor all other undocumented events, you'll receive raw JSON data which you'll have to handle yourself.🔖 Things to doImprove currently available modelsAdd slash commandsAdd all other event wrappers📖 ContributeFeel free to contribute any bug fixes, new features, or general improvements to the Pycordia project.
Package: pycord-multicog
pycord-multicogA pycord extension that allows splitting command groups into multiple cogs.Installation$pipinstallpycord-multicogUsageCreating cogs# cog number 1, a normal cog with a slash command groupclassCog1(Cog):group=SlashCommandGroup("group")@group.command()asyncdefsubcommand1(self,ctx):awaitctx.respond("This is a normal subcommand.")# cog number 2, has a command used with add_to_groupfrompycord.multicogimportadd_to_groupclassCog2(Cog):@add_to_group("group")# the decorator that does the magic@slash_command()asyncdefsubcommand2(self,ctx):awaitctx.respond("This subcommand is inside a different cog.")Applying multicog using apply_multicogfrompycord.multicogimportapply_multicogmy_bot.add_cog(Cog1())my_bot.add_cog(Cog2())...apply_multicog(my_bot)# manually apply multicog after cogs are loadedApplying multicog using Bot subclassfrompycord.multicogimportBotmy_bot=Bot()# will automatically apply multicog when commands are being synchronised
Package: pycord-paging
Pycord PaginatorPycord Paginatoris a library to paginate your messages or embeds when usingPycord.⚠ This library is a fork ofhttps://github.com/FlamptX/paginator.py, made forDiskord.To install the library, open your terminal and run this command:pip install pycord-pagingExample with reactions:fromdiscordimportEmbedfromdiscord.extimportcommandsfrompaginatorimportPaginator,Pagebot=commands.Bot(command_prefix="!")paginator=Paginator(bot)@bot.eventasyncdefon_ready():print("Bot online")@bot.command()asyncdefpaginator(ctx):pages=[Page(embed=Embed(title="Page #1",description="Testing")),Page(embed=Embed(title="Page #2",description="Still testing")),Page(embed=Embed(title="Page #3",description="Guess... testing"))]awaitpaginator.send(ctx.channel,pages,type=1,author=ctx.author,disable_on_timeout=False)bot.run("...")Example with buttons:fromdiscordimportEmbedfromdiscord.extimportcommandsfrompaginatorimportPaginator,Pagebot=commands.Bot(command_prefix="!")paginator=Paginator(bot)@bot.eventasyncdefon_ready():print("Bot online")@bot.command()asyncdefpaginator(ctx):pages=[Page(embed=Embed(title="Page #1",description="Testing")),Page(embed=Embed(title="Page #2",description="Still testing")),Page(embed=Embed(title="Page #3",description="Guess... testing"))]awaitpaginator.send(ctx.channel,pages,type=2,author=ctx.author,disable_on_timeout=False)bot.run("...")Docs will be published soon... 👀