Skip to main content

Installation

pip install astana-hub

Features

  • Get company list from https://astanahub.com/account/company/
    • Optional filter by tags: ('tag_startup', 'tag_it_company', 'tag_corp_partner', 'tag_techpark', 'tag_ts_member')
  • Get user list from https://astanahub.com/account/company/
    • Optional filter by tags: ('tag_intern', 'tag_it_specialist', 'tag_investor', 'tag_international_agent')
  • Async by aiohttp
  • HTML parsing with bs4+lxml

Usage

import asyncio
import astana_hub

async def main():
    async with astana_hub.Parser.create() as p:
        company_list_page1 = await p.get_company_page()
        print(company_list_page1)
        
        user_list_page1 = await p.get_user_page()
        print(user_list_page1)

        all_users = await p.parse_all(page_type='user')
        print(all_users)

        all_startups = await p.parse_all(page_type='company', tag='tag_startup')
        print(all_startups)

asyncio.run(main())

Metadata

Release files for astana-hub 0.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 astana-hub 0.0.2
File Size Uploaded Provenance
astana_hub-0.0.2.tar.gz 210.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for astana-hub 0.0.2
File Interpreter ABI Platform
astana_hub-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 215.0 kB

Release files / astana_hub-0.0.2.tar.gz

Download URL astana_hub-0.0.2.tar.gz
Size 210.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1217c5262c7b8623ec2eacf88d25365fb8cd9ca515f901b4567a538de61d7bf8
BLAKE2b-256 checksum
How to use checksums
ad480ef920b73739f1139fe4cce50b04c7da4fe77a96020b139f78a9b3c2cb62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / astana_hub-0.0.2-py3-none-any.whl

Download URL astana_hub-0.0.2-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
886155180a0a4a04787337a28b5e9afbf3c2e94f5713845c5ff3fa2b7b3370f3
BLAKE2b-256 checksum
How to use checksums
56a16dd9466d9cdb242c64077fb72d3f158b171e6e402da7494c028a43e50a74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Security for astana-hub 0.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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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