Skip to main content

23andme API

Project description

meand23

Installation

pip install meand23

Usage

Log in, identify profiles with a processed kit, and print each profile's genome:

import json
m23 = MeAnd23()
m23.login('your@gmail.com', 'your_password')
profiles = m23.profiles()
profiles_with_kit = []
for profile in profiles:
    try:
        m23.use_profile(profile)
        m23.chromosome(1)
        profiles_with_kit.append(profile)
    except MissingKitError:
        pass

for profile in profiles_with_kit:
    m23.use_profile(profile)
    for gene in m23.genome():
        print(gene)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meand23-0.0.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

meand23-0.0.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file meand23-0.0.2.tar.gz.

File metadata

  • Download URL: meand23-0.0.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for meand23-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b74d2dfd4f4109b40dd1731e6b5f45b6d334ed93660d42ed1a5f0ca006ebc394
MD5 c30d2841ad5b06725ef2a876e3b257fa
BLAKE2b-256 e27b11c10a5ceada6359522734d276720cddde408318466310297ee51417b33b

See more details on using hashes here.

File details

Details for the file meand23-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: meand23-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for meand23-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e20f093ea0b39d2e9f51cd3e63d4547215079301d47706c2a73940cdaccfaa6d
MD5 80b34f823170be89913de21304b12ceb
BLAKE2b-256 2c8459a301618895cd841043361f5f2e095fa1e608e78640c0729894ddcaee5a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page