Skip to main content

sosia

Match authors automatically in Scopus on-line

Documentation: https://sosia.readthedocs.io

Development: https://github.com/sosia-dev/sosia

https://badge.fury.io/py/sosia.svg https://readthedocs.org/projects/sosia/badge/?version=latest https://img.shields.io/pypi/pyversions/sosia.svg https://img.shields.io/pypi/l/sosia.svg https://api.codeclimate.com/v1/badges/3e10a47fefae831b973a/maintainability

Installation

Install stable version from PyPI:

pip install sosia

or development version from GitHub repository:

pip install git+https://github.com/sosia-dev/sosia

Functioning

sosia performs a series of queries in the Scopus database using the pybliometrics package. After configuring your local pybliometrics (providing access credentials and eventually setting cache directories), you are ready to use sosia:

>>> import sosia
>>>
>>> # You need the Scopus ID and the year, optionally set a database path
>>> stefano = sosia.Original(55208373700, 2018)
>>> # Sources similiar to those stefano publishes in
>>> stefano.define_search_sources()
>>> # Authors publishing in search sources every 2 years
>>> stefano.identify_candidates_from_sources(first_year_margin=1,
>>>                                          frequency=2)
>>> # Find candidates whose characteristics fall within margins
>>> stefano.filter_candidates(same_discipline=True, pub_margin=0.2,
>>>                           first_year_margin=1, cits_margin=0.2,
>>>                           coauth_margin=0.15)
>>> print(stefano.matches)
>>> [55567912500]
>>> # Optional step to provide additional information
>>> stefano.inform_matches()
>>> print(stefano.matches[0])
Match(ID=55567912500, name='Eling, Katrin', first_name='Katrin',
      surname='Eling', first_year=2013, last_year=2018, num_coauthors=9,
      num_publications=8, num_citations=56, subjects=['BUSI', 'COMP', 'ENGI'],
      affiliation_country='Netherlands', affiliation_id='60032882',
      affiliation_name='Technische Universiteit Eindhoven',
      affiliation_type='univ', language='eng', num_cited_refs=0)

Change log

Please see CHANGES.rst.

Contributing

Please see CONTRIBUTING.rst. For the list of contributors see AUTHORS.rst.

License

MIT License; see LICENSE.

Metadata

Release files for sosia 1.0.2

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

Source distribution (sdist)

Source distribution for sosia 1.0.2
File Size Uploaded Provenance Actions
sosia-1.0.2.tar.gz 52.5 kB Without provenance Details for sosia-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sosia 1.0.2
File Interpreter ABI Platform Actions
sosia-1.0.2-py3-none-any.whl Python 3 none any Details for sosia-1.0.2-py3-none-any.whl

Total release size: 94.6 kB

Release files / sosia-1.0.2.tar.gz

Download URL sosia-1.0.2.tar.gz
Size 52.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fb5f3aaa34b8f258c92566ce5c2e6c83e0999c2663ea966580f056d4312c41d1
BLAKE2b-256 checksum
How to use checksums
2abce6d23d09599d091f21eec4e815e26f31bfff9e5edb921b9adbd0fe022f8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.6

Release files / sosia-1.0.2-py3-none-any.whl

Download URL sosia-1.0.2-py3-none-any.whl
Size 42.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
432cf145f8a8fa6bcf99f45391307c303c5d9dce45c09b8ac798228b0741ab6f
BLAKE2b-256 checksum
How to use checksums
815b5186597f16436309706bdc14294dd51276a98ad80697c0f06cdb8d5db179
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.6

Security for sosia 1.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.

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