{"id":48561273,"url":"https://github.com/tducret/bibliotheque-toulouse-python","last_synced_at":"2026-04-08T12:19:04.898Z","repository":{"id":57414924,"uuid":"79845483","full_name":"tducret/bibliotheque-toulouse-python","owner":"tducret","description":"Ce package Python permet d'interroger très simplement le catalogue des bibliothèques de Toulouse.","archived":false,"fork":false,"pushed_at":"2017-03-05T22:22:48.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T09:40:55.993Z","etag":null,"topics":["bibliotheque","bibliotheque-toulouse","toulouse"],"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/tducret.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":"2017-01-23T20:37:23.000Z","updated_at":"2020-02-24T10:17:48.000Z","dependencies_parsed_at":"2022-08-30T05:41:59.633Z","dependency_job_id":null,"html_url":"https://github.com/tducret/bibliotheque-toulouse-python","commit_stats":null,"previous_names":["thibdct/bibliotheque-toulouse-python"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/tducret/bibliotheque-toulouse-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tducret%2Fbibliotheque-toulouse-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tducret%2Fbibliotheque-toulouse-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tducret%2Fbibliotheque-toulouse-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tducret%2Fbibliotheque-toulouse-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tducret","download_url":"https://codeload.github.com/tducret/bibliotheque-toulouse-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tducret%2Fbibliotheque-toulouse-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31555049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bibliotheque","bibliotheque-toulouse","toulouse"],"created_at":"2026-04-08T12:19:04.157Z","updated_at":"2026-04-08T12:19:04.833Z","avatar_url":"https://github.com/tducret.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"bibliothequetoulouse\n=======\n\n[![Build Status](https://travis-ci.org/thibdct/bibliotheque-toulouse-python.svg?branch=master)](https://travis-ci.org/thibdct/bibliotheque-toulouse-python)\n[![Coverage Status](https://coveralls.io/repos/github/thibdct/bibliotheque-toulouse-python/badge.svg)](https://coveralls.io/github/thibdct/bibliotheque-toulouse-python)\n![License](https://img.shields.io/badge/license-MIT-lightgray.svg) \n\nDescription\n=======\n\nCe package permet d'interroger très simplement le catalogue des [bibliothèques de Toulouse](http://bibliotheque.toulouse.fr).\n \nPré-requis\n=======\n\n - Python 2.7 ou 3.6\n\nInstallation\n=======\n\n    $ pip install -U bibliothequetoulouse\n\nUtilisation\n=======\n\n* Pour récupérer les informations sur les exemplaires **disponibles** d'un livre dans toutes les bibliothèques de Toulouse, et de les afficher au format JSON\n\n```python\n# -*- coding: utf-8 -*-\nimport bibliothequetoulouse as bib\n\nresultats = bib.rechercher(titre=u\"le meilleur des mondes\",\n                           auteur=u\"aldous huxley\",\n                           dispo_uniquement=True)\n\nprint(\"%d resultat(s)\" % len(resultats))\nprint(resultats)\n```\n\nCe qui renverra ce type de résultats :\n\n```\n[\n    {\n        \"auteur\": \"Aldous Huxley\", \n        \"bibliotheque\": \"Ancely\", \n        \"cote\": \"TE F HUX\", \n        \"dispo\": true, \n        \"isbn\": \"\", \n        \"localisation\": \"Textes enregistrés\", \n        \"materiel\": \"Texte imprimé pour tout public\", \n        \"pertinence\": 1.0, \n        \"retour_attendu\": \"\", \n        \"titre\": \"Le meilleur des mondes\", \n        \"url_permanent\": \"http://catalogues.toulouse.fr/web2/tramp2.exe/do_keyword_search/log_in?setting_key=BMT1\u0026servers=1home\u0026query=ELC2608081\u0026screen=hitlist.html\"\n    }, \n    {\n        \"auteur\": \"Aldous Huxley\", \n        \"bibliotheque\": \"Médiathèque José Cabanis\", \n        \"cote\": \"F HUXL\", \n        \"dispo\": true, \n        \"isbn\": \"\", \n        \"localisation\": \"Etage 2 - Littératures : Textes enregistrés\", \n        \"materiel\": \"Texte imprimé pour tout public\", \n        \"pertinence\": 1.0, \n        \"retour_attendu\": \"\", \n        \"titre\": \"Le meilleur des mondes\", \n        \"url_permanent\": \"http://catalogues.toulouse.fr/web2/tramp2.exe/do_keyword_search/log_in?setting_key=BMT1\u0026servers=1home\u0026query=ELC2608081\u0026screen=hitlist.html\"\n    }\n]\n```\n\n* Pour récupérer les informations sur tous les exemplaires du même livre à la **Médiathèque José Cabanis** (disponibles à l'emprunt ou non) :\n\n```python\n# -*- coding: utf-8 -*-\nimport bibliothequetoulouse as bib\n\nresultats = bib.rechercher(titre=u\"le meilleur des mondes\",\n                           auteur=u\"aldous huxley\",\n                           bibli_souhaitees=[u'Médiathèque José Cabanis'])\n\nfor res in resultats:\n    print(\"Cote : %s / Localisation : %s\" % (res.cote, res.localisation))\n```\n\nCe qui renverra par exemple :\n\n```\nCote : F HUXL / Localisation : Etage 2 - Littératures : Textes enregistrés\nCote : TE HUXL / Localisation : Prêté\nCote : F HUXL / Localisation : Réserve pôle Littérature\nCote : F HUXL / Localisation : Prêté\nCote : RTF HUXL / Localisation : Prêté\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftducret%2Fbibliotheque-toulouse-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftducret%2Fbibliotheque-toulouse-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftducret%2Fbibliotheque-toulouse-python/lists"}