Skip to main content

Tool for tracking down who added specific tag. It exists as a Python package, so you need to write a Python script to use it (see an example below).

Will work fine for tags used on a small scale.

As it will use editing API to retrieve old versions of each object, it is acceptable to use it sparingly. For serious uses lease use less hacky tool (import planet history)

But for investigating who added tag appearing 1017 times every few days? Should be fine.

It can be useful to

  • notify editors about tagging discussion
  • easily track down who was adding specific tag which is unclear/dubious/problematic

Usage example

import who_added_this_tag
import rich

config = {
    'key': 'related:wikipedia',
    'value': None, # may be None - in such case it looks for all values of key
    'area_identifier_key': None, # may be None, in such case search is worldwide, 'ISO3166-1' is a good identifier
    'area_identifier_value': 'PL', # ignored if area_identifier_key is None
    'list_all_edits': True,
    'list_all_edits_made_by_this_users': [], # ignored with list_all_edits set to True
    'download_engine_used': "overpass", # postpass can be also used
    'queried_object_limit': 5_000,
}
data = who_added_this_tag.statistics.process_case(config)
for entry in data:
    rich.print(entry)

note: experimental who_added_this_tag.statistics.process_case(config, download_engine_used="postpass") is also available

Run tests

python3 -m unittest

pypi

See https://pypi.org/project/who-added-this-tag/

Download files

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

Source Distribution

who_added_this_tag-0.0.3.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

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

who_added_this_tag-0.0.3-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file who_added_this_tag-0.0.3.tar.gz.

File metadata

  • Download URL: who_added_this_tag-0.0.3.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for who_added_this_tag-0.0.3.tar.gz
Algorithm Hash digest
SHA256 7dbe76cbf89ec7a2cb5acbbdbde96d444447e466a19fe3649d5a2c34b50eb290
MD5 50fed72c4483293ba29e7c2153ee9ee9
BLAKE2b-256 85fcdf0e345c8e6006ecead39f77463c2f763f58dbd96f6061e9a8392c2ca73f

See more details on using hashes here.

File details

Details for the file who_added_this_tag-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for who_added_this_tag-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 133402892c7b89cd6d6d68ab5f8bd4f1d15e3b83569acb6defe6b8d89063077b
MD5 76504c64ffde19547644e7df7221474e
BLAKE2b-256 1b88d39e96136fb2e038e8f92c52bcc396c6bf19adbf20f5f9af8acd6fbce445

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 files

0.0.2

2 files

0.0.1

2 files

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