Skip to main content

Reusable Python module to store user browsing history via function call

Project description

browsing_history

Reusable Python module to store browsing history using SQLAlchemy and Pydantic.

Usage

from browsing_history import store_browsing_history, BrowsingHistoryInput

store_browsing_history(db, BrowsingHistoryInput(
    user_id=123,
    page_url="/profile",
    page_title="Profile Page",
    ip_address="192.168.1.1",
    device_info="Chrome on Windows"
))

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

tns_browsing_history-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

tns_browsing_history-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file tns_browsing_history-0.1.0.tar.gz.

File metadata

  • Download URL: tns_browsing_history-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for tns_browsing_history-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2baf57f8f97500c73c189767dd1c8fc39008d9e287b2b95f6b8effd0edf9ee09
MD5 4560252b7c63c74a9cbd5de53eb08936
BLAKE2b-256 296c2d9c652adebad03c717b910424143fdb4e04e596cc4533862e805bf7b8ef

See more details on using hashes here.

File details

Details for the file tns_browsing_history-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tns_browsing_history-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b99dbf8d1836e4eee7c694009d668e90dce8aa38e8ec0f7d608323589602214a
MD5 da8fc0e9d81a78199c036d515c5abf08
BLAKE2b-256 dd107e505349aa530e7a463b66da08e52efd78eb69fd77af503028b35b01dda7

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