Metadata-Version: 2.5
Name: samplics
Version: 0.6.1
Summary: Select, weight and analyze complex sample data
Project-URL: repository, https://github.com/samplics-org/samplics
Project-URL: documentation, https://samplics-org.github.io/samplics/
Project-URL: homepage, https://samplics-org.github.io/samplics/
Project-URL: Successor (svy), https://pypi.org/project/svy/
Project-URL: Migration guide, https://svylab.com/docs/svy
Author-email: Mamadou S Diallo <msdiallo@samplics.org>
Keywords: estimation,sample,sampling,survey,weighting
Classifier: Development Status :: 7 - Inactive
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Scientific/Engineering
Requires-Python: <3.15,>=3.10
Requires-Dist: numpy>=2.1
Requires-Dist: polars[pyarrow]>=1.37.0
Requires-Dist: statsmodels>=0.14
Description-Content-Type: text/markdown

<img src="./img/samplics_logo.jpg" align="left" style="height: 110px; border-radius: 10%; padding: 5px;"/>

<h1>samplics</h1>

[<img src="https://github.com/samplics-org/samplics/workflows/Testing/badge.svg">](https://github.com/samplics-org/samplics/actions?query=workflow%3ATesting)
[<img src="https://github.com/samplics-org/samplics/workflows/Coverage/badge.svg">](https://github.com/samplics-org/samplics/actions?query=workflow%3ACoverage)
[![DOI](https://joss.theoj.org/papers/10.21105/joss.03376/status.svg)](https://doi.org/10.21105/joss.03376)
[<img src="https://pepy.tech/badge/samplics">](https://pepy.tech/project/samplics)

> **⚠️ samplics is no longer maintained. Use [svy](https://pypi.org/project/svy/) instead.**
>
> **svy** is the successor to _samplics_, from the same author: the same survey
> methodology (design, sampling, weighting, estimation, small area models),
> rebuilt on Polars with a Rust core, an end-to-end workflow through reporting,
> and active development.
>
> ```bash
> pip install svy
> ```
>
> - Docs and migration guide: https://svylab.com/docs/svy
> - Questions about migrating: https://github.com/samplics-org/svy/issues
>
> samplics 0.6.x stays on PyPI and keeps working, but no bugs will be fixed and
> no new Python versions will be supported.

<br>

_Samplics_ was a Python package for design-based analysis of complex survey data, covering sample size calculation, selection, weighting, estimation, and small area estimation. It has been superseded by [svy](https://svylab.com/docs).

## Citation

If you use _samplics_ in published research, please cite:

**Diallo, M.S.** (2021). samplics: a Python Package for Selecting, Weighting and Analyzing Data from Complex Sampling Designs. _Journal of Open Source Software_, 6(68), 3376. https://doi.org/10.21105/joss.03376

```bibtex
@article{Diallo2021,
  author  = {Diallo, Mamadou S.},
  title   = {samplics: a Python Package for Selecting, Weighting and Analyzing Data from Complex Sampling Designs},
  journal = {Journal of Open Source Software},
  year    = {2021},
  volume  = {6},
  number  = {68},
  pages   = {3376},
  doi     = {10.21105/joss.03376},
  url     = {https://doi.org/10.21105/joss.03376}
}
```

## License

[MIT](https://github.com/samplics-org/samplics/blob/master/license.txt)

## Contact

Created by [svyLab](https://svylab.com) · [info@svylab.com](mailto:info@svylab.com)
