New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

moodle-mobile-py

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moodle-mobile-py

A Python Wrapper for the Moodle Mobile API

1.0.3
PyPI
Maintainers
1

MoodleCrawler

A Python Wrapper for the Moodle Mobile API

Installation

Install using pip:

pip install moodle-mobile-py

First Steps

Start by creating an instance of the moodle crawler and logging in:

import moodle


# initialise moodle crawler object
m = moodle.MoodleCrawler("<username>", "<password>", "https://moodle.example.com")
await m.login()

# print whether the current user an an admin of the moodle page
print(m.site_info.is_admin)

Note that the wrapper is written in an async/await style, and you have to call specific functions from coroutines.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts