{"id":21013412,"url":"https://github.com/heavenshell/py-pixela","last_synced_at":"2025-05-15T04:34:19.638Z","repository":{"id":33173103,"uuid":"154013085","full_name":"heavenshell/py-pixela","owner":"heavenshell","description":"Pixela API client for Python.","archived":false,"fork":false,"pushed_at":"2024-03-29T01:54:19.000Z","size":73,"stargazers_count":5,"open_issues_count":5,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-26T22:01:53.327Z","etag":null,"topics":["pixela","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heavenshell.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"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":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-21T13:46:57.000Z","updated_at":"2024-06-16T02:56:48.537Z","dependencies_parsed_at":"2023-01-14T23:46:49.412Z","dependency_job_id":"404c1cf4-5fa4-4fb0-ac12-69f30166cc36","html_url":"https://github.com/heavenshell/py-pixela","commit_stats":{"total_commits":81,"total_committers":4,"mean_commits":20.25,"dds":0.3827160493827161,"last_synced_commit":"e82e2d5e8a19a28b4b9794644935f4a6058877c7"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heavenshell%2Fpy-pixela","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heavenshell%2Fpy-pixela/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heavenshell%2Fpy-pixela/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heavenshell%2Fpy-pixela/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heavenshell","download_url":"https://codeload.github.com/heavenshell/py-pixela/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225328911,"owners_count":17457326,"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":["pixela","python"],"created_at":"2024-11-19T09:42:18.772Z","updated_at":"2024-11-19T09:42:19.288Z","avatar_url":"https://github.com/heavenshell.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Pixela\n======\n\n.. image:: https://github.com/heavenshell/py-pixela/workflows/build/badge.svg\n    :target: https://github.com/heavenshell/py-pixela/actions\n.. image:: https://pyup.io/repos/github/heavenshell/py-pixela/shield.svg\n     :target: https://pyup.io/repos/github/heavenshell/py-pixela/\n     :alt: Updates\n.. image:: https://pyup.io/repos/github/heavenshell/py-pixela/python-3-shield.svg\n     :target: https://pyup.io/repos/github/heavenshell/py-pixela/\n     :alt: Python 3\n\n`Pixela \u003chttps://pixe.la/\u003e`_ API client for Python.\n\nInstallation\n------------\n\n::\n\n  $ virtualenv --distribute pixela_sample\n  $ source pixela_sample/bin/activate\n  $ cd pixela_sample\n  $ pip install pixela\n\nUsage\n-----\n\n::\n\n  from pixela import Pixela\n\n  client = Pixela(username='YOUR_NAME', token='YOUR_NAME')\n\n  # register\n  client.create_user(agree_terms_of_service=True, not_minor=True)\n\n  # create graph\n  client.create_graph(\n      graph_id='test-graph',\n      name='graph-name',\n      unit='commit',\n      type='int',\n      color='shibafu',\n      timezone='Asia/Tokyo',\n  )\n\n  # register value\n  from datetime import datetime\n\n  date = datetime.strptime('2018-10-21', '%Y-%m-%d')\n  res = self.client.create_pixel(graph_id='py-pixela', quantity=5, date=date)\n\nLICENSE\n=======\nNEW BSD LICENSE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheavenshell%2Fpy-pixela","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheavenshell%2Fpy-pixela","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheavenshell%2Fpy-pixela/lists"}