{"id":19574596,"url":"https://github.com/rafpyprog/rstwriter","last_synced_at":"2026-05-16T07:45:05.966Z","repository":{"id":57463040,"uuid":"78844437","full_name":"rafpyprog/rstwriter","owner":"rafpyprog","description":"Report writing for Pandas using reStructuredTex","archived":false,"fork":false,"pushed_at":"2017-01-24T13:47:11.000Z","size":64,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T17:37:31.600Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rafpyprog.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-13T11:41:57.000Z","updated_at":"2017-01-19T14:41:03.000Z","dependencies_parsed_at":"2022-09-12T13:22:23.804Z","dependency_job_id":null,"html_url":"https://github.com/rafpyprog/rstwriter","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafpyprog%2Frstwriter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafpyprog%2Frstwriter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafpyprog%2Frstwriter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafpyprog%2Frstwriter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafpyprog","download_url":"https://codeload.github.com/rafpyprog/rstwriter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240840104,"owners_count":19866168,"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-11-11T06:42:48.488Z","updated_at":"2026-05-16T07:45:00.929Z","avatar_url":"https://github.com/rafpyprog.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"RstWriter\n=========\nReport writing for Pandas using reStructuredTex\n\n.. image:: https://travis-ci.org/rafpyprog/rstwriter.svg?branch=master\n  :target: https://travis-ci.org/rafpyprog/rstwriter\n\n.. image:: https://codecov.io/gh/rafpyprog/rstwriter/branch/master/graph/badge.svg\n  :target: https://codecov.io/gh/rafpyprog/rstwriter\n\n \n\n\nInstalling\n----------\npip install rstwriter\n\nUsage\n----- \n.. code:: python\n\n    import pandas as pd\n    from rstwriter import RstWriter\n\n\n    report = RstWriter('sales.rst')\n    report.header('open')\n    report.paragraph('Some text in the header')\n    report.header('close')\n    report.title('h1', 'Awesome Report')\n    report.paragraph('Amazing text. Really cool.')\n    report.title('h2', 'Cool content')\n\n    # Include a CSS file.\n    report.css = 'ourstyles.css'`\n\n    # use classes from the added css to style paragraphs.\n    report.paragraph('I hope this is blue', style='blue-text')\n\n    # reads a DataFrame and includes in the document as a table.\n    data = pd.read_csv('sales.csv')\n    report.table(data)\n\n    # publish you report to sales.html.\n    report.publish('html')\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafpyprog%2Frstwriter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafpyprog%2Frstwriter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafpyprog%2Frstwriter/lists"}