Skip to content

Releases: python-ellar/ellar-throttler

0.1.7

Choose a tag to compare

@eadwinCode eadwinCode released this 21 Aug 22:58
d47fdd6

What's Changed

Full Changelog: 0.1.5...0.1.7

0.1.5

Choose a tag to compare

@eadwinCode eadwinCode released this 21 Mar 10:25
4bd5aa8

What's Changed

Full Changelog: 0.1.3...0.1.5

0.1.3

Choose a tag to compare

@eadwinCode eadwinCode released this 04 Mar 11:30
9231960

What's Changed

Full Changelog: 0.1.2...0.1.3

0.1.2

Choose a tag to compare

@eadwinCode eadwinCode released this 14 Feb 13:40
1f7dee0

What's Changed

Full Changelog: 0.1.0...0.1.2

0.1.0

Choose a tag to compare

@eadwinCode eadwinCode released this 27 Dec 06:40
cc93c7d

What's Changed

Full Changelog: 0.0.9...0.1.0

0.0.9

Choose a tag to compare

@eadwinCode eadwinCode released this 07 Dec 01:40
a818211

What's Changed

Full Changelog: 0.0.7...0.0.9

0.0.7

Choose a tag to compare

@eadwinCode eadwinCode released this 13 Oct 11:14
2057763

What's Changed

New Contributors

Full Changelog: 0.0.6...0.0.7

0.0.6

Choose a tag to compare

@eadwinCode eadwinCode released this 11 Aug 07:16
f06e410

What's Changed

Full Changelog: 0.0.4...0.0.6

0.0.4

Choose a tag to compare

@eadwinCode eadwinCode released this 11 May 21:51
f601321

What's Changed

  • Fixed bugs caused by Ellar package dependencies refactor by @eadwinCode in #6

Full Changelog: 0.0.2...0.0.4

0.0.2

Choose a tag to compare

@eadwinCode eadwinCode released this 26 Mar 13:41
8e89938

Throttling Feature for Ellar

Setup with Module

from ellar.common import Module
from ellar_throttler import ThrottlerModule

@Module(modules=[
    ThrottlerModule.setup(ttl=60, limit=10)
])
class ApplicationModule:
    pass

Apply to Controller

# project_name/controller.py
from ellar.common import Controller, guards
from ellar_throttler import throttle, ThrottlerGuard

@Controller()
class AppController:

  @guards(ThrottlerGuard)
  @throttle(limit=5, ttl=30)
  def normal(self):
      pass

Full Changelog: https://github.com/eadwinCode/ellar-throttler/commits/0.0.2