Saravanan666/pypi-org huggingface dataset:
Package: docdeid
docdeidInstallation-Getting started-Features-Documentation-Development and contributiong-Authors-LicenseCreate your own document de-identifier usingdocdeid, a simple framework independent of language or domain.Note thatdocdeidis still on version 0.x.x, and breaking changes might occur. If you plan to do extensive work involvingdocdeid, feel free to get in touch to coordinate.InstallationGrab the latest version from PyPi:pipinstalldocdeidGetting startedfromdocdeidimportDocDeidfromdocdeid.tokenizeimportWordBoundaryTokenizerfromdocdeid.processSingleTokenLookupAnnotator,RegexpAnnotator,SimpleRedactordeidentifier=DocDeid()deidentifier.tokenizers["default"]=WordBoundaryTokenizer()deidentifier.processors.add_processor("name_lookup",SingleTokenLookupAnnotator(lookup_values=["John","Mary"],tag="name"),)deidentifier.processors.add_processor("name_regexp",RegexpAnnotator(regexp_pattern=re.compile(r"[A-Z]\w+"),tag="name"),)deidentifier.processors.add_processor("redactor",SimpleRedactor())text="John loves Mary, but Mary loves William."doc=deidentifier.deidentify(text)Find the relevant info in theDocumentobject:print(doc.annotations)AnnotationSet({Annotation(text='John',start_char=0,end_char=4,tag='name',length=4),Annotation(text='Mary',start_char=11,end_char=15,tag='name',length=4),Annotation(text='Mary',start_char=21,end_char=25,tag='name',length=4),Annotation(text='William',start_char=32,end_char=39,tag='name',length=7)})print(doc.deidentified_text)'[NAME-1] loves [NAME-2], but [NAME-2] loves [NAME-3].'FeaturesAdditionally,docdeidfeatures:Ability to create your ownAnnotator,AnnotationProcessor,RedactorandTokenizercomponentsSome basic re-usable components included (e.g. regexp, token lookup, token patterns)Callable from one interface (DocDeid.deidenitfy())String processing and filteringFast lookup based on sets or triesAnything you add! PRs welcome.For a more in-depth tutorial, see:docs/tutorialDocumentationFor full documentation and API, see:https://docdeid.readthedocs.io/en/latest/Development and contributingFor setting up dev environment, see:docs/environmentFor contributing, see:docs/contributingAuthorsVincent Menger -Author, maintainerLicenseThis project is licensed under the MIT license - see theLICENSE.mdfile for details.
Package: docdetect1
docdetectSimple real-time detection of documents in images using Canny Edge Detection, Hough Transform and Depth First Search.InstallationTo install, usepiporeasy_install:$pipinstall--upgradedocdetect1or$easy_install--upgradedocdetect1InstructionsTBDExamplesProcess animage:importdocdetectrects=docdetect.process(image)image=docdetect.draw(rects,image)Process avideo:importcv2importdocdetect1video=cv2.VideoCapture(video_path)cv2.startWindowThread()cv2.namedWindow('output')whilevideo.isOpened():ret,frame=video.read()ifret:rects=docdetect1.process(frame)frame=docdetect1.draw(rects,frame)cv2.imshow('output',frame)cv2.waitKey(1)video.release()ResourcesFast and Accurate Document Detection for Scanning
Package: doc-dict
doc_dictInstallationgit clone git@github.com:Kel0/doc_dict.gitpip install doc-dictUsagefrom doc_dict.factory import Factory


documented_dict = Factory()

my_dict = {
    "first_name": "Mike",
    "first_name_doc": "It's name field",
    "last_name": "Anderson",
}

my_doc_dict = documented_dict.load(my_dict)

my_doc_dict["first_name"].value  # Get value of key
my_doc_dict["first_name"].doc  # Get doc of key


my_dict = {
    "first_name": "Mike",
    "last_name": "Anderson",
}
my_dict_doc = {
    "first_name": "It's name field",
}

my_doc_dict = documented_dict.load(my_dict, my_dict_doc)
my_doc_dict["first_name"].value  # Get value of key
my_doc_dict["first_name"].doc  # Get doc of key

serialized_doc_dict = documented_dict.serialize(my_doc_dict)Typesdoc_dict.datastructures.DocumentedValue

doc_dict.factory.Factory().load() -> Dict[str, DocumentedValue]

doc_dict.factory.Factory().serialize() -> str
Package: docdocdoc
DocdocdocA python library to template documentation from docstrings.InstallationYou can installdocdocdocwith pip with the following command:pip install docdocdocUsagebuildbuild_fnbuild_tocbuild_docsgenerate_readmepartsassembling_descriptionget_articleget_functionget_referencestemplate_paramstemplate_referencestemplate_returnbuildbuild_fnFunction returning the function or class documentation written in Markdown.Argumentsfnstr- str of the function or class name".Returnsstr- function or class documentation written in Markdown.build_tocFunction returning the table of content written in Markdown.Argumentsdatalist- list of dicts with the keys "title" and "fns". "title" contains the name of the section and "fns" contains the name of the functions in the section.Returnsstr- table of content written in Markdown.build_docsFunction returning the documentation written in Markdown.Argumentsdatalist- list of dicts with the keys "title" and "fns". "title" contains the name of the section and "fns" contains the name of the functions in the section.ReturnsStringIO- documentation written in Markdown.generate_readmeFunction printing readme.Argumentsdatalist- list of dicts with the keys "title" and "fns". "title" contains the name of the section and "fns" contains the name of the fonctions in the section.partsassembling_descriptionFunction returning the short description of the docstring,
aggregated with the long description.ArgumentsdocstringDocstringStyle.GOOGLE- a google docstring.Returnsstring- description of the docstring.get_articleFunction returning the article if the docstring has one, None otherwise.ArgumentsdocstringDocstringStyle.GOOGLE- a google docstring.Returnsstring- string containing the description of the article.get_functionFunction returning a dict with the different part for a function (or class)
documentation (i.e. name, description, article.).Argumentsfnfunction- a function you defined.Returnsdict- dict with the different part of the documentation.get_referencesFunction returning the references if the docstring has some, None otherwise.ArgumentsdocstringDocstringStyle.GOOGLE- a google docstring.Returnslist- list containing the strings with the references.template_paramsFunction returning templated arguments.Argumentsfn_docdict- a dict with the function documentation parts (returned by get_function).Returnsstring- templated arguments.template_referencesFunction returning templated references.Argumentsfn_docdict- a dict with the function documentation parts (returned by get_function).Returnsstring- templated references.template_returnFunction returning templated arguments.Argumentsfn_docdict- a dict with the function documentation parts (returned by get_function).Returnsstring- templated returns.
Package: docdown
Python DocDownPython DocDown is a suite of extensions forPython Markdown.DocumentationRunmake docsto build the HTML documentation for Python DocDownCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.4.0 (2021-07-22)Add the Media Carousels extension0.3.2 (2021-06-14)Address issues with Scoped Code Tabs extension0.3.1 (2021-04-20)Place a hard cap below 3.0 on Markdown to address compatibility issues0.3.0 (2021-04-19)Add Scoped Code Tabs Markdown Extension0.2.7 (2019-11-20)Fix case where ‘|||’ in a table started a sequence diagram.0.2.6 (2019-06-12)Fix block paragraph rendering with title0.2.5 (2019-06-12)Fix whitespace issues with back to back tags0.2.4 (2019-06-11)Fix whitespace issues with inline platform tags breaking markdown table formatting0.2.3 (2019-06-06)Add support for inline platform section tags0.2.2 (2019-06-05)Fix Platform Section Markdown Extension bug with spaces in platform section names0.2.1 (2019-05-31)Fix Platform Section Markdown Extension bug with code blocks0.2.0 (2019-05-29)Add Platform Section Markdown Extension0.1.2 (2016-12-16)Strip leading ./ from media urls when concatenating with a set media_url
in media and sequence diagram extensions.0.1.1 (2016-12-15)Fix the distribution so that template_adapters work0.1.0 (2016-12-13)First release on PyPI.
Package: docdump
DocDumpA package to extract text from common document typesDocDump aims to allow for raw text data and document metadata to be easily extracted from a
range of commonly used document types, such as Word, PDF, PowerPoint, Excel, txt. DocDump acts as
a wrapper for a number of existing packages:PyPDF2,openpyxl,python-docx,python-pptx.DocDump extracts all text as a single string, and does not preserve text structure. This makes
it a useful tool in a natural language processing or search pipeline.DocDump does not perform any preprocessing or normalisation of the extracted text.Getting StartedDocDump requires Python 3.7+InstallationpipinstalldocdumpUsagefromdocdumpimportdoc_readerdocument=doc_reader("sampleFile.docx")text_dump=document.textmetadata=document.metadatafiletype=document.filetypeabsolute_path=document.pathLicenseDistributed under the MIT License. SeeLICENSEfor more information.ContactGrant Holtes -gwholtes@gmail.comProject Link:https://github.com/Gholtes/docdump
Package: docedian
project_titleproject_descriptionExplore the docs »View Demo·Report Bug·Request FeatureTable of ContentsAbout The ProjectBuilt WithGetting StartedPrerequisitesInstallationUsageRoadmapContributingLicenseContactAcknowledgmentsAbout The ProjectPaquete de python para manejar la informacion de los anexos tecnicos de la DIAN en Colombia con respecto a Facturacion electronica y Nomina electronicaFacturacion electronicaNomina electronicaResolucion 000013 Anexo Tecnico Documento Soporte de Pago de Nomina Electronica Version 1.0(back to top)Built With(back to top)Getting StartedPrerequisitesInstallationGet a free API Key athttps://example.comClone the repogitclonehttps://github.com/github_username/repo_name.gitInstall NPM packagesnpminstallEnter your API inconfig.jsconstAPI_KEY="ENTER YOUR API";(back to top)UsageUse this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.For more examples, please refer to theDocumentation(back to top)Roadmap[] Feature 1[] Feature 2[] Feature 3[] Nested 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.txtfor more information.(back to top)ContactYour Name -@twitter_handle-email@email_client.comProject Link:https://github.com/github_username/repo_name(back to top)Acknowledgments(back to top)
Package: docfilter
Python Package: FilterThe Python packagefilteris used to detect and remove inappropriate information from text.Installationpip install filterFeaturesRegular expression filteringThis method is used to find and filter out specific string patterns, such as personal information like phone numbers or email addresses, or words and phrases related to profanity.Dictionary-based filteringThis method is used to filter out words that match with profanity or personal information already listed in a pre-built dictionary. While this method is quick to apply, it has the disadvantage of needing to be updated with new profanity or personal information.Machine learning-based filteringThis method uses a machine learning model to identify sentences related to profanity or personal information. While this method is more accurate than others, it requires a lot of time and resources to train the model.Special character removalThis method is used to remove special characters from strings that may contain personal information, such as phone numbers or email addresses. While this method is quick to apply, it may be difficult to handle exceptional cases.One or a combination of the above methods can be used to implement an appropriate filtering method depending on the requirements of the application, and it should be validated in terms of performance and security.
Package: docflow
Docflow is an implementation of document workflows in Python. A workflow
definesstatesandtransitions. A state is an “end point” associated with
a document. A transition is a path from one state to another state
(unidirectional). Docflow was inspired byrepoze.workflowbut aspires
to be a framework-independent implementation.0.3.3Bugfix: Instantiating a workflow would clobber the workflow class0.3.2Transition handlers can now connect multiple from/to statesNew: transition_from for specifying a transition in reverseNew: interactive transitions with form/validate/submit methodsPython 3 compatibilitySupport for multiple workflows per document class, with workflow names0.3.1Fixed distribution package on PyPI0.3States now remember the order in which they were defined, for UI purposesDocument sorting by workflow stateHelper method to list available transitionsSubclasses can now override workflow exceptions
(for framework-specific Forbidden handlers)0.2Workflows now have anapply_onclass method.0.1Initial version (alpha)
Package: docfly
Welcome todocflyDocumentationInstalldocflyis a utility tools to minimize your work usingsphinx-docFull document can be condHEREFeature:Automatic API Reference Doc Generation.Easy Table of Content directive Generation (.. toctree::).Installdocflyis released on PyPI, so all you need is:$pipinstalldocflyTo upgrade to latest version:$pipinstall--upgradedocfly
Package: doc-fzf
Doc-FZF: Modular CLI Documentation Fuzzy FinderFuzzy Search documentation from the CLI and open them in the browser.See it in action herehttps://terminalizer.com/view/2c3935cf1418DisclaimerThis tool was built to learnFZFcapabilities. Feel free to use it or extend it.Usagedoc-fzf ansible
doc-fzf ansible -q yumInstallationpip3 install doc-fzfVerify your installation:doc-fzf -husage:doc-fzf.py[-h][-qQUERY]module_name

doc-fzf.

positionalarguments:
module_nameNameofthemoduletosearch

optionalarguments:
-h,--helpshowthishelpmessageandexit-qQUERYQuerythedocsExtending Doc-FZFdoc-fzfis a modular application. It can load modules at runtime that scrap websites in any way you like.Any module should always contain:class name must always beScrapper(FZFDoc)self.documentation_urlattributedef get_documentation(self):function that must always return a tuple ("url", "description")fromdoc_fzf.pyfzfimportFZFDocclassScrapper(FZFDoc):def__init__(self):self.base_url="https://docs.python.org/3"self.documentation_url="{0}/py-modindex.html".format(self.base_url)FZFDoc.__init__(self,self.documentation_url)defget_documentation(self):""" Return a tuple of (url, description)"""docs=get_online_documentation()fordocindocs:yield(doc.url,doc.description)Here is theansible documentation exampleRoad MapModule definitionFZFDoc base classFile system cache layerLoad modules at runtimeReferencesDoc-FZF: Modular CLI Documentation Fuzzy Finderfzf, A command-line fuzzy finderiterfzf, Pythonic interface to fzf, a CLI fuzzy finder
Package: docgen
Docgen is a Python module that generates markdown documentation for Python code that adheres to Google’s style guide.Installpip install docgenUsage$ docgen -h
usage: docgen [-h] [-v] [package]

docgen v0.1.1

positional arguments:
  package        the name of the package in the current directory

optional arguments:
  -h, --help     show this help message and exit
  -v, --version  show program's version number and exit

Copyright (c) 2017, Justin Willis

$ docgen
Generating documentation for package docgen:

docgen.types
docgen.util

/home/bkvaluemeal/Documents/docgen/docsLicenseCopyright (c) 2017, Justin Willis

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Package: doc-gen
First, what Doc-Gen is not: it does not build documentation nor does it serve any
role in what you do after you write the documentation. In fact, it does what its
name says: it helps you write documentation.When I code, I often find it hard to write docstrings; these bits of inline documentation
make navigating around the file a hassle. To move all docstrings out of file yet still
have them remain recognizable to other libraries, that is the purpose of this library.How to use this libraryThis library has a shell script,doc, and a decorator,doc. Pretty easy to remember.
To use this library, you have to decorate the functions which you want withdoc, like so:# source.py@docdeffunction(x,y):return2*x+yThen, in the terminal, you should typedoc source.py, and you should see a prompt asking you
for a docstring forfunction.NoteThis library uses prompt_toolkit for many of its prompt-related actions. One thing to note is that
when asking for a docstring, the prompt expects multiline input (in reST; it syntax highlights!), so
to actually submit the docstring, you have to press Escape, then Enter.After that, drop into the shell and check out the docstring offunction:>>>importsource>>>source.function.__doc__'<whatever you wrote>'Sweet, isn’t it?
Package: docgenerator
Quick OverviewEnvExampleDefaultDescriptionTRAINS_PATH"./charts""./charts"Path where trains are storedIMAGE_PATH"./mirror""./mirror"Path where "mirror" is storedPORT_LIST_FILE"./default_port_list.md""./default_port_list.md"Name and path of the port list fileVOLUME_LIST_FILE"./volume_list.md""./volume_list.md"Name and path of the volume list fileDESCRIPTION_LIST_FILE"./description_list.md""./description_list.md"Name and path of the description list fileEXCLUDE_TRAINS"dev,games"""List of excluded trainsEXCLUDE_TRAINS"traefik,nextcloud"""List of excluded appsVERBOSE"False""True"Print Verbose OutputGENERATE_PORT_FILE"False""True"Set to false to NOT generate a fileGENERATE_VOLUME_FILE"False""True"Set to false to NOT generate a fileGENERATE_DESCRIPTION_FILE"False""True"Set to false to NOT generate a filePRINT_IMAGE_SOURCE"False""True"Set to false to NOT print the image sourceSPLIT_DESCRIPTION_EVERY7070Split description into lines every n character.If character is not " ", it will do on the nearest " "FALLBACK_URL"https://truecharts.org""https://truecharts.org"URL to return if the URL we are trying to get does not exist (eg, links forhome:)SORT_VOLUMES_BY_STATUS"False""True"Set to false to NOT generate a fileTRAIN_ORDER_FOR_FILES"core,stable""core,stable,dependency,games"Order of trains which will appear in the filesEnvironment Variables in depthTRAIN_ORDER_FOR_FILESThis ordered will be used, any trains not listed here and not excluded will be added automatically to the end. Any trains added to this list but not existing in file system will be ignored.SORT_VOLUMES_BY_STATUSVolumes make sense to order by app name, so each app has it's volumes one after the other. If we sort by status, (eg disabled etc), volumes will be all over the placeBoolean envsAnything other thanTrue,trueor1is consideredFalseHow to run thisInstallpipenvpip install pipenvInstall dependenciespipenv installActivate pipenv environmentpipenv shellRun itpython app.py
Package: docgetter
docgetterQuick Startdocgetter is a command line shortcut for opening Python documentation webpages:docsargparse
docs--pypidiscord.py
docs--readthedocsarray--searchDescriptionSuppose you're dutifully coding in your editor of choice and you have to look something upreally quick. You've probably already mastered the art of Alt-Tabbing, but the documentation is still clicks away, not to mention that if it's not already open, you have to search on Google andactually use the mouseto open links (shudders). However, you always have a terminal open, so your hands never leave the keyboard.This program currently supports three documentation websites:docs.python.orgfor the Python standard library.↓PyPIproject homepages for packages available on PyPI.↓readthedocs.iohomepages for projects that host their documentation on readthedocs.io.↓InstallationWindowsUnix/MacOSpy -m pip install docgetterpython3 -m pip install docgetterThere are no dependencies, just pure standard library! It is OS-independent, but browser behavior may vary depending on your browser of choice as determined by the underlyingwebbrowsermodule.Usage$docs--helpusage: docgetter [-h] [-p | -r] [-v] [-s] nameOpen the documentation page for a module or package.positional arguments:name               name of the module/package; treated by default as aPython standard library module - use the -p/-r flags tospecify alternate documentation sitesoptional arguments:-h, --help         show this help message and exit-p, --pypi         open the PyPI homepage for this package-r, --readthedocs  open the readthedocs.io page for this package-v, --version      show program's version number and exit-s, --search       whether to use the site's search function instead ofattempting to directly load a URLBy default, the supplied name is interpreted as a Python standard library module/package. You can use the-p/--pypior-r/--readthedocsflag to specify that the name refers to a PyPI project or readthedocs.io homepage respectively instead.You can also add the global-s/--searchflag with any of these methods to specify using the site's search engine instead of attempting to directly load a URL.ExamplesPython Standard Librarydocspathlib# Directly load pathlib's docs pagedocs-spath# Search for "path" on docs.python.orgPyPI Project Homepagedocs-pnumpy# Directly load numpy's PyPI homepagedocs--pypipandas# Directly load pandas' PyPI homepagedocs-psspotify# Search "spotify" on pypi.orgreadthedocs.io Project Homepagedocs-rselenium-python# Directly load selenium's docs pagedocs--readthedocsrich# Directly load rich's docs pagedocs-rsyoutube# Search "youtube" on readthedocs.ioThis tool is very simple, but I made it because it provides a shortcut to something I find myself doing very often as someone constantly bouncing between doc pages. I hope someone else finds it useful too!
Package: docgpt
Timeline of Events:https://irantimelines.com/Read wiki:https://en.wikipedia.org/wiki/Mahsa_Amini_protestsOr watch YouTube:https://www.youtube.com/watch?v=wZpkmUx4RFcBut, please don't scroll passed this.Innocent lives need your voice.Start by following#MahsaAminion Twitter.DocGPTDocGPT (docgpt) is a CLI tool that
automatically generates documentation for code.:point_right:
All the in-code documentation ofdocgptproject are generated withdocgpt!
So meta!
:point_left:InstallationpipinstalldocgptAPI KeyDocGPT depends on the GPT3 model, hence the name, trained and served by OpenAI.Register for an account and get your API key here:https://openai.com/api/CheckOpenAI's Pricingand use it responsibly
(roughly speaking, auto-documenting 4 pages of code withdocgptcosts $0.05 USD).Set theOPENAI_API_KEYenvironment variable, or specify via--api_keyflag. The key will get
cached in~/.docgptfor future use.Usage# conventional usedocgpt<source>--target<target># pipedcat<source>|docgpt--target<target># overwritedocgpt<source>--overwriteTo see available options trydocgpt --helpContributingDocGPT is GNU GPL licensed and we intend to keep it purely open-source.
We welcome contributions to docgpt. Your forks and pull-requests are always welcome.To open a feature request or report a bug, please open an issuehere.CauseDocGPT is open-sourced as part of the global action in solidarity with Iranians who are courageously
demonstrating peacefully for their human rights.