# MediaWiki Session Analysis
This library provides a set of utilities for group MediaWiki user actions into sessions.
Installation: pip install mwsessions
Documentation: https://pythonhosted.org/mwsessions
License: MIT
## Basic example
>>> import mwsessions
>>>
>>> user_events = [
... ("Willy on wheels", 20150101000000, {'rev_id': 1}),
... ("Walter", 20150101000001, {'rev_id': 2}),
... ("Willy on wheels", 20150101000001, {'rev_id': 3}),
... ("Walter", 100035, {'rev_id': 4}),
... ("Willy on wheels", 103602, {'rev_id': 5})
... ]
>>>
>>> for user, events in mwsessions.sessionize(user_events):
... (user, events)
...
('Willy on wheels', [{'rev_id': 1}, {'rev_id': 3}])
('Walter', [{'rev_id': 2}, {'rev_id': 4}])
('Willy on wheels', [{'rev_id': 5}])
## Author * Aaron Halfaker – https://github.com/halfak
Metadata
Release files for mwsessions 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distributions (sdists)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mwsessions-0.0.2.zip | 13.9 kB | Without provenance | Details for mwsessions-0.0.2.zip | |
| mwsessions-0.0.2.tar.gz | 7.4 kB | Without provenance | Details for mwsessions-0.0.2.tar.gz |
Release files / mwsessions-0.0.2.zip
| Download URL | mwsessions-0.0.2.zip |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d55466f91fe7074253ad6eeb76d0c62b6d15c8091ff3a84318a88e61e94f6d71
|
|
BLAKE2b-256 checksum How to use checksums |
80a9d146bf04cc7ba5a0e3262efcaa1a2c997970cc809e90df69e5692238fde5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / mwsessions-0.0.2.tar.gz
| Download URL | mwsessions-0.0.2.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8bac7fd5816b97026aba929ccb737836bae1218cecd723100de970f36fa1a17
|
|
BLAKE2b-256 checksum How to use checksums |
ec6413726fa3fd6495bfc09d5ab370e96277deccb084218cb4673b69b0cc2b34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mwsessions 0.0.2
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.