{"id":21385164,"url":"https://github.com/spoqa/sqlalchemy-enum-list","last_synced_at":"2025-07-13T14:31:56.661Z","repository":{"id":57470455,"uuid":"67335671","full_name":"spoqa/sqlalchemy-enum-list","owner":"spoqa","description":"Store list of enum member. https://pypi.python.org/pypi/SQLAlchemy-Enum-List","archived":false,"fork":false,"pushed_at":"2016-09-16T09:27:36.000Z","size":5,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-05-28T07:48:57.231Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spoqa.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":"2016-09-04T09:08:36.000Z","updated_at":"2021-01-02T08:32:50.000Z","dependencies_parsed_at":"2022-09-19T10:22:19.548Z","dependency_job_id":null,"html_url":"https://github.com/spoqa/sqlalchemy-enum-list","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/spoqa/sqlalchemy-enum-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spoqa%2Fsqlalchemy-enum-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spoqa%2Fsqlalchemy-enum-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spoqa%2Fsqlalchemy-enum-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spoqa%2Fsqlalchemy-enum-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spoqa","download_url":"https://codeload.github.com/spoqa/sqlalchemy-enum-list/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spoqa%2Fsqlalchemy-enum-list/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265155783,"owners_count":23719588,"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-22T11:45:24.310Z","updated_at":"2025-07-13T14:31:56.425Z","avatar_url":"https://github.com/spoqa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"SQAlchemy Enum List\n~~~~~~~~~~~~~~~~~~~\n\nStore list of enum member as unicode string. it works list of python on\npython-side \u0026 stored unicode text in database. To store scalar values like\ninteger, float read about ScalarListType_ in SQLAlchemy-Utils_\n\n.. _ScalarListType: https://sqlalchemy-utils.readthedocs.io/en/latest/data_types.html#module-sqlalchemy_utils.types.scalar_list\n.. _SQLAlchemy-Utils: https://github.com/kvesteri/sqlalchemy-utils\n\n\nGetting started\n===============\n\n.. code-block:: python\n\n   import enum\n\n   from sqlalchemy.schma import Column\n   from sqlalchemy_enum_list import EnumListType\n\n   class Genre(enum.Enum):\n\n       pop = 1\n\n       soul = 2\n\n       jazz = 3\n\n\n   class Song(Base):\n\n       genre = Column(EnumListType(Genre, int))\n\n   song = Song(genre=[Genre.soul, Genre.jazz])\n\n\nChangelogs\n==========\n\n\n0.1.1\n*****\n\n* Added ``sqlalchemy_enum_list.EnumSetType``\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspoqa%2Fsqlalchemy-enum-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspoqa%2Fsqlalchemy-enum-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspoqa%2Fsqlalchemy-enum-list/lists"}