Package python pour manipuler les données issues de [Neamar/sagas-mp3](https://github.com/Neamar/sagas-mp3)
Installation avec pip:
pip install pysaga
NOTE: nécessite python 3.7.
## Exemple avec Reflets d'Acide
import pysaga
for episode in pysaga.rda.episodes:
if episode.title == "L'enrôlement":
print(episode.chapters[0].lines[0].content)
print(episode.chapters[0].lines[2].content)
# Non-implémenté :
for episode in pysaga.get('Reflets d'Acide').episodes:
print(f"L'épisode {episode.nb} contient {len(episode.chapters)} chapitres.")
for chapter, characters in episode.chapters(chars=True):
print(f"\tLe chapitre {chapter.nb} fait intervenir {', '.join(characters)}")
## TODO
- packaging fonctionnel
- intégrer les données de Neamar/sagas-mp3 ?
- implémenter l'interface haut-niveau
- des tests sur les données connues, genre le premier exemple de ce readme.
- implémenter un accès facile et haut-niveau pour les séries épisodes et chapitres (cf exemples de ce readme)
- différencier les *épisodes* et les *fichiers*, car de nombreux fichiers ne sont pas des épisodes
- tester sur les autres sagas (xantah et adop)
Metadata
Release files for pysaga 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pysaga-0.0.1.tar.gz | 4.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pysaga-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / pysaga-0.0.1.tar.gz
| Download URL | pysaga-0.0.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
226ecc8ca195c1b9ab6ab336253d1356bc760527afad2580a340c944917c833f
|
|
BLAKE2b-256 checksum How to use checksums |
41d649d4415f944e24e12886a6eb861c06f7fa4c2724436b69b5955d5b09d53d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Release files / pysaga-0.0.1-py3-none-any.whl
| Download URL | pysaga-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
422ad6dfc79d93223c6d01f7badcebe712dd6e09cd240381ddc6445c03bc094b
|
|
BLAKE2b-256 checksum How to use checksums |
2f13fecd8815fa1b7d78371da3ed6eeb7d17ec1246d98e758842f3f6e7813b10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Security for pysaga 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.