{"id":25432894,"url":"https://github.com/marceloquesada/rpyservo","last_synced_at":"2026-04-10T22:43:17.620Z","repository":{"id":57462916,"uuid":"375133990","full_name":"marceloquesada/RpyServo","owner":"marceloquesada","description":"Simple python interface for working with servos in a Raspberry Pi","archived":false,"fork":false,"pushed_at":"2021-06-11T21:33:40.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T07:48:05.988Z","etag":null,"topics":["opencv","pigpio","pigpiod","python","python3","raspberry-pi","raspberrypi","servos"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marceloquesada.png","metadata":{"files":{"readme":"README.md","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":"2021-06-08T20:17:38.000Z","updated_at":"2021-06-11T21:37:24.000Z","dependencies_parsed_at":"2022-09-05T17:22:24.564Z","dependency_job_id":null,"html_url":"https://github.com/marceloquesada/RpyServo","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceloquesada%2FRpyServo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceloquesada%2FRpyServo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceloquesada%2FRpyServo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceloquesada%2FRpyServo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marceloquesada","download_url":"https://codeload.github.com/marceloquesada/RpyServo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254195242,"owners_count":22030479,"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":["opencv","pigpio","pigpiod","python","python3","raspberry-pi","raspberrypi","servos"],"created_at":"2025-02-17T05:17:09.371Z","updated_at":"2026-04-10T22:43:17.568Z","avatar_url":"https://github.com/marceloquesada.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RPyServo\n\n## Installation\n\nTo install the package, simply run:\n\u003cpre\u003e$ pip install RpyServo \u003c/pre\u003e\n\nNow, pigpio is required for this package, if it does not install automatically along with the package, simply run:\n\u003cpre\u003e$ pip install pigpio \u003c/pre\u003e\n\n## Description\n\nA Python library to simplify the use of servos in RaspberryPi.\n\nThis inferface was created to simplify the pigpio interace, it is quite simple at the moment, but it manages the pigpio initialization and fixes the arbitrary servo angles of 500-2500 to 0-1000.\n\nThis is still a work in progress, so feel free to contribute!\n\n## Use\n\nTo import the library use:\n\n\u003cpre\u003eimport RpyServo\u003c/pre\u003e\n\n### Servo_motor class:\n\nThe only class in the project currently is the \u003cprep\u003eServo_motor()\u003c/prep\u003e class, below there is an example of the Servo_motor() initialization:\n\n\u003cpre\u003emy_servo = RpyServo.Servo_motor([servo gpio port])\u003c/pre\u003e\n\n##### set_angle:\n\nThis functions sets the angle of the servo, the angles go from 0 to 1000, being 0 the angle 0 and 1000 the angle 180. This is an example of how to use this function:\n\n\u003cpre\u003emy_servo.set_angle([Desired angle])\u003c/pre\u003e\n\n##### get_angle:\n\nThis function reads the angle from the servo, being 1000 the angle 180 and 0 being 0. This is an example of how to use this function:\n\n\u003cpre\u003eangle = my_servo.get_angle()\u003c/pre\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarceloquesada%2Frpyservo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarceloquesada%2Frpyservo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarceloquesada%2Frpyservo/lists"}