Saravanan666/pypi-org huggingface dataset:
Package: edi-energy-scraper
edi-energy.de scraperThe Python packageedi_energy_scraperprovides easy to use methods to mirror the website edi-energy.de.Rationale / Why?If you'd like to be informed about new regulations or data formats being published on edi-energy.de you can eithervisit the site every day and hope that you see the changes if this is your favourite hobby,or automate the task.This repository helps you with the latter. It allows you to create an up-to-date copy of edi-energy.de on your local
computer. Other than if you mirrored the files usingwgetorcurl, you'll get a clean and intuitive directory
structure.From there you can e.g. commit the files into a VCS (like e.g. ouredi_energy_mirror), scrape the PDF/Word files for later use...We're all hoping for the day of true digitization on which this repository will become obsolete.How to use the Package (as a user)Install via pip:pipinstalledi_energy_scraperCreate a directory in which you'd like to save the mirrored data:mkdiredi_energy_deThen import it and start the download:importasynciofromedi_energy_scraperimportEdiEnergyScraper# add the following lines to enable debug logging to stdout (CLI)# import logging# import sys# logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)asyncdefmirror():scraper=EdiEnergyScraper(path_to_mirror_directory="edi_energy_de")awaitscraper.mirror()if__name__=="__main__":loop=asyncio.new_event_loop()asyncio.set_event_loop(loop)asyncio.run(mirror())This creates a directory structure:-|-your_script_cwd.py
 |-edi_energy_de
    |- past (contains archived files)
        |- ahb.pdf
        |- ahb.docx
        |- ...
    |- current (contains files valid as of today)
        |- mig.pdf
        |- mig.docx
        |- ...
    |- future (contains files valid in the future)
        |- allgemeine_festlegungen.pdf
        |- schema.xsd
        |- ...How to use this Repository on Your Machine (for development)Please follow the instructions in
ourPython Template Repository. And for further information, see theTox Repository.ContributeYou are very welcome to contribute to this template repository by opening a pull request against the main branch.
Package: ediff
EDIFF :: processing of powder electron diffraction patternsEDIFF is under development, but key modules do work:io = input/output data treatmentbkgr = background subtractioncenter = find center of 2D powder diffraction patternradial = calculate radial distribution (2D-pattern to 1D-pattern)pxrd = calculation of theoretical powder X-ray diffraction patternsInstallationpip install bground= interactive background subtractionpip install ediff= EDIFF program itself (uses bground internally)Quick startSee how it works:Look atworked examplein Jupyter.Try it yourself:Download and unzip thecomplete example with data.Look at00readme.txtand run the example in Jupyter.Documentation, help and examplesPyPIrepository.GitHubrepository.GitHub Pageswithdocumentation.Versions of EDIFFVersion 0.0.1 = just draftVersion 0.0.2 = pxrd module worksVersion 0.0.3 = pxrd module works including profilesVersion 0.0.4 = bground module incorporated + slightly improved docstringsVersion 0.1.0 = 1st semi-complete version with basic documentationVersion 0.1.1 = v.0.1.0 + improved/simplified outputsVersion 0.1.2 = v.0.1.1 + small improvements of code and documentationVersion 0.2   = important improvements of center.py
Package: edilkamin
Edilkamin.pyThis is a library for theReverse Engineered"The Mind" Edilkamin API.
The Mind offers an app/API to remote control the Edilkamin pellet stoves.Installpipinstalledilkamin[ble]Usageimportedilkamintoken=edilkamin.sign_in(username,password)mac_address=edilkamin.discover_devices()[0]edilkamin.device_info(token,mac_address)edilkamin.set_power_off(token,mac_address)For more advanced usage read thedocumentation.TestsmaketestMotivationsproviding an open source web alternative
to theproprietary mobile appimproving the interoperability (Nest, HomeAssistant...)
Package: edinet-python
edinet-pythonDownload the documents fromEDINET.Use officialEDINET API.Extract contents from XBRL.Main target of parser is annual reports.How to useInstallpip install edinet-python1. Download the documents fromEDINET.1.1 Get document list of specific dayimportedinetdocuments=edinet.api.documents.get("2019-01-31")print(f"Number of documents is{len(documents.list)}")print(f"Title of first document is{documents.list[0].title}")when only getting the list metadata (number of documents).importedinetmetadata=edinet.api.metadata.get("2019-01-31")print(f"Number of documents is{metadata.count}")1.2 Get document by document idfrompathlibimportPathimportedinetxbrl_path=edinet.api.document.get_xbrl("S100FGR9",save_dir=Path.cwd())pdf_path=edinet.api.document.get_pdf("S100FGR9",save_dir=Path.cwd())2. Extract contents from XBRLfromedinet.xbrl_fileimportXBRLFilefromedinet.parser.aspects.businessimportBusinessxbrl=XBRLFile("path/to/xbrl/file")content=xbrl.parse_by(Business).policy_environment_issue_etcFollowing aspects are supported. The format is based on三号様式that is commonly used for annual report.文書情報:Metadata会計年度:fiscal_year会計期間種別:fiscal_period_type企業の概況:Company主要な経営指標等の推移沿革:history事業の内容:business_description関係会社の状況:affiliated_entities従業員の状況:employees事業の状況:Business経営方針、経営環境及び対処すべき課題等:policy_environment_issue_etc事業等のリスク:risks経営者による財政状態、経営成績及びキャッシュ・フローの状況の分析(2018年度~):management_analysis重要事象等の分析及び対応(2018年度~)経営上の重要な契約等研究開発活動:research_and_development(業績等の概要(~2017年度):overview_of_result)(生産、受注及び販売の状況(~2017年度):analysis_of_production_and_sales)(財政状態、経営成績及びキャッシュ・フローの状況の分析(~2017年度):analysis_of_finance)設備の状況設備投資等の概要主要な設備の状況設備の新設、除却等の計画賃貸資産自社用資産提出会社の状況:Information株式等の状況:所有者別状況:shareholders配当政策:dividend_policy役員の状況:directorsコーポレート・ガバナンスの状況等:corporate_governance経理の状況:Finance連結財務諸表等財務諸表等注記:notes会計方針の変更/会計基準等の改正等以外の正当な理由による会計方針の変更:voluntary_accounting_policy_changeセグメント情報等:segment_information賃貸等不動産関係:real_estate_for_lease最近の財務諸表提出会社の株式事務の概要株式公開情報特別利害関係者等の株式等の移動状況第三者割当等の概況株主の状況提出会社の参考情報提出会社の親会社等の情報その他の参考情報References2019年版EDINETタクソノミの公表について2018年版EDINETタクソノミの公表について2017年版EDINETタクソノミの公表について2016年版EDINETタクソノミの公表について2015年版EDINETタクソノミの公表について2014年版EDINETタクソノミの公表について
Package: edinet-xbrl
edinet_xbrl is a Python parser for Edinet xbrl files.InstallationTo install edinet_xbrl, simply:$pipinstalledinet_xbrlHow To UseTo download xbrl files from EDINET:fromedinet_xbrl.edinet_xbrl_downloaderimportEdinetXbrlDownloader## init downloaderxbrl_downloader=EdinetXbrlDownloader()## set a ticker you want to download xbrl fileticker="1234"target_dir="a target directory path"xbrl_downloader.download_by_ticker(ticker,target_dir)To get value from your xbrl files:fromedinet_xbrl.edinet_xbrl_parserimportEdinetXbrlParser## init parserparser=EdinetXbrlParser()## parse xbrl file and get data containerxbrl_file_path="set your xbrl file path"edinet_xbrl_object=parser.parse_file(xbrl_file_path)## get value from containerkey="jppfs_cor:Assets"context_ref="CurrentYearInstant"current_year_assets=edinet_xbrl_object.get_data_by_context_ref(key,context_ref).get_value()
Package: edi-parser2-stups
EDI Parser Stupsedi-parser: a lightweight EDI file parserThis package provides a simple-to-use Python interface to EDI 835 Health Care Claim Payment and Remittance Advice files.InstallationBinary installers for the latest released version are at the Python Package Index. Please note that you need to run Python 3.9 or higher to install the edi-835-parser.pip install edi-parser2-stups==1.0.0UsageTo parse an EDI file simply execute theparsefunction orparsestreamfunction when passing a file stream object.fromediparserimportparsepath='~/Desktop/my_edi_file.txt'transaction_set=parse(path)Theparsefunction also works on a directory path.fromediparserimportparsepath='~/Desktop/my_directory_of_edi_files'transaction_sets=parse(path)In both cases,parsereturns an instance of theTransactionSetsclass.
This is the class you manipulate depending on your needs.
For example, say you want to work with the transaction sets data as apd.DataFrame.fromediparserimportparsepath='~/Desktop/my_directory_of_edi_files'transaction_sets=parse(path)data=transaction_sets.to_dataframe()And then save thatpd.DataFrameas a.csvfile.data.to_csv('~/Desktop/my_edi_file.csv')The complete set ofTransactionSetsfunctionality can be found by inspecting theTransactionSetsclass found atedi_parser/transaction_set/transaction_sets.pyTestsExample EDI 835 files can be found intests/test_edi_835/files. To run the tests usepytest.python -m pytest
Package: ediri-fly
Fly.io Resource ProviderThe Fly.io Resource Provider lets you manageFly.ioresources.InstallingThis package is available for several languages/platforms:Node.js (JavaScript/TypeScript)To use from JavaScript or TypeScript in Node.js, install using eithernpm:npminstall@ediri/flyoryarn:yarnadd@ediri/flyPythonTo use from Python, install usingpip:pipinstallediri_flyGoTo use from Go, usego getto grab the latest version of the library:gogetgithub.com/dirien/pulumi-fly/sdk.NETTo use from .NET, install usingdotnet add package:dotnetaddpackageediri.FlyConfigurationThe following configuration options are supported for theflyprovider:fly_api_token(String) fly.io api token. If not set checks env forFLY_API_TOKENfly_http_endpoint(String) Where the provider should look to find the fly http endpointReferenceFor detailed reference documentation, please visitthe Pulumi registry.
Package: ediri-port
Port Resource ProviderThe Port Resource Provider lets you managePortresources.InstallingThis package is available for several languages/platforms:Node.js (JavaScript/TypeScript)To use from JavaScript or TypeScript in Node.js, install using eithernpm:npminstall@ediri/portoryarn:yarnadd@ediri/portPythonTo use from Python, install usingpip:
``pipinstallediri-portGoTo use from Go, usego getto grab the latest version of the library:gogetgithub.com/dirien/pulumi-port/sdk.NETTo use from .NET, install usingdotnet add package:dotnetaddpackageediri.PortConfigurationThe following configuration points are available for theportprovider:port:baseUrl(environment:PORT_BASE_URL) - This is the Port base URL.port:clientId(environment:PORT_CLIENT_ID) - This is the Port client ID.port:secret(environment:PORT_CLIENT_SECRET) - This is the Port secret.port:token- This is the Port token.ReferenceFor detailed reference documentation, please visitthe Pulumi registry.
Package: ediri-qovery
Qovery Resource ProviderThe Qovery Resource Provider lets you manageQoveryresources.InstallingThis package is available for several languages/platforms:Node.js (JavaScript/TypeScript)To use from JavaScript or TypeScript in Node.js, install using eithernpm:npminstall@ediri/qoveryoryarn:yarnadd@ediri/qoveryPythonTo use from Python, install usingpip:pipinstallediri_qoveryGoTo use from Go, usego getto grab the latest version of the library:gogetgithub.com/dirien/pulumi-qovery/sdk/go/....NETTo use from .NET, install usingdotnet add package:dotnetaddpackageediri.QoveryConfigurationThe following configuration points are available for theqoveryprovider:token(String) The Qovery API Token to use. This can also be specified with theQOVERY_API_TOKENshell environment variable.ReferenceFor detailed reference documentation, please visitthe Pulumi registry.
Package: ediri-scaleway
Scaleway Resource ProviderThe Scaleway Resource Provider lets you manageScalewayresources.InstallingThis package is available for several languages/platforms:Node.js (JavaScript/TypeScript)To use from JavaScript or TypeScript in Node.js, install using eithernpm:npminstall@ediri/scalewayoryarn:yarnadd@ediri/scalewayPythonTo use from Python, install usingpip:pipinstallediri-scalewayGoTo use from Go, usego getto grab the latest version of the library:gogetgithub.com/dirien/pulumi-scaleway/sdk/v2.NETTo use from .NET, install usingdotnet add package:dotnetaddpackageediri.ScalewayReplace the version string with your desired version.SetupTo provision resources with the Pulumi Scaleway provider, you need to have Scaleway credentials. Scaleway maintains
documentation on how to create API
keyshereSet environment variablesOnce you have provisioned these credentials, you can set environment variables to provision resources in Scaleway:exportSCW_ACCESS_KEY=<SCW_ACCESS_KEY>exportSCW_SECRET_KEY=<SCW_SECRET_KEY>$env:SCW_ACCESS_KEY="<SCW_ACCESS_KEY>"$env:SCW_SECRET_KEY="<SCW_SECRET_KEY>"Configuration OptionsUsepulumi config set scaleway:<option>to set the following configuration options.OptionEnvironment VariablesRequired/OptionalDescriptionaccess_keySCW_ACCESS_KEYRequiredScaleway access keysecret_keySCW_SECRET_KEYRequiredScaleway secret keyproject_idSCW_DEFAULT_PROJECT_IDRequiredTheproject IDthat will be used as default value for all resources.organization_idSCW_DEFAULT_ORGANIZATION_IDOptionalTheorganization IDthat will be used as default value for all resources.regionSCW_DEFAULT_REGIONOptionalTheregionthat will be used as default value for all resources. (fr-parif none specified)zoneSCW_DEFAULT_ZONEOptionalThezonethat will be used as default value for all resources. (fr-par-1if none specified)
Package: ediri-vultr
Vultr Resource ProviderThe Vultr Resource Provider lets you manageVultrresources.InstallingThis package is available for several languages/platforms:Node.js (JavaScript/TypeScript)To use from JavaScript or TypeScript in Node.js, install using eithernpm:npminstall@ediri/vultroryarn:yarnadd@ediri/vultrPythonTo use from Python, install usingpip:
``pipinstallediri-vultrGoTo use from Go, usego getto grab the latest version of the library:gogetgithub.com/dirien/pulumi-vultr/sdk/v2.NETTo use from .NET, install usingdotnet add package:dotnetaddpackageediri.VultrConfigurationThe following configuration points are available for thevultrprovider:vultr:apiKey(environment:VULTR_API_KEY) -  This is the Vultr API key. It can be found in theVultr API section.vultr:rateLimit- Vultr limits API calls to 30 calls per second. This field lets you configure how the rate limit using milliseconds. The default value if this field is omitted is 500 milliseconds per call.vultr:retryLimit- This field lets you configure how many retries should be attempted on a failed call. The default value if this field is omitted is 3 retries.ReferenceFor detailed reference documentation, please visitthe Pulumi registry.
Package: eDisGo
OvervieweDisGoThe python package eDisGo serves as a toolbox to evaluate flexibility measures
as an economic alternative to conventional grid expansion in
medium and low voltage grids.
Seedocumentationfor further information.LICENSECopyright (C) 2017 Reiner Lemoine Institut gGmbHThis program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
details.You should have received a copy of the GNU General Public License along with
this program. If not, seehttps://www.gnu.org/licenses/.
Package: editable-list-view
A sample Python projectA sample project that exists as an aid to the [Python Packaging User
Guide][packaging guide]'s [Tutorial on Packaging and Distributing
Projects][distribution tutorial].This project does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.[The source for this project is available here][src].Most of the configuration for a Python project is done in thesetup.pyfile,
an example of which is included in this project. You should edit this file
accordingly to adapt this sample project to your needs.This is the README file for the project.The file should use UTF-8 encoding and can be written using
[reStructuredText][rst] or [markdown][md use] with the appropriate [key set][md
use]. It will be used to generate the project webpage on PyPI and will be
displayed as the project homepage on common code-hosting services, and should be
written for that purpose.Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not a
good idea, although a simple “What's New” section for the most recent version
may be appropriate.
Package: editables
A Python library for creating "editable wheels"This library supports the building of wheels which, when installed, will
expose packages in a local directory onsys.pathin "editable mode". In
other words, changes to the package source will be  reflected in the package
visible to Python, without needing a reinstall.UsageSuppose you want to build a wheel for your projectfoo. Your project is
located in the directory/path/to/foo. Under that directory, you have asrcdirectory containing your project, which is a package calledfooand a Python module calledbar.py. So your directory structure looks like
this:/path/to/foo
|
+-- src
|   +-- foo
|   |   +-- __init__.py
|   +-- bar.py
|
+-- setup.py
+-- other filesBuild your wheel as follows:fromeditablesimportEditableProjectmy_project=EditableProject("foo","/path/to/foo")my_project.add_to_path("src")# Build a wheel however you prefer...wheel=BuildAWheel()# Add files to the wheelforname,contentinmy_project.files():wheel.add_file(name,content)# Record any runtime dependenciesfordepinmy_project.dependencies():wheel.metadata.dependencies.add(dep)The resulting wheel will, when installed, put the projectsrcdirectory onsys.pathso that editing the original source will take effect without needing
a reinstall (i.e., as "editable" packages). The project is exposed onsys.pathby adding a single.pthfile, named after the project, into the wheel.For more details, including how to control what gets exposed more precisely, seethe documentation.Note that this project doesn't build wheels directly. That's the responsibility
of the calling code.Python CompatibilityThis project supports the same versions of Python as pip does. Currently
that is Python 3.7 and later, and PyPy3 (although we don't test against
PyPy).
Package: edit-anki
This project mainly focuses on Modifying Anki existing collections and decks.It uses PYO3 to generate the native python module,so you can use it as a python dependency.Features It hasMidify exist notes of cards.add noteschange field contents of a noteHow to usedetails seeexamplesFeature RequestThis project is in its early stage. You are welcome to request new features if it would not
satisfy your needs.LicenseseeLicenseReferenceThis project is based onAnki project
Package: edit-anything
Install EditAnything In Localrun by shell scriptbashrun.shrun by cli commandclient installpip install editanything -Ustart service by cli commandeditanything --host {host} --port {port} --device {cup|cuda}

--host：define web model visit host, default 0.0.0.0
--port: define web model visit port, default 9911
--device: used to specify the type of device for running models，support cup and cuda. default cpu.

example：
editanything --host 192.168.6.1 --port 9999 --device cpulocal visit addresshttp://{host:port}
Package: editdistance
editdistanceFast implementation of the edit distance (Levenshtein distance).This library simply implementsLevenshtein distancewith C++ and Cython.The algorithm used in this library is proposed byHeikki Hyyrö, "Explaining and extending the bit-parallel approximate string matching algorithm of Myers", (2001)Binary wheelsThanks topypa/cibuildwheelThere are binary wheels on Linux, Mac OS, and Windows.InstallYou can install via pip:pipinstalleditdistanceUsageIt's quite simple:importeditdistanceeditdistance.eval('banana','bahama')# 2LSimple BenchmarkWith IPython, I tried several libraries:pyxDamerauLevenshteinpylevpython-LevenshteinOn Python 2.7.5:a='fsffvfdsbbdfvvdavavavavavava'b='fvdaabavvvvvadvdvavavadfsfsdafvvav'importpylevtimeitpylev.levenshtein(a,b)# 100 loops, best of 3: 7.48 ms per loopfrompyxdameraulevenshteinimportdamerau_levenshtein_distancetimeitdamerau_levenshtein_distance(a,b)# 100000 loops, best of 3: 11.4 µs per looptimeiteditdistance.eval(a,b)# my library# 100000 loops, best of 3: 3.5 µs per loopimportLevenshteintimeitLevenshtein.distance(a,b)# 100000 loops, best of 3: 3.21 µs per loopDistance with Any ObjectAbove libraries only support strings.
But Sometimes other type of objects such as list of strings(words).
I support any iterable, only requires hashable object of it:Levenshtein.distance(['spam','egg'],['spam','ham'])# ---------------------------------------------------------------------------# TypeError                                 Traceback (most recent call last)# <ipython-input-22-3e0b30d145ac> in <module>()# ----> 1 Levenshtein.distance(['spam', 'egg'], ['spam', 'ham'])## TypeError: distance expected two Strings or two Unicodeseditdistance.eval(['spam','egg'],['spam','ham'])# 1LSo if object's hash is same, it's same.
You can provide__hash__method to your object instances.Enjoy!LicenseIt is released under the MIT license.Copyright (c) 2013 Hiroyuki Tanaka

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.