Saravanan666/pypi-org huggingface dataset:
Package: exist
python-existExist API Python Client ImplementationRequirementsPython >= 2.6, Python >= 3.2, or PyPy. You can download it fromhttps://www.python.org/Pip. If you have Python >= 2.7.9 or >= 3.4 then you already havepip. Otherwise, please follow these instructions :https://pip.pypa.io/en/latest/installing.htmlInstallingOnce you have satisfied the requirements listed above, install by running the
following command from them terminal:pip install existQuick StartInstall withpip install existpython-exist can be used with one of three authorization types; basic, oauth, or an api_tokenTo use basic authorization and store the returned token, add your “username” and “password” in the following
command:exist authorize –username=<username> –password=<password>If you already have a token, add it to the following command:exist authorize –api_token=<token>To use OAuth authorizations and store the returned token add your “App key”, “App secret” and “Redirect URL” (optional) in the following
command (Note: this requires app to registered directly with Exist):exist authorize –client_id=<app_key> –client_secret=<app_secret> –redirect_uri=<redirect_uri>That will save the necessary credentials for making further API calls to a file
called “exist.cfg”. These credentials should be kept private. You can use same
the command-line client to access everything in the
Exist API (http://developer.exist.io). You can also access the
same resources using the Python API:>>> from exist import Exist
>>> exist = Exist(<client_id>, <client_secret>, <access_token>)
>>> print(exist.user())
{
    "id": 1,
    "username": "josh",
    "first_name": "Josh",
    "last_name": "Sharp",
    "bio": "I made this thing you're using.",
    "url": "http://hellocode.co/",
    "avatar": "https://exist.io/static/media/avatars/josh_2.png",
    "timezone": "Australia/Melbourne",
    "local_time": "2020-07-31T22:33:49.359+10:00",
    "private": false,
    "imperial_units": false,
    "attributes": [
        {
            "group": "steps",
            "priority": 1,
            "items": [
                {
                    "attribute": "steps",
                    "label": "Steps",
                    "value": 258,
                    "service": "Fitbit",
                    "priority": 1,
                    "private": false,
                    "value_type": 0,
                    "value_type_description": "Integer"
                },
                {
                    "attribute": "floors",
                    "label": "Floors",
                    "value": 2,
                    "service": "Fitbit",
                    "priority": 2,
                    "private": false,
                    "value_type": 0,
                    "value_type_description": "Integer"
                }
            ]
        }
    ]
}More commands are available as per the help section of the exist command fromexist--helpRoadmapTests (next)Write API connectivitiy (in progress)
Package: existence
existenceRecursively scans directories for static html files for bad or empty links. Seeherewhy I wrote this, I hate missing details!Example bad or empty links<ahref=""></a>Empty<ahref></a>Empty<ahref="python.org"></a>Any bad link will fail, this one is missing http://Command line$ existence /path/to/working/links
Checking links...
57 of 57
All of your links exist!

$ existence /path/to/bad/links
Checking links...
23 of 23
Broken links:
    /path/to/bad/links/index.html@121 'None'
    /path/to/bad/links/other.html@22 'non-existant.html'Python>>>fromexistenceimportscan>>>scan("/path/to/working/links")[]>>>scan("/path/to/bad/links")[('None','/path/to/bad/links/index.html',121),('non-existant.html','/path/to/bad/links/other.html',22)]# Returns a list of bad url tuples: [(url, file_name, line_number)]Progress barTo enable the progress barpip install progressbar==2.3Running tests> python -m unittest discoverDeploying new release$pythonsetup.pysdist
$```
Package: existenz-api-fetcher
:droplet: Existenz API FetcherThis package is designed to automate the loading and use of sensor data from the MeteoSwiss Federal Office's
and the Federal Office for the Environment's (FOEN) networks of stations and is built on top of Christian Studer's ExistenzAPIs (https://api.existenz.ch/).Data is obtained by querying a two-year, daily time series from the InfluxDB database and is returned as apandasdataframe.
Functions to compute potential evapotranspiration using thepyetmodule have been implemented.
Take a look at the Jupyter Notebooks tutorials in the examples directory to learn how to use the various functionalities of this package.Requirementsinfluxdb_client
pandas
pyet
folium:gear: InstallationTo install the package from the PypI index:pip install existenz_api_fetcherTo install in developer mode:pip install -e .
Package: existpy
CLI tool for checking if a given project name exists inpipy.Installation>>> pip install existpyExample>>> existpy [packagename]
TITLE               VERSION   DESCRIPTION
--------------------------------------------------
[packagename-like]  [version]
[packagename-like]  [version]
>>>
>>> existpy [packagename] --summary
TITLE               VERSION   DESCRIPTION
--------------------------------------------------
[packagename-like]  [version] [description]
[packagename-like]  [version] [description]LICENSEMITUPDATES26/9/2019 Add option for possible solution, ifpypihas a suggestion.For example>>> existpy [packagename-with-typo]
There were no results for [packagename-with-typo] Did you mean [other-packagename] ?
Package: exit-codes
exit_codesPlatform-independent exit codes.Python provides standard exit status codes for some platforms, but not all. This
is technically, pedantically correct, but it makes it awkward to provide
practical cross-platform exit statuses. This package takes the exit status codes
defined inosfor Unixes and make them available to the unwashed masses.It’s simple to use:fromexit_codesimportExitCodedefmain():ifbig_operation():# If your program exits normally, return OKreturnExitCode.OKelse:# Otherwise, return the appropriate error codereturnExitCode.IO_ERR
Package: exitnaver
exitnaver exports your Naver blog in Markdown format.InstallationIt is available onPyPI, so you can install it usingpip.$pipinstallexitnaverUsage$exitnaverusernameChangelogLogging changes between PyPI exitnaver releases.Version 0.3.0Python 3 support, thanks to@youngminz!Version 0.2.2Bugfix release. Fixed encoding issue in Windows, thanks to@lqez!Released on July 11, 2015.Version 0.2.1Bugfix release. Thanks to@lqez! Released on July 10, 2015.Version 0.2Output optimization and a number of bug fixes.Version 0.1Initial public release.
Package: exit-pipe
exit-pipeexit-pipe: a command-line utility to pipe the exit code from a subprocess
through one or more modifiers.BackgroundThis utility executes a specified subprocess, captures its exit code, and exits
with the result of piping the exit code through a conditional exit code
modifier.The motivation for this slightly obtuse solution was to work around limitations
imposed by build utilities which execute configurable subprocesses without
exposing full shell access (e.g.tox) while also maintaining reasonable
portability across multiple operating system environments (thus eliminating the
option of executing an explicit shell withintox).As of this release, one style of exit code modifier pipeline exists:bitfield.Thebitfieldexit code pipeline (activated via the--bitfieldargument)
evaluates the exit code against one or more bitfield masks and either replaces
the exit code with the mapping specified by the first matching bitfield mask or
passes through the unmodified exit code if no bitfield masks match.Supported PlatformsThis utility has been tested on macOS Catalina 10.15.UsageDevelopment EnvironmentInitialize a development environment by executingtox; theexit-pipeutility
will be installed in the.tox/py38Python virtual environment binary path.ExamplesRemap non-fatal, non-error pylint exit codes to 0As ofpylint2.4.3, the utility's exit code is a bitfield that may
be decoded as:BitMeaning0No error1Fatal message issued2Error message issued4Warning message issued8Refactor message issued16Convention message issued32Usage errorTo remap the exit code forpylint srcsuch that it exits with:1for fatal (1) and error (2) exit codes, and0for warning (4), refactor (8), convention (16), and usage (32) exit codes,you may passpylintthroughexit-pipeas follows:exit-pipe --bitfield "3:1;60:0" -- pylint srcThe equivalent bitfield masks may be specified individually as follows:exit-pipe --bitfield "1,2:1;4,8,16,32:0" -- pylint srcAs niche as this example may be, it serves as a generic workaround to cases
where you may wish to log allpylintmessages while only interpreting a few
classes of messages as build errors. Disabling or ignoring classes of messages
would result in them not being logged.
Package: exitstatus
exitstatusprovides expressive, portable definitions for thestandard POSIX exit codes.
While Python does provide some Unix-specific exit status codes in theos module, they are not portable to
all platforms and are missing the generic failure case.InstallationYou can install, upgrade, and uninstallexitstatuswith these commands:$pipinstallexitstatus$pipinstall--upgradeexitstatus$pipuninstallexitstatusUsageExit status codes are defined in a simple to useIntEnum.importsysfromexitstatusimportExitStatussys.exit(ExitStatus.success)Releases2.5.0 (2024-01-13)Add support for Python 3.122.4.0 (2023-04-30)Add support for Python 3.112.3.0 2022-11-02Addpy.typedfile to package to support Mypy type checking.Refactor the project into an installable package rather than an installable module.Drop support for Python 3.72.2.0 2021-11-06Support Python 3.10 and drop 3.6.2.1.0 2020-12-27Drop Python 3.5 and support Python 3.9.Switch to GitHub Actions for CI.2.0.1 2020-04-26Update LICENSE file.2.0.0 2020-03-29Drop Python 2.7 support.1.4.1 2020-03-29Addpython_requiresfield tosetup.py.1.4.0 2019-12-14Drop Python 3.4 and support Python 3.8.Include license file.1.3.0 - 2018-07-09Drop Python 3.3 and support Python 3.7.1.2.0 - 2016-12-31Support Python 3.6.1.1.0 - 2016-10-11Add docstrings and simplify checking forenum34dependency need.1.0.0 - 2016-06-10Initial release.
Package: exitter
ExitterThis is a simple example package which helps you write an exit code for your python projects in no time.
Just import it, use 'exitter.bye()' or 'bye()' if you have used 'from exitter import bye' and call the current function in the program after using the 'exitter.bye()' or 'bye()' commands. Useful only for console-based programs.
Check outMy GitHub
Package: exlab
ExLabEXperimental LABoratoryis a research oriented framework helping to setup experiments, store results, log serizalize and unserialize data, and plot graphs.Getting startedFirst of all, install the package either using pip:pip install exlabOr from the git repository:pip install -r ./requirements.txt
pip install -e .A base example of how to use ExLab is provided inexamples/first/first.pyin the git repository.ComponentsLaboratoryYou can create Lab and Experiment to manage your experimental settings, load and instantiate objects and save your results.SerializationTo serialize an object, it has to be subclass ofSerializableand overrides the_serialize(self, serializer)and_deserialize(cls, dict_, serializer, obj=None)methods to inplement the intended behaviour.
Package: exli
ExliAn alias manager and an infinitely extensible CLI.Installationpip3 install exliExli as an Alias Manager.Why ?IDK.,I don't like writing a ton of aliases in my.bashrceven though I've only like 5 of them. I just wanted a place for all my aliases that are non important (non-important in the sense that, you don't mind writing two more character in front of the real alias, and for small ones that you don't happen
to use that often)And also its a lot of fun to write something like this, It's small, It's simple and easy to use.How ?In order to add new aliases you can run the following command in ur terminalexli add alias cmd

# OR

xi add alias cmdExampleLet's say I want to add a small alias that tells me the current weather in my area.xi add weather curl wttr.inAnd I can invoke the alias using the followingxi weatherYou cannot name your alias,add,help,ls. orrmas these are reserved and are used by exli.Some other commandsList all the available aliasesxi lsRemove aliasesxi rm alias1 alias2Get helpxi helpExli as an Extensible CLIWhy ?You might have one day decided to write a simple CLI tool but you don't want to access it via the command line with it's own command name. (Maybe its a simple program file that you run ocaasianally in order do to a certain task or something)How ?As an example we can make simple CLI that greets someone.You can write the CLI in any language or in any framework.# ~/exli-extensions/greet.pyimportsysdefmain()->int:print(f"Hello{' '.join(sys.argv[1:])}")return0if__name__=="__main__":raiseSystemExit(main())I also have a venv in the~/exli-extensionsdir.Now I can add this to exli like so.xi add greet ~/exli-extensions/env/bin/python3 ~/exli-extensions/greet.pyNow I can invoke the greet command like this.xi greet Adwaith RajeshHello Adwaith RajeshSo as you can see you can add as many CLI extensions as you want, you can make it as complex as you want.
Package: exlogging
exloggingSupports to setup python standard logging package.How to useThe way to use exlogging almost same with Python standard logging. First, you can call init function with config dict. After that, completely same with logging.importexloggingconfig={'file':{'level':'debug','filename':'/path/to/logfile'}# You can conbinate with other handlers.}# If you call init function without second parameter(name), exlogging setup root logger.exlogging.init(config)bloging.debug("Hello exlogging!")# If you want to use named logger, you can call init function with config and nameexlogging.init(config,'example')# You can access named logger via getLogger functionexample_logger=exlogging.getLogger('example')example_logger.info('You named logger')exlogging or getLogger response object hasdebug,info,warning,error,exceptionandcriticalfunctions. If you pass  ‘warning` aslevelin config dict to init function, when you callwarning,error,criticalorcritical, it will be logged, but when you callinfoordebugfunction, it is not logged.Logger is common in your application, so you can setup logger via exlogging at your application entry point, you can use the logger anywhere.HandlersCommon settingsAll handlers have level and format.LevelscriticalerrorwarninginfodebugnotsetFormatIf you don’t pass log_format here, exlogging uses this format: %(levelname)s %(name)s - %(asctime)s - File: %(pathname)s - Line: %(lineno)d - Func: %(funcName)s Message: %(message)sSeehttps://docs.python.org/3.5/library/logging.html#logrecord-attributesFileHandlerWhen you call logger function, record the message in file at filename.'file':{'level':str,# requirement'format':str,# optional'filename':str# requirement}RotatingFileHandlerWhen you call logger function, record the message in file at filename.'file':{'level':str,# requirement'format':str,# optional'filename':str,# requirement'max_bytes':int,# optional'backup_count':int# optional}EmailHandlerWhen you call logger function, send an email with the message.'email':{'level':str,# requirement'format':str,# optional'smtp_host':str,# requirement'smtp_port':int,# requirement'email_from':str,# requirement'email_to':str,# requirement'email_subject':str,# requirement'smtp_username':str,# requirement'smtp_password':str# requirement}
Package: exma
exmaexmais a Python library with C extensions to analyze and manipulate
molecular dynamics trajectories and electrochemical data.Main FeaturesSome of the main calculations that can be performed are listed below:mean square displacement,velocity autocorrelation function,radial distribution function,coordination number, the ligancy or in a shell,among others.For more precise information, see thetutorialsand theAPIin the documentation.RequirementsYou need Python 3.8+ to run exma.InstallationStable releaseTo install the most recent stable release of exma withpip,
run the following command in your termninal:pipinstallexmaFrom sourcesTo installing it from sources you can clone thisGitHub repogitclonehttps://github.com/fernandezfran/exma.gitand inside your local directory install it in the following waypipinstall-e.LicenseMIT License
Package: exmachina
Ex-Machinapython で bot 書くためのフレームワークインストールusing pippip install -U exmachinausing poetrypoetry add exmachina@latest使い方importasynciofromexmachinaimportEvent,Machina,Retry,RetryFixedbot=Machina()bot.create_concurrent_group(name='limit',entire_calls_limit=4,time_calls_limit=3,time_limit=1,)@bot.emit(interval='1s')asyncdefemit(event:Event):res=awaitevent.execute('execute')assertres==42# orres=awaitexecute()assertres==42# 特定の例外でリトライしたい場合retry=Retry([RetryFixed(HTTPError,wait_time=1,retries=5),])@bot.execute(concurrent_groups=['limit'],retry=retry)asyncdefexecute():return42if__name__=="__main__":try:wasyncio.run(bot.run())exceptKeyboardInterrupt:print("終了")Emit定期的に実行したい関数を登録するためのデコレータnameEmitでユニークな名前をつける省略した場合はデコレートした関数名になるcount実行回数. これで指定した回数実行した後、aliveがFalseになるNoneを指定した場合は無限回実行するデフォルトはNoneintervalループのインターバル1sや1d4hなどと指定できるデフォルトは0s. つまり待機しないaliveTrueの場合、botの実行時に自動で実行される手動で起動する場合はFalseを指定するデフォルトはTrueConcurrent Group時間あたりや同時実行数を制限するグループ作成したグループは後述のExecuteに対して設定できるname必須プロパティ. Concurrent Groupでユニークな名前をつけるentire_calls_limit全体の実行数制限このグループに所属するExecuteの並列実行数Noneを指定した場合、無制限デフォルトはNonetime_calls_limitこのグループに所属するtime_limit秒あたりに実行"開始"できるExecuteの数デフォルトは1time_limittime_calls_limitの制限時間(秒)デフォルト0. つまり、制限なしExecuteEmitから呼び出される、一回きりのタスクEmitは主にbotの制御を行い、Executeは計算処理や外部との通信を行う処理を書く想定nameExecuteでユニークな名前をつける省略した場合はデコレートした関数名になるconcurrent_groupsexecuteの所属するconcurrent_groupを配列で指定するデフォルトは[]retryExecute実行中に発生した例外をトリガーにリトライを行う設定を指定するfrom exmachina import RetryデフォルトはNoneEventEmitする関数に渡されるオブジェクト停止中の別のEmit起動や停止Executeの実行ループの状態を確認できる属性を持つEmitの起動と停止event.start('emit_name')event.stop('emit_name')Executeの実行event.execute('execute_name',*args,**kwargs)または、直接呼び出しawaitexecute_name(*args,**kwargs)event.executeはexecuteのTaskを返す属性event.epoch# emitのループ回数event.previous_execution_time# 直前のループの処理時間event.count# emitの残りの実行回数(未指定の場合はNone)RetryExecuteのリトライの設定を書くためのもの特定の秒数を待機した後、そのまま再実行を行うrules指定するルールの配列logger自前のloggerを渡したい場合に使うRetryRuleRetryFixed: 常にwait_timeの間隔でリトライRetryFibonacci: 1,1,2,3,5,...とフィボナッチ数列秒の間隔でリトライRetryRange:minとmaxを指定し、その間の乱数秒の間隔でリトライRetryExponentialAndJitter: 指数関数倍的に最大の待機時間を伸ばしつつリトライ
のいずれかを使用する共通引数exception指定する例外のクラスretriesリトライ回数. 省略するとRecursionErrorが出るまで再実行するデフォルトはNonefilter例外インスタンスを引数にboolを返す関数を指定Trueを返した場合にこのリトライ条件にマッチするHTTPのステータスコードなどで引っ掛けたいリトライ設定が異なる場合などを想定デフォルトはNone. つまり、常にTrueを返す開発initpoetryinstall
poetryshellfmtpoe fmtlintpoe linttestpoe test
Package: exmail-sdk
腾讯企业邮第三方 Python SDK。【阅读文档】。功能特性腾讯企业邮接入api安装目前 exmail-sdk 支持的 Python 环境有 2.7, 3.4, 3.5, 3.6, 3.7, 3.8。为了简化安装过程，推荐使用 pip 进行安装pipinstallexmail-sdk升级 exmail-sdk 到新版本:pip install -U exmail-sdk如果需要安装 GitHub 上最新代码:pip install https://github.com/ni-ning/exmail-sdk/archive/master.zip
Package: exmc
Excel Markdown ConverterFeaturescopy excel content from clipboard, so you need paste excel content to clipboardtypeexmcto convert excel string to markdown table stringtypeexmc -rconvert markdown table string to excel stringRequirementsclipboardInstallationYou can installExcel Markdown ConverterviapipfromPyPI:$pipinstallexmcUsagedemo video belowhttps://user-images.githubusercontent.com/61551277/215328281-79cb339f-8d92-4c11-91a3-a6ba54642c24.mp4the details belowexmccopy content from excel sheettypeexmcin terminal/cmd,then markdown table string will copy to clipboard automaticallyso you can paste in markdown fileexmc -r-r stands for reverseuse-rflag convert markdown table string to excel stringso, you need copy raw markdown table stringthen paste to excel fileContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theMIT license,Excel Markdown Converteris free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.CreditsThis project was generated from@cjolowicz'sHypermodern Python Cookiecuttertemplate.
Package: exmldoc
exmldoc is a library for loading .exml.xml files either produced by PyTree or by the ExportXMLv2 Java library
and assorted tools. The EXML file format is one of the file formats used for the TüBa-D/Z treebank of German and
offers the possibility to store multilayer linguistic annotations in a (mostly) human-readable format.As long as you are working with small documents, usage is relatively simple: load a document with::import exmldoc
from exmldoc.tree import Treedoc = exmldoc.load(‘file.exml.xml’)you can then (for example) enumerate all sentences with:::for sent in doc.get_objects_by_class(Tree):print doc.words[sent.span[0]:sent.span[1]]or access the token objects with::for sent in doc.get_objects_by_class(Tree):for token in doc.w_objs[sent.span[0]:sent.span[1]]print token.word, token.cat, token.lemmaYou can change a document and then save it with::doc.save(‘file_processed.exml.xml’)
Package: exmon
ExMonexmon can monitor your script and forward exceptions to specified servicessuper easymodularExamplefromexmonimportExMonfromexmon.servicesimportAlertafromexmon.servicesimportDiscordWebhook# set up discord webhookdiscord=DiscordWebhook('<URL>')# set up alertaalerta=Alerta(host_url='<HOST_URL>',api_key='<API_KEY>')# start up ex mon with both servicesExMon(services=[discord,alerta])# raise test exceptionraiseException('Totally unexpected exception')
Package: exobject
Pip:https://pypi.org/project/exobjectExpamle:from ExObject.ExObject import ExObject
from ExObject.DateTime import DateTime
a=ExObject([
    {"name":"a","age":1},
    {"name":"b","age":51},
    {"name":"c","age":11},
    {"name":"d","age":22}
])
b=a.SortBy(lambda x:x["age"],True)
print(b)
#====
b=a.SortBy(lambda x:x["age"],False)
print(b)
#====
print(a.Select(lambda x:x["name"].ToString()))
c=a.Where(lambda x:x["age"]<10).FirstOrDefaultObject()
print(c)
print(c["?name"].ToString())#print a
print(c["?nickName"].ToString())#print none
#====
date=DateTime.Now()
date2=DateTime.AutoConvert("2019-02-06")
print(date2)
Package: exo-changelog
Manage changelog as migrationsDocumentationWe have two commands, similar to Django Migrations, code based on it. One command creates an empty file ready for write our python code for the change (as a template file with some basic dependencies). We can include commands call or query using our django models.We manage dependencies between changes at the same way that Django does. And also, we can manage conflicts through merging.We only have two operations developed: RunPython and RunSQL (both of them, without parameters)
When you want to apply for changes, please execute applychange with/without app_label. You will see messages similar to migrations.QuickstartInstall django-changelog:`pip install exo-changelog`Add it to yourINSTALLED_APPS:INSTALLED_APPS=(...'exo_changelog.apps.ExoChangelogConfig',...)Create the changelog table:./manage.py migrate exo_changelogFeaturesCreate an empty change:  ./manage.py makechange <app_name>Execute changes: ./manage.py applychange <app_name>CreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.0 (2018-08-28)First release on PyPI.
Package: exoclasma-fastq
exoclasma-fastqDescriptionexoclasma-fastq is a tool for conversion different types of files to Illumina-like FastQ, a part of upcoming ExoClasma Suite.Features:ConvertJuicermerged_nodups.txtfile to FastQ, keeping its annotationConvert SRA to compressed FastQ viafastq-dump.This is a pre-release. Use it at your own risk!Installationpython3-mpipinstallexoclasma-fastqCommand-line dependenciesfastq-dump