Saravanan666/pypi-org huggingface dataset:
Package: exetera
ExeTeraWelcome to the ExeTera Readme!
This page and the accompanying github wiki show you how to make use of ExeTera to create reproducible
analysis pipelines for large tabular datasets.Please take a moment to read this page, and also take a look at theWiki, which contains in-depth documentation on the concepts behind this software, usage examples, and developer resources such as the roadmap for future releases.Current release and requirementsRequires python 3.7+UsageThe ExeTera allows you to import data from CSV sources into HDF5, a columnar data
format more suited to performing analytics. This is done throughexetera import.exetera importexetera import \
  -s path/to/covid_schema.json \
  -i "patients:path/to/patient_data.csv, assessments:path/to/assessmentdata.csv, tests:path/to/covid_test_data.csv, diet:path/to/diet_study_data.csv" \
  -o /path/to/output_dataset_name.hdf5 \
  --include "patients:(id,country_code,blood_group), assessments:(id,patient_id,chest_pain)" \
  --exclude "tests:(country_code)"Arguments-s/--schema: The location and name of the schema file-te/--territories: If set, this only imports the listed territories. If left unset, all territories are imported-i/--inputs: A comma separated list of 'name:file' pairs. This should be put in parentheses if it contains any whitespace. See the example above.-o/--output_hdf5: The path and name to where the resulting hdf5 dataset should be written-ts/--timestamp: An override for the timestamp to be written (defaults todatetime.now(timezone.utc))-w/--overwrite: If set, overwrite any existing dataset with the same name; appends to existing dataset otherwise-n/--include: If set, filters out all fields apart from those in the list.-x/--exclude: If set, filters out the fields in this list.Expect this script to take about an hour or more to execute on very large datasets.How do I work on the resulting dataset?This is done through the pythonexeteraAPI.fromexetera.core.sessionimportSessionwithSession()ass:src=s.open_dataset('/path/to/my/source/dataset','r','src')dest=s.open_dataset('/path/to/my/result/dataset','w','dest')# code...See the wiki for detailed examples of how to interact with the hdf5 datastore.ChangesThe ChangeLog can now be found on the ExeTerawiki
Package: exeteracovid
ExeTeraCovidWelcome to the ExeTeraCovid Readme!Current Release v0.2.0.1This page and the accompanying wiki show you how to useExeTerato create reproducible analysis pipelines for the Covid Symptom Study dataset.This project contains a set of notebooks, scripts and algorithms to help you analyse and write new analyses for the Covid Symptom Study data.
ExeTera is a software developed by King's College London to provide data curation for the Covid Symptom Study dataset. The dataset is collected using the Covid Symptom Study app, developed by Zoe Global Ltd with input from King's College London, the Massachusetts General Hospital, Lund University Sweden, and Uppsala University, Sweden.
This project contains the following:Notebooks: Python notebooks containing ready to run analysesScripts: Python scripts containing ready to run analysesAlgorithms: A number of useful algorithms for cleaning / processing of Covid Symptom Study data, to be used in your own scriptsProcessing: A number of useful pieces of functionality, to be used in your own scriptsRunning analysesRunning analyses is a simple process:Fetch the dataset snapshot(s)Import the dataset, usingexetera importRun the postprocessing script on the imported dataset, either via notebook or scriptRun analytics!Fetch the dataset snapshot(s)The Covid Symptom Study is delivered as a series of daily csv snapshots. If you do not otherwise have access to the snapshots as a research institution, you can get them fromThe Health Data Gateway.Import the datasetImporting the dataset requires the following:The data snapshotsThe schema file for the datasetcovid_schema.jsonwhich can be found in this projectExeTera, which can be installed using the commandpip install ExeTeraexetera import
-s path/to/covid_schema.json \
-i "patients:path/to/patient_data.csv, assessments:path/to/assessmentdata.csv, tests:path/to/covid_test_data.csv, diet:path/to/diet_study_data.csv" \
-o path/to/output_dataset_name.hdf5Run the postprocessing script on the imported datasetThis can be done one of two ways:Via python notebook usingexeteracovid/notebooks/standard_processing.ipynbVia python script usingexeteracovid/scripts/standard_processing.pyVia python notebookFill in the fields forinput_filenameandoutput_filename, and then run the cellVia python scriptstandard_processing -i path/to/input_dataset -o path/to/output_dataset -dArguments-i/--input: The path and name of the import hdf5 file-o/--output: The path and name of the processed hdf5 file-d/--daily: A flag to indicate whether to generate daily assessments (optional)Government Open Licence v3.0 attribution statementThe resources folder contains, amongst other resources, CSV files containing lsoa11cd geo-data that are required for certain scripts and are derived from data sources made available byhttps://data.gov.uk. These sources are used in accordance with theOpen Government Licence V3.0
Package: exetime
exetime 3.7This module is for finding the execution time of a whole programHow to install$ pip install exetimeContents:General InformationInstructionExample-1Example-2Developer and CreditsGeneral Information:It uses process_time() built-in function inpython 3.7or above.More info onPython DocsInstruction:As soon as you import the module,init() gets excuted and it is the starting of the program,(Prefer to import exeTime above all imports)---Write your code---After finishing writing your code and successfully compilling,call `exetime()` or `exetime_ms()` (At the end of everything)Use theprint()for viewing the outputExample-1:Example-2:Note:the delay oftime.sleep(5)won't be included, since it only calculate the process time by CPUDeveloper and CreditThis module was developed by SaikatWebsiteInstagramTwitterExternal Credit:StackOverFlow QuestionMarc Maxmeister
Package: exeustr
execute python code using string, PyPI test. Instruct how to build a PyPI.Python打包上传PyPI注册 PyPI在PyPI注册帐号准备含有 setup.py 的Python 项目项目地址目录结构：exeu 目录exeu 目录为源码目录，一般一个项目下，需要有一个源码目录core.py具体实现文件core.pydefev(s:str):returneval(s)实现 eval 的功能。init 文件源码目录下的__init__文件需要引入需要暴露的接口，以及 version 定义。init.py 文件__version__="0.0.1"from.coreimport*setup.py 文件打包成 PyPI 的配置文件# -*- coding: utf-8 -*-importioimportosimportrefromsetuptoolsimportfind_packagesfromsetuptoolsimportsetup# versionhere=os.path.abspath(os.path.dirname(__file__))withopen(os.path.join(here,'exeu','__init__.py'),'r')asf:init_py=f.read()version=re.search('__version__ = "(.*)"',init_py).groups()[0]# obtain long description from READMEwithio.open(os.path.join(here,'README.md'),'r',encoding='utf-8')asf:README=f.read()# installation packagespackages=find_packages()# setupsetup(name='exeu',version=version,description='execute python code using string',long_description=README,long_description_content_type="text/markdown",author='dulingkang',author_email='dulingkang@163.com',packages=packages,python_requires='>=3.7',install_requires=[],url='https://github.com/dulingkang/exeu',project_urls={"Bug Tracker":"https://github.com/dulingkang/exeu/issues","Documentation":"https://github.com/dulingkang/exeu","Source Code":"https://github.com/dulingkang/exeu",},keywords=('exeucate eval, ''pipy test, ''python instruction, '),classifiers=['Natural Language :: English','Operating System :: OS Independent','Programming Language :: Python','Programming Language :: Python :: 3','Programming Language :: Python :: 3.7','Programming Language :: Python :: 3.8','Programming Language :: Python :: 3.9','Programming Language :: Python :: 3.10','Intended Audience :: Science/Research','License :: OSI Approved :: Apache Software License','Topic :: Scientific/Engineering :: Bio-Informatics','Topic :: Scientific/Engineering :: Mathematics','Topic :: Scientific/Engineering :: Artificial Intelligence','Topic :: Software Development :: Libraries',],license='Apache-2.0 license',)上述主要参数解析:name：库名version：版本号author：作者author_email：作者邮箱（如：发现 bug，可以联系邮箱处理）description：简要描述long_description：详细描述（一般会写在README.md中）long_description_content_type：README.md中描述的语法（一般为markdown)install_requires: 依赖的其它 Python 包url：库/项目主页，一般我们把项目托管在GitHub，放该项目的GitHub地址即可packages：使用setuptools.find_packages()即可，这个是方便以后我们给库拓展新功能的（详情请看官方文档）classifiers：指定该库依赖的Python版本、license、操作系统之类的license: 使用协议名称安装 PyPI 工具包installsetuptools和wheel和twinepython3 -m pip install --user --upgrade setuptools wheel twine打包打包前，需要先 check setup.py 中有没有错误：python3 setup.py check确认无误后，执行打包：python3 setup.py sdist bdist_wheel完成后，会生成dist文件夹上传使用twine将打好的包上传到PyPI使用如下命令上传：TWINE_PASSWORD=your_password TWINE_USERNAME=your_name twine upload dist/*your_name,your_password, 输入第一步在 PyPI注册的用户名和密码。
Package: exex
exexExtract data from Excel documentsInstallationpipinstallexexUsageLoad Excel filefromopenpyxlimportload_workbookfromexeximportparsebook=load_workbook("sample.xlsx")# load excel filesheet=book.active# get active sheetSingle cell by nameparse.values(sheet["A1"])"name"Single cell by row/column numberparse.values(sheet.cell(row=1,column=1))"name"Range of cellsparse.values(sheet["A1":"B2"])[["name","abbreviation"],["alpha","a"],]All cellsparse.values(sheet.values)[["name","abbreviation","age"],["alpha","a",1],["beta","b",2],["gamma","g",3],]Row by numberparse.values(sheet[1])["alpha","a",1]Range of rowsparse.values(sheet[1:2])[["name","abbreviation","age"],["alpha","a",1],]Column by nameparse.values(sheet["A"])["name","alpha","beta","gamma"]Rangge of columnsparse.values(sheet["A:B"])[["name","alpha","beta","gamma"],["abbreviation","a","b","g"],]Ways to access sheets# Sheetsbook.sheets[0]# (sheet) sheet by indexbook.sheets["prices"]# (sheet) sheet by namebook.active# (sheet) active sheetbook.sheetnames# (array) sheet namesDevelopmentSetuppoetryinstallTests(local Python version)poetryrunpytestTests(all Python versions defined intox.ini)poetryruntoxCode formatting(black)poetryrunblack.
Package: exex-cli
exex-cliCLI for extracting data from Excel documentsInstallationpipinstallexex-cliUsageSynopsispython-mexex_cliextractFILENAME--sheetSHEET--rangeRANGE--formatFORMATParameterTypeDefaultDescriptionFILENAME(required) stringPath to .xlsx file.[SHEET](optional) string or int0(first sheet)Name or index of sheet[RANGE](optional) rangeall(all values)Range to get values from[FORMAT](optional) stringtexttext,table,json,csvType of rangesTypeSyntaxExampleAll valuesallallCell by name[COLUMN_NAME][ROW_NUMBER]A1Cell by index[COLUMN_INDEX],[ROW_INDEX]1,1Cell range[FROM]:[TO]A1:A3Column[COLUMN_NAME]AColumn range[FROM]:[TO]A:CRow[ROW_NUMBER]1Row range[FROM]:[TO]1:3ExamplesGet all values as JSONpython-mexex_cliextractsample.xlsx--formatjsonGet cell range as CSVpython-mexex_cliextractsample.xlsx--rangeA1:A3--formatcsvDevelopmentSetuppoetryinstallTests(local Python version)poetryrunpytestCode formatting(black)poetryrunblack.
Package: exfill
IntroductionJob boards (like LinkedIn) can be a good source for finding job openings.  Unfortunately the search results cannot always be filtered to a usable degree.  Exfill (short for extraction) lets users scrape and parse jobs with more flexability provided by the default search.Currently only LinkedIn is supported.Project StructureDirectories:src/exfill/parsers- Contains parser(s)src/exfill/scrapers- Contains scraper(s)src/exfill/supportContainsgeckodriverdriver for FireFox which is used by SeleniumDownload the latest driver from theMozilla GeckoDriver repo in GitHubdata/htmlNot in source controlContains HTML elements for a specific job postingPopulated by a scraperdata/csvNot in source controlContains parsed information in a csv tablePopulated by a parserAlso contains an error tablelogsNot in source controlContains logs created during executioncreds.jsonFileSyntax should be as follows:{"linkedin":{"username":"jay-law@protonmail.com","password":"password1"}}UsageThere are twoactionsrequired to generate usable data:First is the scraping action.  When called, a browser will open and perform a job query on the specifiedsite.  Each posting will be exported to thedata/htmldirectory.The second action is parsing.  Each job posting indata/htmlwill be opened and analyzed.  Once all postings have been analyzed a single CSV file will be exported todata/csv.The csv file provides a high-level overview of all the jobs returned during the query.  When imported to a spreadsheet, users can filter on fields not present in the original search options.  Examples include sorting by companies or excluding certain industries.Add Creds FileThis is required for all usage.# Install with git$gitclonegit@github.com:jay-law/job-scraper.git# Create and populate creds.json.  Bash only:cat<<EOF > creds.json{"linkedin": {"username": "jay-law@protonmail.com","password": "password1"}}EOFUse as Code# Install with git$gitclonegit@github.com:jay-law/job-scraper.git# Activate virtual env$poetryshell# Install dependencies$poetryinstall# Ensure creds.json exists (see above)# Execute - Scrape linkedin$python3exfill/extractor.pylinkedinscrape# Execute - Parse linkedin$python3exfill/extractor.pylinkedinparseUse as Module# Install$poetryaddexfill# Ensure creds.json exists (see above)# Execute - Scrape linkedin$python3-mexfill.extractorlinkedinscrape# Execute - Parse linkedin$python3-mexfill.extractorlinkedinparseRoadmapWrite unit testsImprove secret handlingAdd packagingMove paths to config fileMove keyword logicSet/include default config.ini for users installing with PIPAdd CICDAutomate versioningAdd formatter (black module)Add static type checking (mypy module)Add import sorter (isort module)Add linter (flake8 module)Update string interpolation from %f to f-stringReplace sys.exit calls with exceptionsUpdate how the config object is accessedMigrate topoetryfor virtual env, building, and publishingReplace os.path usage with pathlibReplace pandas export with csv exportReplace unittest with pytest
Package: exgrex-py
Пакет exgrex-py предоставляет унифицированный инструмент, облегчающий
создание и поддержку грейдеров (систем автоматической проверки решений
учащихся) в курсах по программированию на языке Python.DocumentationИстория создания
пакетаОсновные возможности и
особенностиУстановкаИспользованиеAuthorsValeriy Shagur-vshagur, email:vshagur@gmail.comLicenseThis project is licensed under the MIT License - see theLICENSEfile for details
Package: exgrex-pytest
Package exgrex-pytest adds to package exgrex-py the ability to use the
pytest framework.Installation$ python3 -m pip install exgrex-pytestRequirementspytest- The pytest framework makes it easy to write small tests,
yet scales to support complex functional testing for applications and
libraries.exgrex-py- The exgrex-py package provides a unified tool that
makes it easy to create and maintain graders (automatic student
decision checking systems) in Python programming courses.DocumentationThe link to the documentation will appear soonAuthorsValeriy Shagur-vshagur, email:vshagur@gmail.comLicenseThis project is licensed under the MIT License - see theLICENSEfile
for details
Package: exguard
Descriptionexgurd provides a decorator to guard a function or method against
exceptions. This is useful in situations where untrusted code is
executed, e.g. when executing a third-party module in a framework.In comparison to thesuppresscontext manager from Python 3, exguard
provides more means to control exception handling:filter on modules and namespaces to define which exceptions to catch
and leave exceptions in other code untouchedexecute a callback function once an exception was caughtexecute a callback function in thefinallyblockFor example, an API method in a web application that calls through to
code in third-party modules can be guarded against exceptions in this
modules only, while having exceptions in the framework itself be raised
verbatim:from exguard import guard, traceback_str

def throw_to_client(exception, module):
    tb = traceback_str(exception)

    # Do something to pass a traceback to the browser, disable the plugin,…
    pass

# All third-party modules are under one namespace
@guard(modules=["myframework.plugins"], submodules=True, fullstack=True, cb_except=throw_to_client)
def call_plugin_api():
    # An exception inside this will be caught
    myframework.plugins.evil.crash()

    # This will still raise an exception like normal
    x = 17 / 0Authorsexguard has been started as a part ofVeripeditus, mainly by
Eike Tim Jesinghaus <eike@naturalnet.de>.Licence and copyrightexguard - Guard code against exceptions, e.g. for running untrusted module code in a framework
Copyright (C) 2017  Eike Tim Jesinghaus <eike@naturalnet.de>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.Changelog0.2.1Guard against <string> or other non-module frames.0.2Add utility function to get full traceback as string.Re-licence under MIT.Minor documentation updates.0.1First release.
Package: exhaust
exhaustA Python library to exhaustively enumerate a combinatorial space represented by a function.TheAPIis modelled after Python'srandommodule and should feel familiar. An additional convenience functionmaybe()was added to cover a common case.If you're missing a function and the corresponding space can be enumerated feel free to open an issue. Any functions that generatereal-valued distributionscannot be supported.Exampleimportexhaustdefgenerate_character(state:exhaust.State):eyes=[]for_inrange(state.randint(1,3)):eyes.append({'color':state.choice(['brown','blue']),'glowing':state.maybe()})size='giant'iflen(eyes)==1else'normal'accessories=[]iflen(eyes)==2:ifstate.maybe():accessories.append('hat')ifstate.maybe():accessories.append('ring')character={'size':size,'eyes':eyes,'accessories':accessories}returncharacter# iterates over a space of 132 charactersforcharacterinexhaust.space(generate_character):print(character)As you can see, navigating the space works fine within loops as well.
Each time a function from theStateobject is called (likemaybe()), you can think of it as forking the current path into multiple branches, leading to a tree that gets explored. While exploring, the user-defined function is called for each path of the tree.See theexamples/folder for further examples that can be run on the command line.See theAPI Documentationfor all availableStatefunctions.Installationpip install exhaustDevelopmentRequires pip >= 21.3Editable install:pip install -e .Run tests:pip install -r requirements-test.txt
pytestBuild docs:pip install -r requirements-docs.txt
sphinx-build -b html docs dist-docsBuild wheel:pip install build
python -m build --wheelAcknowledgmentsThis package is inspired byKerasTuner's method of defining hyperparameter search spaces.
Package: exhaustion
exhaustionA tiny library to help in exhaustive testing of Boolean functions in Python.RequirementsPython 3.6 or newerInstallationExhaustion can be installed usingpip:pipinstallexhaustionUsageUsage is very straightforward,exhaustionis compatible with any testing library that supports assertions.importunittestfromexhaustionimportexhaustdef_and(a:bool,b:bool):""" A simple wrapper over the Python `and` operator for demonstration purposes.Args:a (bool): The left-hand operand.b (bool): The right-hand operand.Returns:bool: The Boolean conjunction of the arguments provided."""returnaandbclassTestAndAlgebraic(unittest.TestCase):""" Tests the algebraic properties of the _and function."""deftest_and_commutative(self):""" Proves by exhaustion that the _and function is commutative."""# The lambda below will execute for every possible combination of Boolean arguments.exhaust(lambdaa,b:self.assertTrue(_and(a,b)==_and(b,a)))Related ProjectsThis library is intentionally very minimal, and was designed to be so. If you're looking for a richer feature set, you might consider the following projects:exhaust- Not to be confused with this project, a library that supports exhastive enumeration of any finite set you can express using a generator function.LicenseMIT©lambdacasserole.
Package: exhaustion-check
Check whether an instance of a LinkML class has used all of the associated classesCheck whether an instance of a LinkML class has used all of the associated classesRepo|Report Bug|ReleasesTable of ContentsAbout The ProjectGetting StartedPrerequisitesInstallationUsageRoadmapContributingLicenseContactAbout The Project[TODO](back to top)Getting StartedThis is a standard Python project that runs on the CLI.Prerequisitespython >= 3.10 (it will probably work with lower versions, but I haven't tested it)poetry >= 1.2InstallationInstall dependencies> poetry install && poetry shellInstall the language model> python -m spacy download de_core_news_smRun with [TODO](back to top)Usage[TODO] Use this space to show useful examples of how a project can be used.(back to top)RoadmapFeature 1Feature 2Feature 3Nested FeatureSee theopen issuesfor a full list of proposed features (and known issues).(back to top)ContributingContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make aregreatly appreciated.If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!Fork the ProjectCreate your Feature Branch (git checkout -b feature/AmazingFeature)Commit your Changes (git commit -m 'Add some AmazingFeature')Push to the Branch (git push origin feature/AmazingFeature)Open a Pull Request(back to top)LicenseDistributed under the MIT License. SeeLICENSE.mdfor more information.(back to top)ContactFritz,@your_name@mastodon.socialProject Link:https://github.com/gotofritz/german-learning(back to top)
Package: exhaustive-cal
exhaustive-calUsageThis package is using for exhausting every operator and calculate the expressions for objects.How to use itimport it by:from exhaucal import *. No any additional modules or packages will be installed. If you cannot install it by pip, please download the source and extract it into sys.path.To see examples, please typeValueExhaustive.__doc__after importing.Or you can make some fun things!>>>fromexhaucalimport*>>>ValueExhaustive((1,1,4,5,1,4),"+-*/%&|^","+-*/%&|^",("+","-","*","/","%","&","|","^","**"),"+-*/%&|^","+-*/%&|^").listexpr()('1+1+4+5+1+4','1+1+4+5+1-4',[[36860omitted]],'1^1^4**5^1|4','1^1^4**5^1^4')