Skip to main content

Text2Html


To Translate text document to html document, Easy to use no code needed Just pass given argument into terminal or command prompt Give input document as text document

Use


For more information on how to use or additional options, type '--help'.

Usage: python -m texttohtml.convert [FILE PATH] [-OPTIONS] [-OUTPUT FILE PATH]

    -o		On success, instead of writing to stdout, write to a file.
    -t		Adds the <!DOCTYPE html> header to the generated code.
    -d		[DEBUG] Each cycle the processor prints information about
		Html structure and file reader.

Example:

python -m text2html.text2html elaa.txt -o elaa.html

title:

Ex:

txt:

@title Title of your web page;

Where @title indicates to apply style and ; indicates the end of style

output:
<title>Title of your web page</title>

charset:

@charset utf-8;

lang:

@lang en;

	To choose the language which you want to show

description:

@description

	To Describe the page using this style

keywords:

@keywords 

	To assign keywords easily top of search engine

author:

@author

	Author of the page

h1:

@h1 
	Heading Style 1

h2:

@h2 
	Heading Style 2

h3:

@h3 
	Heading Style 3

h4:

@h4 
	Heading Style 4
h5:
@h5 
	Heading Style 5
h6:
@h6 
	Heading Style 6

p:

@p
	Paragraph style

pre:

@pre

code:

@code

hr:

@hr

stylesheet:

@stylesheet

span:

@span

strong:

@strong

em:

@em

img:

@img

a:

@a

youtube:

@youtube

Metadata

Release files for texttohtml 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for texttohtml 1.0
File Size Uploaded Provenance Actions
texttohtml-1.0.tar.gz 7.2 kB Without provenance Details for texttohtml-1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for texttohtml 1.0
File Interpreter ABI Platform Actions
texttohtml-1.0-py3-none-any.whl Python 3 none any Details for texttohtml-1.0-py3-none-any.whl

Total release size: 15.9 kB

Release files / texttohtml-1.0.tar.gz

Download URL texttohtml-1.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
aedb19870b75591226ebf7b0312715015f1c5b214514e3c27f6cff0091632dd2
BLAKE2b-256 checksum
How to use checksums
5b298aef2b6bec48ce89d5b34b69fc4424bcb8588c3b2095babe531d89b7503a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1

Release files / texttohtml-1.0-py3-none-any.whl

Download URL texttohtml-1.0-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1b8613e35e0baf417355ea9433c13903977485d4a76f9ccb5d01fa8e298a349
BLAKE2b-256 checksum
How to use checksums
28da1fa67c9b8cd4dabe7a80190281ff8daf39c9f20b2731710526f6aa8682c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1

Security for texttohtml 1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page