{"id":21561472,"url":"https://github.com/phpdude/attune-python","last_synced_at":"2025-03-18T04:42:57.195Z","repository":{"id":138193557,"uuid":"49733536","full_name":"phpdude/attune-python","owner":"phpdude","description":"Attune (http://attune.co/) REST python client","archived":false,"fork":false,"pushed_at":"2016-02-02T02:51:54.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T11:25:53.124Z","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/phpdude.png","metadata":{"files":{"readme":"README.md","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":"2016-01-15T17:18:18.000Z","updated_at":"2016-01-15T17:21:01.000Z","dependencies_parsed_at":"2023-04-24T16:17:37.982Z","dependency_job_id":null,"html_url":"https://github.com/phpdude/attune-python","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/phpdude%2Fattune-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpdude%2Fattune-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpdude%2Fattune-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpdude%2Fattune-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpdude","download_url":"https://codeload.github.com/phpdude/attune-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244159964,"owners_count":20408017,"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-24T09:23:06.205Z","updated_at":"2025-03-18T04:42:57.173Z","avatar_url":"https://github.com/phpdude.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"attune-python\n==========\n\nAttune (http://attune.co/) api client for python.\n\n\nWhat is Attune?\n----------------\n\nAttune instantly and automatically optimizes the presentation of your catalog items and marketing content.\n\nEach visitor sees a site that is built uniquely for them every time.\n\nMore information at http://attune.co/.\n\n\nFeatures\n--------\n\nLibrary supports synchronous and asynchronous api calls to attune.co executed in configurable thread poll \nexecutor with circuit breaker and auto-retries on errors. \n\n\nRequirements\n------------\n\nIt depends on:\n\n* [requests](https://pypi.python.org/pypi/requests/) - Python HTTP for Humans.\n* [six](https://pypi.python.org/pypi/six/) - Six is a Python 2 and 3 compatibility library.\n* [certifi](https://pypi.python.org/pypi/certifi/) - Python package for providing Mozilla's CA Bundle.\n* [python-dateutil](https://pypi.python.org/pypi/python-dateutil/) - Extensions to the standard Python datetime module.\n* [pybreaker](https://pypi.python.org/pypi/pybreaker/) - Python implementation of the Circuit Breaker pattern.\n\n\nInstallation\n------------\n\nTo install, simply:\n\n```\npip install attune-python\n```\n\n\nTests\n-----\n\n```\npython setup.py test\n```\n\nIf you want run tests - don't forget to use source code cloned version.\n\nHello world\n-----------\n\nLibrary supports one Configuration object cross all created clients (Singleton pattern), but you can pass \nyour custom settings project to init function of client object.\n\n```python\nfrom attune.client.client import Client\nfrom attune.client.configuration import Settings\n\nconfig = Settings()\nclient = Client(config)\n\ntoken = client.get_auth_token('#user#', '#key#')\n```\n\nMore exampels you can check in tests folder. A lot of api usage examples placed at tests/api.py.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpdude%2Fattune-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpdude%2Fattune-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpdude%2Fattune-python/lists"}