{"id":18029355,"url":"https://github.com/dharmit/pyhtml","last_synced_at":"2025-04-04T21:12:31.074Z","repository":{"id":4338231,"uuid":"5473968","full_name":"dharmit/pyHtml","owner":"dharmit","description":"Generate html using Python","archived":false,"fork":false,"pushed_at":"2012-08-28T07:23:51.000Z","size":128,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T05:29:15.839Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dharmit.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-19T20:18:16.000Z","updated_at":"2024-01-17T18:19:57.000Z","dependencies_parsed_at":"2022-09-20T23:03:38.964Z","dependency_job_id":null,"html_url":"https://github.com/dharmit/pyHtml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmit%2FpyHtml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmit%2FpyHtml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmit%2FpyHtml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmit%2FpyHtml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dharmit","download_url":"https://codeload.github.com/dharmit/pyHtml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249545,"owners_count":20908212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T09:08:57.251Z","updated_at":"2025-04-04T21:12:31.057Z","avatar_url":"https://github.com/dharmit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"pyHtml\n======\n\nThis module is used to generate html using Python. Currently there is very\nlimited functionlaity being provided by this module. The functionality \nimplemented so far can be summed up as :\n\n* Creating an instance of the class will automatically create a file on the \ndisk with the name passed to the pyhtml() function. If no name is passed, \nfile with the name \"My Web Page\" will be created. Planning to make the \nfilename compulsory because if the user doesn't pass any value to pyHtml() \nfunction for two instances, the resultant \"My Web Page\" file becomse a mess.\n\n* The functions implemented are \n\n    - html          : This is called by the __init__ method. It initializes\n                      the tags that are almost always used in an html page.\n    - external_css  : Lets you provide an external CSS file to the html page.\n    - internal_css  : Lets you create custom CSS for the html page.\n    - a             : Lets you create an anchor tag.\n    - hr            : Lets you generate a horizontal ruler bar.\n    - br            : Inserts a single line break in the html file.\n    - comment       : Lets you add a comment to an html page.\n    - printOut      : Lets you print the resulting html file.\n\n* Usage : Import the pyHtml module in a script and use it as per the\ndocumenation.\n\nA lot of improvements need to be made to the code yet. Areas of improvement :\n\n* Instead of using mmap each time a function is called and seeking to the\nposition where we want to insert, we can create a variable called say, insert,\nand keep a track of the position. This should speed up the operation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdharmit%2Fpyhtml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdharmit%2Fpyhtml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdharmit%2Fpyhtml/lists"}