Changeset View
Changeset View
Standalone View
Standalone View
README.md
Show First 20 Lines • Show All 183 Lines • ▼ Show 20 Lines | |||||
Once configured, you can execute a PyPI lister using the following instructions in a `python3` script: | Once configured, you can execute a PyPI lister using the following instructions in a `python3` script: | ||||
```lang=python | ```lang=python | ||||
import logging | import logging | ||||
from swh.lister.gnu.tasks import gnu_lister | from swh.lister.gnu.tasks import gnu_lister | ||||
logging.basicConfig(level=logging.DEBUG) | logging.basicConfig(level=logging.DEBUG) | ||||
gnu_lister() | gnu_lister() | ||||
``` | |||||
nahimilega: You need to add a blank line after triple backquote. | |||||
## lister-cran | ## lister-cran | ||||
Once configured, you can execute a RCRAN lister using the following instructions in a `python3` script: | Once configured, you can execute a CRAN lister using the following instructions in a `python3` script: | ||||
Done Inline ActionsWhile we are at it please also change RCRAN to CRAN. nahimilega: While we are at it please also change RCRAN to CRAN. | |||||
```lang=python | ```lang=python | ||||
import logging | import logging | ||||
from swh.lister.cran.tasks import cran_lister | from swh.lister.cran.tasks import cran_lister | ||||
logging.basicConfig(level=logging.DEBUG) | logging.basicConfig(level=logging.DEBUG) | ||||
cran_lister() | cran_lister() | ||||
``` | ``` | ||||
Licensing | Licensing | ||||
--------- | --------- | ||||
This program is free software: you can redistribute it and/or modify it under | This program is free software: you can redistribute it and/or modify it under | ||||
the terms of the GNU General Public License as published by the Free Software | the terms of the GNU General Public License as published by the Free Software | ||||
Foundation, either version 3 of the License, or (at your option) any later | Foundation, either version 3 of the License, or (at your option) any later | ||||
version. | version. | ||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY | This program is distributed in the hope that it will be useful, but WITHOUT ANY | ||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A | WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||||
PARTICULAR PURPOSE. See the GNU General Public License for more details. | PARTICULAR PURPOSE. See the GNU General Public License for more details. | ||||
See top-level LICENSE file for the full text of the GNU General Public License | See top-level LICENSE file for the full text of the GNU General Public License | ||||
along with this program. | along with this program. | ||||
No newline at end of file |
You need to add a blank line after triple backquote.