enade-py
A library for facilitating data analysis over Enade microdata.
Description
enade-py comprises a set of functions for helping researchers and Educational Data Mining (EDM) enthusiasts through the data mining process using Enade microdata.
The Enade microdata datasets are provided by Inep and consist of informations from brazilian undergraduate students and their performance on Enade (a national exam taken at the end of the course).
Enade datasets contain attributes related to:
- the exam itself;
- the student;
- the institution;
- performance on the exam;
- socioeconomic questions;
- and more.
Getting Started
Installing with pip
To install the latest release of enade-py, just run
pip install enade-py
Manual Installation
In order to set up the necessary environment:
- clone the repository on your machine
git clone https://github.com/mchoji/enade-py.git - create an environment
enade-pywith the help of conda,conda env create -f environment.yaml - activate the new environment with
conda activate enade-py - install
enade-pywith:python setup.py install # or `develop`
Optional and needed only once after git clone:
-
install several pre-commit git hooks with:
pre-commit installand checkout the configuration under
.pre-commit-config.yaml. The-n, --no-verifyflag ofgit commitcan be used to deactivate pre-commit hooks temporarily. -
install nbstripout git hooks to remove the output cells of committed notebooks with:
nbstripout --install --attributes notebooks/.gitattributesThis is useful to avoid large diffs due to plots in your notebooks. A simple
nbstripout --uninstallwill revert these changes.
Then take a look into the scripts and notebooks folders.
Dependency Management & Reproducibility
- Abstract (unpinned) dependencies are kept in
environment.yaml(for development) and insetup.cfg(forpip) - Concrete dependencies are kept in
environment.lock.yamlfor the exact reproduction of the development environment with:
For multi-OS development, consider usingconda env export -n enade-py -f environment.lock.yaml--no-buildsduring the export. - Update your current environment with respect to a new
environment.lock.yamlusing:conda env update -f environment.lock.yaml --prune - Data files are tracked with dvc. To pull the latest version, run the
following command after
git cloneorgit pull:dvc pull
Project Organization
├── AUTHORS.rst <- List of developers and maintainers.
├── CHANGELOG.rst <- Changelog to keep track of new features and fixes.
├── LICENSE.txt <- License as chosen on the command-line.
├── README.md <- The top-level README for developers.
├── configs <- Directory for configurations of model & application.
├── data
│ ├── external <- Data from third party sources.
│ ├── interim <- Intermediate data that has been transformed.
│ ├── preprocessed <- The final, canonical data sets for modeling.
│ └── raw <- The original, immutable data dump.
├── docs <- Directory for Sphinx documentation in rst or md.
├── environment.yaml <- The conda environment file for reproducibility.
├── models <- Trained and serialized models, model predictions,
│ or model summaries.
├── notebooks <- Jupyter notebooks. Naming convention is a number (for
│ ordering), the creator's initials and a description,
│ e.g. `1.0-mc-initial-data-exploration`.
├── references <- Data dictionaries, manuals, and all other materials.
├── reports <- Generated analysis as HTML, PDF, LaTeX, etc.
│ └── figures <- Generated plots and figures for reports.
├── scripts <- Analysis and production scripts which import the
│ actual PYTHON_PKG, e.g. train_model.
├── setup.cfg <- Declarative configuration of this project.
├── setup.py <- Use `python setup.py develop` to install for development or
| or create a distribution with `python setup.py bdist_wheel`.
├── src
│ └── enadepy <- Actual Python package where the main functionality goes.
├── tests <- Unit tests which can be run with `py.test`.
├── .coveragerc <- Configuration for coverage reports of unit tests.
├── .isort.cfg <- Configuration for git hook that sorts imports.
└── .pre-commit-config.yaml <- Configuration of pre-commit git hooks.
Versioning
Versions defined according to SemVer. For the versions available, see the tags on this repository.
Authors
- M. Choji - mchoji
License
enade-py is licensed under the MIT License. See LICENSE for more information.
Note
This project has been set up using PyScaffold 3.2.3 and the dsproject extension 0.4. For details and usage information on PyScaffold see https://pyscaffold.org/.
Metadata
Release files for enade-py 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| enade_py-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for enade_py-0.1.0-py2.py3-none-any.whl |
Release files / enade_py-0.1.0-py2.py3-none-any.whl
| Download URL | enade_py-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 21.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1ccee05f8db6ce31b2833103b6bc65e83dd0dc4b97e28765bb80cb1e5ecc96bb
|
|
BLAKE2b-256 checksum How to use checksums |
7beaf23fab3128d805360539a94ed0b842c0c8b5af1223b33f06ed6980c0d8ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.2
|
Security for enade-py 0.1.0
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.