Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Build Status Coverage Status Codacy Badge GitHub license Latest Version Downloads DOI

Python package for solving assortative matching models with two-sided heterogeneity. The theoretical framework behind the class of models solved by pyAM is described in Eeckhout and Kircher (2012).

Installation

Assuming you have pip on your computer (as will be the case if you’ve installed Anaconda) you can install the latest stable release of pyam by typing

$ pip install pyam

at a terminal prompt.

Contributing

If you wish to contribute to the project you will likely want to install from source. First your will need to fork and then clone the source repository.

$ git clone https://github.com/YOUR-USERNAME/pyAM.git

Next create a new conda development environment

$ conda create -n pyam-dev python anaconda

activate the newly created development environment

$ source activate pyam-dev

and install additional dependencies not available within Anaconda.

$ pip install pycollocation
$ pip install seaborn

Finally, change into your local clone of the pyam source directory and install the package in development mode.

$ pip install -e .

Example notebooks

At the moment there are two example notebooks, one for positive assortative matching and one for negative assortative matching in the examples directory. The positive assortative matching works fine; the negative assortative matching, however, does not yet work (I suspect because of a poor algorithm for the initial guess).

Metadata

Release files for pyam 0.2.1-alpha

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyam 0.2.1-alpha
File Size Uploaded Provenance
pyam-0.2.1-alpha.tar.gz 10.0 kB Without provenance Details

Release files / pyam-0.2.1-alpha.tar.gz

Download URL pyam-0.2.1-alpha.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e57fcf3ebdcd891ee3441bf32c904e70d4b055bdbff356bd85f18ae372bcaaf6
BLAKE2b-256 checksum
How to use checksums
a2f45481ceb92fd39055c9af9200d8c7b963c9fc174f8ba699b614df9d2c1151
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyam 0.2.1-alpha

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page