Skip to main content

Checkout http://pycounters.readthedocs.org/ for more details.

0.5:
  • Fixed - locking issue with JSON output files

  • Fixed - EventCounter did not respond to events keyword argument

0.4:
  • added a patcher util class to allow injecting events to existing libraries/code.

  • decoupled counter names from the names of events they count. Still, by default a counter will count events with it’s name

  • shortcut decorators now take the name of the function they wrap as a default event name

  • Added a role option to multi process reporting initializations.

  • Made all report_* and shortcuts decorators usable as context managers.

  • Munin plugin now ignores old reports by default

  • Counters which doesn’t have any value now return None instead of 0.

  • Fixed an issue with aggregation of average values when not all sources had the same value

  • Added output_report() to allow manual initiation of reports.

0.3:
  • Added a manifest.in file, so that CHANGES.txt will come along.

0.2:
  • Added multiprocess support.

  • Extended EventLogger to allow regex based filtering of events it logs.

  • Added JSONFileReporter to output reports in JSON format

  • Added a utility to faciliate writing Munin plugins

0.1:
  • Initial Release

Download files

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

Source Distribution

pycounters-0.5.tar.gz (25.8 kB view details)

Uploaded Source

File details

Details for the file pycounters-0.5.tar.gz.

File metadata

  • Download URL: pycounters-0.5.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pycounters-0.5.tar.gz
Algorithm Hash digest
SHA256 3081c2b778f30e9e7a22b5af17dd14c3732fca36ee74c68b41179d4dff9adda0
MD5 263a1ab837a0af56f74e0b3f14783c15
BLAKE2b-256 30e484e5794518432a2c3366cb152ab0500fd1caed2261d12834327b4e3985e8

See more details on using hashes here.

Release history Release notifications | RSS feed

0.7

2 files

0.6

1 file

This release

0.5 This release

1 file

0.4

1 file

0.3

1 file

0.2

1 file

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