Skip to main content

Get a ping when your dream flat becomes available.

Project description

Bolig Ping

Get a ping when your dream flat in Denmark becomes available on Boligsiden.dk.


Code Coverage Documentation License LastCommit Contributor Covenant

Developer:

Quickstart

The easiest way to use the package is as a uv tool. You can simply start searching for flats using the following command:

uvx bolig_ping --city københavn

This both installs the package and runs the command. All the available options are listed below, but you can always get these by running the following command:

uvx bolig_ping --help

To be able to send emails, you have to create a Google app password, and store both your Gmail email address and the app password in the environment variables GMAIL_EMAIL and GMAIL_PASSWORD, respectively. You can also simply store these in a .env file, as follows:

GMAIL_EMAIL=<your-email>@gmail.com
GMAIL_PASSWORD=<your-app-password>

With this set up, you can now use the --email option to receive an email with new flats that match your search criteria:

uvx bolig_ping --city københavn --email <your-email>

You can also set up a recurring search if you have a server available. In this case, you can add the following line to your crontab on a server, to run the search every hour:

0 * * * * uvx bolig_ping <search-arguments>

All options

The following options are available:

  • --city/-c (required): The city you want to search in. This argument can be used several times to search in multiple cities, e.g., -c aarhus -c odense.
  • --min-price: The minimum price of the flat, in DKK. Default is no minimum price.
  • --max-price: The maximum price of the flat, in DKK. Default is no maximum price.
  • --min-rooms: The minimum number of rooms in the flat. Default is no minimum number of rooms.
  • --max-rooms: The maximum number of rooms in the flat. Default is no maximum number of rooms.
  • --min-size: The minimum size of the flat, in square meters. Default is no minimum size.
  • --max-size: The maximum size of the flat, in square meters. Default is no maximum size.
  • --email: The email address you want to receive the ping on. Note that this needs to have the GMAIL_EMAIL and GMAIL_PASSWORD environment variables set, as described above. Default is to use no email address, and instead print the flats to the console.

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

bolig_ping-1.2.0.tar.gz (80.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bolig_ping-1.2.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file bolig_ping-1.2.0.tar.gz.

File metadata

  • Download URL: bolig_ping-1.2.0.tar.gz
  • Upload date:
  • Size: 80.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.12

File hashes

Hashes for bolig_ping-1.2.0.tar.gz
Algorithm Hash digest
SHA256 7861135b24e64193cf27192b69b8f3c9cfa95773d8dc8ed2770ba21b5d83d7f5
MD5 1da5afc47e561622313362935df09753
BLAKE2b-256 23468923bb7c6c4b996fb099e9584d59834ff4caebdbaee7eeaa2bb5794fb25f

See more details on using hashes here.

File details

Details for the file bolig_ping-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: bolig_ping-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.12

File hashes

Hashes for bolig_ping-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60b1466214572dabbdea16947d98263d0ddc943c9e2c7d0e70e65a8c27f9ebc8
MD5 c806d8f663ecc9c3dcfcce9b898d10bb
BLAKE2b-256 c4bf9c28cea532b932e23e9e4bc48fd774492b6770da72524d5e57365d9ee924

See more details on using hashes here.

Supported by

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