{"id":13449250,"url":"https://github.com/pythad/nider","last_synced_at":"2025-04-07T07:09:22.874Z","repository":{"id":23225197,"uuid":"98471844","full_name":"pythad/nider","owner":"pythad","description":"Python package to add text to images, textures and different backgrounds","archived":false,"fork":false,"pushed_at":"2024-05-29T07:50:44.000Z","size":10474,"stargazers_count":148,"open_issues_count":12,"forks_count":18,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-29T20:31:52.488Z","etag":null,"topics":["image-processing","images","python","social-media"],"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/pythad.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-26T22:51:07.000Z","updated_at":"2024-06-05T02:34:43.246Z","dependencies_parsed_at":"2023-10-03T19:31:15.826Z","dependency_job_id":"a080c752-ab34-4301-bef9-3a0049ad19cc","html_url":"https://github.com/pythad/nider","commit_stats":{"total_commits":105,"total_committers":4,"mean_commits":26.25,"dds":0.5428571428571429,"last_synced_commit":"be71e09968559c5504c59158aa339136fb891fb4"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythad%2Fnider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythad%2Fnider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythad%2Fnider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythad%2Fnider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pythad","download_url":"https://codeload.github.com/pythad/nider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247608151,"owners_count":20965952,"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":["image-processing","images","python","social-media"],"created_at":"2024-07-31T06:00:34.365Z","updated_at":"2025-04-07T07:09:22.855Z","avatar_url":"https://github.com/pythad.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"=====\nnider\n=====\n\n.. image:: https://img.shields.io/travis/pythad/nider.svg\n        :target: https://travis-ci.org/pythad/nider\n        :alt: Travis build\n\n.. image:: https://img.shields.io/pypi/pyversions/nider.svg\n        :target: https://pypi.python.org/pypi/nider\n        :alt: Supported python versions\n\n.. image:: https://img.shields.io/pypi/v/nider.svg\n        :target: https://pypi.python.org/pypi/nider\n        :alt: PyPI version\n\n.. image:: https://readthedocs.org/projects/nider/badge/?version=latest\n        :target: https://nider.readthedocs.io/en/latest/?badge=latest\n        :alt: Documentation Status\n\n.. image:: https://pyup.io/repos/github/pythad/nider/shield.svg\n        :target: https://pyup.io/repos/github/pythad/nider/\n        :alt: Updates\n\n.. image:: https://img.shields.io/github/license/pythad/nider.svg\n        :target: https://pypi.python.org/pypi/nider\n        :alt: License\n\nPython package for text images generation and watermarking\n\n\n* Free software: MIT license\n* Documentation: https://nider.readthedocs.io.\n\n``nider`` is an approach to make generation of text images simple yet flexible. Creating of an image is as simple as describing units you want to be rendered to the image and choosing a method that will be used for drawing.\n\n************\nInstallation\n************\n\n.. code-block:: console\n\n    $ pip install nider\n\n*******\nExample\n*******\n\nCreating a simple image is as easy as\n\n.. code-block:: python\n\n    from nider.models import Header\n    from nider.models import Paragraph\n    from nider.models import Linkback\n    from nider.models import Content\n    from nider.models import Image\n\n    header = Header('Your super interesting title!')\n    para = Paragraph('Lorem ipsum dolor sit amet.')\n    linkback = Linkback('foo.com | @username')\n    content = Content(para, header, linkback, padding=60)\n\n    img = Image(content, fullpath='result.png')\n\n    img.draw_on_bg('#212121')\n\n***************\nFeatured images\n***************\n\nAll of the featured images were drawn using ``nider`` package. Code used to generate them can be found `here \u003chttps://github.com/pythad/nider/tree/master/examples\u003e`_.\n\n\nExample 1\n=========\n.. image:: https://github.com/pythad/nider/raw/master/examples/example1/result.png\n        :alt: example1\n\nExample 2\n=========\n.. image:: https://github.com/pythad/nider/raw/master/examples/example2/result.png\n        :alt: example2\n\nExample 3\n=========\n.. image:: https://github.com/pythad/nider/raw/master/examples/example3/result.png\n        :alt: example3\n\nExample 4\n=========\n.. image:: https://github.com/pythad/nider/raw/master/examples/example4/result.png\n        :alt: example4\n\nWatermark example 1\n===================\n.. image:: https://github.com/pythad/nider/raw/master/examples/add_watermark_example/result.jpg\n        :alt: add_watermark_example\n\nWatermark example 2\n===================\n.. image:: https://github.com/pythad/nider/raw/master/examples/draw_on_bg_with_watermark_example/result.png\n        :alt: draw_on_bg_with_watermark_example\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythad%2Fnider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythad%2Fnider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythad%2Fnider/lists"}