☰
Debian Codegraph
@
2.3.0-2
2.3.0-1
2.2.19-2
/
/
examples
/
asm
/
cloud_host_count.py
☽
☼
examples/asm/cloud_host_count.py
code
plain
raw
Apache-2.0
2023-2024 Censys, Inc. <
[email protected]
>
debian/copyright
1
"""Retrieve host counts by cloud since the first day of 2021."""
2
3
from datetime import date
4
5
from censys.asm import Clouds
6
7
c = Clouds()
8
9
count = c.get_host_counts(date(2021, 1, 1))
10
print(count)