| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Travis CI: Add Python 3.8 to the testing
|
| | |
|
| | |
|
|\ \
| |/
|/| |
Add `close()` method to UDP client
|
|/
|
|
|
|
| |
Unlike its stream counterpart, the UDP client does not have a "close()"
method. This means there is no public API to clean up the socket,
resulting in a `ResourceWarning`.
|
|\
| |
| | |
Fix typo in configure.rst
|
|/ |
|
|\
| |
| | |
typo error in directory name
|
|/ |
|
|\
| |
| | |
Fix regex string escape in tests
|
|/ |
|
|\
| |
| | |
Add support for Python 3.7
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
- Drop support for Python 2.5, 2.6, 3.2, 3.3 (#108, #116).
- Add UnixSocketStatsClient (#76, #112).
- Add support for timedeltas in timing() (#104, #111).
- Fix timer decorator with partial functions (#85).
- Remove ABCMeta metaclass (incompatible with Py3) (#109).
- Refactor client module (#115).
- Various doc updates (#99, #102, #110, #113, #114).
|
|\
| |
| | |
Remove old version classifiers
|
|/ |
|
|\
| |
| | |
Refactor client module into package
|
|/
|
|
|
|
|
|
|
|
|
|
| |
The client module just broke 300 lines and had a lot of functionality in
it. This breaks the single file up into a package and reduces a decent
amount of duplication. Makes a few related changes:
- Replaces old Python __future__ imports with new ones
- Removes __all__ in favor of fewer imports
- Refactors common stream code into StreamClientBase
- Renames TCPPipeline to StreamPipeline for consistency (this is not a
public class name)
|
|\
| |
| | |
Remove refs
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
Update Sphinx directives in docs
|
|/
|
|
|
|
| |
Tweaks a lot of doc references to use better Sphinx tooling. Shouldn't
break any existing links, but may get to a point where we don't need
quite as many named references.
|
|\
| |
| |
| |
| | |
Introduce UnixSocketStatsClient class.
Fixes #76.
|
|/
|
|
| |
New client for handling sending stats through Unix domains sockets.
|
|\
| |
| | |
Add support for timedeltas
|
| | |
|
|/
|
|
|
| |
Allow passing datetime.timedelta objects directly to
StatsClient.timing(), automatically converting to milliseconds.
|
|\ |
|
|/
|
|
|
|
| |
Collecting thoughts that have been spread across several GitHub issues
and pull requests into one place, a reference to use from now on when
the discussion of tags comes up.
|
|\
| |
| | |
Fix minor nits, spelling and unused imports
|
|/ |
|
|\
| |
| | |
Remove dependency on ABCMeta.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
StatsClientBase and PipelineBase are not intended to be public APIs, and
the syntax for metaclasses introduces some complexity between Python 2
and 3.
Since ABCMeta and abc.abstractmethod were only being used to guarantee
that internal subclasses implemented these methods correctly, and
there's no external behavioral issues on Python 3, where the metaclass
has been ignored for years, let's remove the metaclass and rely on
NotImplementedError() and the test suite as a backstop.
Fixes #106.
|
|\
| |
| | |
Skip IPv6 resolution test
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since early June[1], IPv6 loopback address resolution has been flaky on
TravisCI. It seems that it should have been flaky even earlier, or
there's something strange going on. For now, skip the test. We can come
back to diagnosing once master is (otherwise) passing.
This failure first started on Python 2.6, but quickly spread to all
versions. It appears to pass occasionally, but not on any consistent
version. Lately it seems to fail more or less all the time, though on
the latest cron build, it did pass on Pypy[2].
[1]: https://travis-ci.org/jsocol/pystatsd/builds/387167216
[2]: https://travis-ci.org/jsocol/pystatsd/builds/417687774
|
|\
| |
| | |
Drop support for old Python versions
|
|/
|
|
|
| |
Leave Python 2.6, 3.2, and 3.3 out. Let's focus on >=3.4 (and we'll
still support 2.7 because it's easy).
|
|\
| |
| | |
Update badges
|
|/ |
|
|\
| |
| | |
Bug: Fix timer decorator with partial functions (#85)
|
| | |
|
|\ \
| |/
|/| |
correct spelling mistake
|
|/ |
|
| |
|
|\
| |
| | |
Bug: Fix time shifts for python 3.3 and above.
|
|/ |
|
|\
| |
| | |
Fix sphinx extension conflict
|
| |
| |
| |
| |
| |
| |
| | |
This change removes the pngmath extensions to fix the doc building error
happening with 1.4.8:
sphinx.ext.mathjax: other math package is already loaded
|