{"id":48561310,"url":"https://github.com/tducret/allocine-python","last_synced_at":"2026-04-08T12:19:19.031Z","repository":{"id":57409846,"uuid":"161285455","full_name":"tducret/allocine-python","owner":"tducret","description":"Non official Python wrapper for allocine.fr","archived":false,"fork":false,"pushed_at":"2023-05-22T21:51:09.000Z","size":482,"stargazers_count":14,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-21T17:59:35.743Z","etag":null,"topics":["allocine","cinema","python","scraper","showtimes"],"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","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-12-11T06:07:18.000Z","updated_at":"2025-08-13T15:09:50.000Z","dependencies_parsed_at":"2023-09-28T04:08:42.602Z","dependency_job_id":null,"html_url":"https://github.com/tducret/allocine-python","commit_stats":{"total_commits":79,"total_committers":1,"mean_commits":79.0,"dds":0.0,"last_synced_commit":"a41f2dc625e856fc96f25f52c507ef053750c5a3"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/tducret/allocine-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tducret%2Fallocine-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tducret%2Fallocine-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tducret%2Fallocine-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tducret%2Fallocine-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tducret","download_url":"https://codeload.github.com/tducret/allocine-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tducret%2Fallocine-python/sbom","scorecard":{"id":871209,"data":{"date":"2025-08-11","repo":{"name":"github.com/tducret/allocine-python","commit":"a41f2dc625e856fc96f25f52c507ef053750c5a3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:12: pin your Docker image by updating gcr.io/distroless/python3-debian10 to gcr.io/distroless/python3-debian10@sha256:b0041237ec3b3009275c1e0698fd7339940f2736d3359874da71bebd0878ed0a","Warn: pipCommand not pinned by hash: Dockerfile:9-10","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T04:16:26.350Z","repository_id":57409846,"created_at":"2025-08-24T04:16:26.351Z","updated_at":"2025-08-24T04:16:26.351Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31555061,"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":["allocine","cinema","python","scraper","showtimes"],"created_at":"2026-04-08T12:19:18.260Z","updated_at":"2026-04-08T12:19:19.021Z","avatar_url":"https://github.com/tducret.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Allociné\n\n[![Travis](https://img.shields.io/travis/tducret/allocine-python.svg)](https://travis-ci.org/tducret/allocine-python)\n[![Coveralls github](https://img.shields.io/coveralls/github/tducret/allocine-python.svg)](https://coveralls.io/github/tducret/allocine-python)\n[![PyPI](https://img.shields.io/pypi/v/allocine.svg)](https://pypi.org/project/allocine/)\n[![Docker Image size](https://img.shields.io/microbadger/image-size/thibdct/seances.svg)](https://hub.docker.com/r/thibdct/seances/)\n![License](https://img.shields.io/github/license/tducret/allocine-python.svg)\n\n![Cinéma](cinema.jpg)\n\n## Description\n\n**Avec cet outil, vous récupérez les horaires des séances ciné directement dans le terminal**.\n\n## Requirements\n\n- Python 3.7 and above\n- pip3\n\n## Installation\n\n```bash\npip3 install -U allocine\n```\n\n\u003e You can also use it with Docker. Have a look at [this section](#docker)\n\n## CLI tool usage\n\nYou just need to look for your theater identifier on [allocine.fr](allocine.fr).\n\nJust search for your theater, and take note of the identifier in the URL. Here, it is `P0645`.\n\n![Theater identifier](snapshot_theater_id.png)\n\n![Capture terminal](capture.svg)\n\n#### Help\n\n```bash\nseances.py --help\nUsage: seances.py [OPTIONS] ID_CINEMA\n\n  Les séances de votre cinéma dans le terminal, avec ID_CINEMA : identifiant\n  du cinéma sur Allociné, ex: C0159 pour l’UGC Ciné Cité Les Halles. Se\n  trouve dans l’url :\n  http://allocine.fr/seance/salle_gen_csalle=\u003cID_CINEMA\u003e.html\n\nOptions:\n  -j, --jour TEXT    jour des séances souhaitées (au format DD/MM/YYYY ou +1\n                     pour demain), par défaut : aujourd’hui\n  -s, --semaine      affiche les séance pour les 7 prochains jours\n  -e, --entrelignes  ajoute une ligne entre chaque film pour améliorer la\n                     lisibilité\n  --help             Show this message and exit.\n```\n\n#### Basic usage\n\n```bash\nseances.py P2235\n\n27/12/2018\n┌──────────────────────────────────────────────────────────┬──────┬───────┬───────┬───────┬───────┐\n│ Astérix - Le Secret de la Potion Magique... (VF) - 01h25 │ 4.1* │ 10:15 │       │       │       │\n│ L’Empereur de Paris (VF) - 01h50                         │ 3.4* │       │       │ 17:15 │       │\n│ Ma mère est folle (VF) - 01h35                           │ 3.0* │       │ 14:15 │       │       │\n│ Marche ou crève (VF) - 01h25                             │ 3.6* │       │       │       │ 20:15 │\n└──────────────────────────────────────────────────────────┴──────┴───────┴───────┴───────┴───────┘\n```\n\n#### For tomorrow, with interlines\n\n```bash\nseances.py P2235 -j+1 --entrelignes\n\n28/12/2018\n┌────────────────────────────────────────────────────┬──────┬───────┬───────┬───────┐\n│ Casse-noisette et les quatre royaumes (VF) - 01h39 │ 3.1* │       │       │ 20:15 │\n├────────────────────────────────────────────────────┼──────┼───────┼───────┼───────┤\n│ Ma mère est folle (VF) - 01h35                     │ 3.0* │       │ 17:15 │       │\n├────────────────────────────────────────────────────┼──────┼───────┼───────┼───────┤\n│ Marche ou crève (VF) - 01h25                       │ 3.6* │ 14:15 │       │       │\n└────────────────────────────────────────────────────┴──────┴───────┴───────┴───────┘\n```\n\n#### For a specific date\n\n```bash\nseances.py P2235 --jour 29/12/2018\n```\n\n#### For the full week\n\n```bash\nseances.py P2235 --semaine\n```\n\n## Package usage\n\n```python\n# -*- coding: utf-8 -*-\nfrom allocine import Allocine\n\nallocine = Allocine()\ntheater = allocine.get_theater(\"P2235\")\n\nfor showtime in theater.showtimes:\n    print(showtime)\n```\n\nExample output :\n\n```bash\n27/12/2018 10:15 : Astérix - Le Secret de la Potion Magique [244560] (VF) (01h25)\n27/12/2018 14:15 : Ma mère est folle [260370] (VF) (01h35)\n27/12/2018 17:15 : L’Empereur de Paris [258914] (VF) (01h50)\n27/12/2018 20:15 : Marche ou crève [258052] (VF) (01h25)\n28/12/2018 14:15 : Marche ou crève [258052] (VF) (01h25)\n28/12/2018 17:15 : Ma mère est folle [260370] (VF) (01h35)\n28/12/2018 20:15 : Casse-noisette et les quatre royaumes [245656] (VF) (01h39)\n29/12/2018 14:15 : Astérix - Le Secret de la Potion Magique [244560] (VF) (01h25)\n[...]\n```\n\n# Docker\n\nYou can use the `seances` tool with the [Docker image](https://hub.docker.com/r/thibdct/seances/)\n\nYou may execute :\n\n`docker run -it --rm thibdct/seances P2235`\n\n\u003e The Docker image is built on top of [Google Distroless image](https://github.com/GoogleContainerTools/distroless), so it is tiny :)\n\n## 🤘 The easy way 🤘\n\nI also built a bash wrapper to execute the Docker container easily.\n\nInstall it with :\n\n```bash\ncurl -s https://raw.githubusercontent.com/tducret/allocine-python/master/seances \\\n\u003e /usr/local/bin/seances \u0026\u0026 chmod +x /usr/local/bin/seances\n```\n*You may replace `/usr/local/bin` with another folder that is in your $PATH*\n\nCheck that it works :\n\n*On the first execution, the script will download the Docker image, so please be patient*\n\n```bash\nseances --help\nseances P2235 -j+1 --entrelignes\n```\n\nYou can upgrade the app with :\n\n```bash\nseances --upgrade\n```\n\nand even uninstall with :\n\n```bash\nseances --uninstall\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftducret%2Fallocine-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftducret%2Fallocine-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftducret%2Fallocine-python/lists"}