{"id":18365493,"url":"https://github.com/altvod/classical","last_synced_at":"2025-08-16T17:07:44.034Z","repository":{"id":62562455,"uuid":"84258358","full_name":"altvod/classical","owner":"altvod","description":"Convenience tools for working with Python classes","archived":false,"fork":false,"pushed_at":"2021-11-04T11:47:54.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-14T23:49:32.802Z","etag":null,"topics":["class-tools","dataclasses","descriptors","fields","python","python3"],"latest_commit_sha":null,"homepage":"","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/altvod.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}},"created_at":"2017-03-07T23:57:43.000Z","updated_at":"2021-11-05T09:38:37.000Z","dependencies_parsed_at":"2022-11-03T15:30:37.893Z","dependency_job_id":null,"html_url":"https://github.com/altvod/classical","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/altvod/classical","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altvod%2Fclassical","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altvod%2Fclassical/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altvod%2Fclassical/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altvod%2Fclassical/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/altvod","download_url":"https://codeload.github.com/altvod/classical/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altvod%2Fclassical/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270742043,"owners_count":24637504,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["class-tools","dataclasses","descriptors","fields","python","python3"],"created_at":"2024-11-05T23:13:48.505Z","updated_at":"2025-08-16T17:07:44.011Z","avatar_url":"https://github.com/altvod.png","language":"Python","readme":"=========\nclassical\n=========\n\nConvenience tools for working with Python classes.\n\nSimplified subclassing:\n\n.. code-block:: python\n\n    from classical import argumented_subclass\n\n    class MyClass:\n        def __init__(self, *args, **kwargs):\n            pass  # do whatever\n\n    # subclass with presets\n    MySubClass = argumented_subclass(MyClass, 'MySubClass', arg1='value', arg2=4)\n\nVarious descriptors:\n\n.. code-block:: python\n\n    from classical import ArgumentedSubclass, AutoProperty\n\n    class Thing:\n        Red = ArgumentedSubclass(color='red')\n        book = AutoProperty(has='pages')\n        def __init__(self, color: str = None, has: str = None):\n            self.color = color\n            self.has = has\n\n    Thing.Red  # is a subclass of Thing and is 'red'\n    Thing.Red.book  # is an instance of Thing (and Thing.Red), is 'red' and has 'pages'\n\n\nSee the full documentation at http://classical.readthedocs.io/en/latest/\n\n\nInstallation\n~~~~~~~~~~~~\n\n.. code-block:: bash\n\n    pip install classical\n\n\nTesting\n~~~~~~~\n\n.. code-block:: bash\n\n    make test\n\nYou may need to install ``[fielded,testing]`` extras to run tests\n\n\nGenerating docs\n~~~~~~~~~~~~~~~\n\n.. code-block:: bash\n\n    make docs\n\nYou may need to install ``[fielded,docs]`` extras to generate docs\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltvod%2Fclassical","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faltvod%2Fclassical","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltvod%2Fclassical/lists"}