/
gowen
/
edx-platform
ОбзорДокументацияВойти
/
gowen
/
edx-platform
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
edx-platform/
scripts/xblock/
..
README

Added documentation and example json file

10 лет назад
list-installed.py

fix: replace pkg_resources with importlib.resources (#36213)

год назад
requirements.in

fix: fix constraints path (#34638)

2 года назад
requirements.txt

fix: constrain pip-tools<7.5.0 to fix lxml[html_clean] issue (#37174)

год назад
xblock_counts.py

refactor: ran pyupgrade second iteration (#27463)

5 лет назад
xblock_studio_configuration.json

Added documentation and example json file

10 лет назад
README
## XBlocks count script
 
The script in this directory, xblock_counts.py, when run will produce 2 csv files containing a summary
of the XBlock usage in courses.
 
This script requires a list of XBlock types. The xblock_studio_configuration.json file included is an example. The file
contains a list of types for the tool to summarize with counts.
 
{
"data": [
{
"name": "problem",
},
{
"name": "video",
},
...
]
}
 
### Steps for usage
 
1. Ensure all python requirements are up to date including those listed in the requirements.txt file.
 
2. Request a OAUTH2_Client ID on the api platform you are querying.
 
3. Execute the command line to run the script.
 
### Example command line usage
 
python xblock_counts.py -u <email> -p <password> -c <OAUTH2 Client_id> -m 12 -x xblock_studio_configuration.json -a https://courses.edx.org
 
Use python xblock_counts.py -h to get a list of command line options.