djangoldp-ds4go 1.0.1__tar.gz → 1.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/PKG-INFO +1 -1
  2. djangoldp_ds4go-1.0.2/README.md +59 -0
  3. djangoldp_ds4go-1.0.2/djangoldp_ds4go/__init__.py +1 -0
  4. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go.egg-info/PKG-INFO +1 -1
  5. djangoldp_ds4go-1.0.1/README.md +0 -20
  6. djangoldp_ds4go-1.0.1/djangoldp_ds4go/__init__.py +0 -1
  7. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go/admin.py +0 -0
  8. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go/apps.py +0 -0
  9. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go/management/__init__.py +0 -0
  10. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go/management/commands/__init__.py +0 -0
  11. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go/management/commands/import_rss.py +0 -0
  12. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go/migrations/0001_initial.py +0 -0
  13. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go/migrations/0002_djangoldp_i18n.py +0 -0
  14. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go/migrations/__init__.py +0 -0
  15. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go/models/__base_model.py +0 -0
  16. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go/models/__base_named_model.py +0 -0
  17. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go/models/__init__.py +0 -0
  18. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go/models/category.py +0 -0
  19. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go/models/fact.py +0 -0
  20. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go/models/media.py +0 -0
  21. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go/translation.py +0 -0
  22. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go.egg-info/SOURCES.txt +0 -0
  23. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go.egg-info/dependency_links.txt +0 -0
  24. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go.egg-info/requires.txt +0 -0
  25. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/djangoldp_ds4go.egg-info/top_level.txt +0 -0
  26. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/setup.cfg +0 -0
  27. {djangoldp_ds4go-1.0.1 → djangoldp_ds4go-1.0.2}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: djangoldp_ds4go
3
- Version: 1.0.1
3
+ Version: 1.0.2
4
4
  Summary: djangoldp package for dataspace interoperability framework
5
5
  Home-page: https://git.startinblox.com/djangoldp-packages/djangoldp-ds4go
6
6
  Author: Startin'blox
@@ -0,0 +1,59 @@
1
+ # DjangoLDP DS4GO
2
+
3
+ This is a Django package for the DS4GO ecosystem, providing models and tools for fact-checking applications.
4
+
5
+ See [DSIF](https://dsif.eu/).
6
+
7
+ ## Configuration
8
+
9
+ Add `djangoldp_ds4go` to your `INSTALLED_APPS` and configure internationalization settings:
10
+
11
+ ```yaml
12
+ dependencies:
13
+ - djangoldp-account
14
+ - django-webidoidc-provider
15
+ - djangoldp-i18n
16
+ - djangoldp-ds4go
17
+ # ...
18
+
19
+ ldppackages:
20
+ - rest_framework
21
+ - oidc_provider
22
+ - djangoldp_account
23
+ - djangoldp_i18n
24
+ - djangoldp_ds4go
25
+ # ...
26
+
27
+ # [...]
28
+
29
+ server:
30
+ # [...] # See djangoldp configuration for other settings
31
+
32
+ USE_I18N: True
33
+ # Your application default language, will be served if no header are provided
34
+ LANGUAGE_CODE: fr
35
+ # Your application fallback language, will be served when a requested language is not available
36
+ MODELTRANSLATION_DEFAULT_LANGUAGE: fr
37
+ # Priority order. Ensure that every language is listed here to avoid empty translations
38
+ MODELTRANSLATION_FALLBACK_LANGUAGES:
39
+ - fr
40
+ - en
41
+ - es
42
+ # A list of all supported languages, you **must** make a migration afterwise
43
+ LANGUAGES:
44
+ - ['fr', 'Français']
45
+ - ['en', 'English']
46
+ - ['es', 'Español']
47
+ ```
48
+
49
+ Run `python manage.py makemigrations` and `python manage.py migrate` after updating language settings.
50
+
51
+ ## Importing RSS Data
52
+
53
+ Import fact-check data from RSS feeds using the management command:
54
+
55
+ ```bash
56
+ python manage.py import_rss --rss_file="path/to/rss.xml"
57
+ ```
58
+
59
+ This command parses RSS XML to create or update facts, handling translations based on the feed language, creating category hierarchies, and importing media metadata.
@@ -0,0 +1 @@
1
+ __version__ = '1.0.2'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: djangoldp_ds4go
3
- Version: 1.0.1
3
+ Version: 1.0.2
4
4
  Summary: djangoldp package for dataspace interoperability framework
5
5
  Home-page: https://git.startinblox.com/djangoldp-packages/djangoldp-ds4go
6
6
  Author: Startin'blox
@@ -1,20 +0,0 @@
1
- # DjangoLDP DS4GO
2
-
3
- This is a Django project for DS4GO ecosystem.
4
-
5
- See [DSIF](https://dsif.eu/).
6
-
7
- ## Server settings
8
-
9
- ```yaml
10
- USE_I18N: True
11
- # Your application default language, will be served if no header are provided
12
- LANGUAGE_CODE: fr
13
- # Your application fallback language, will be served when a translation is not available
14
- MODELTRANSLATION_DEFAULT_LANGUAGE: fr
15
- # A list of all supported languages, you **must** make a migration afterwise
16
- LANGUAGES:
17
- - ['fr', 'Français']
18
- - ['en', 'English']
19
- - ['es', 'Español']
20
- ```
@@ -1 +0,0 @@
1
- __version__ = '1.0.1'