Skip to content

Releases: python-ellar/ellar-throttler

0.1.7

21 Aug 22:58
d47fdd6

Choose a tag to compare

What's Changed

Full Changelog: 0.1.5...0.1.7

0.1.5

21 Mar 10:25
4bd5aa8

Choose a tag to compare

What's Changed

Full Changelog: 0.1.3...0.1.5

0.1.3

04 Mar 11:30
9231960

Choose a tag to compare

What's Changed

Full Changelog: 0.1.2...0.1.3

0.1.2

14 Feb 13:40
1f7dee0

Choose a tag to compare

What's Changed

Full Changelog: 0.1.0...0.1.2

0.1.0

27 Dec 06:40
cc93c7d

Choose a tag to compare

What's Changed

Full Changelog: 0.0.9...0.1.0

0.0.9

07 Dec 01:40
a818211

Choose a tag to compare

What's Changed

Full Changelog: 0.0.7...0.0.9

0.0.7

13 Oct 11:14
2057763

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.0.6...0.0.7

0.0.6

11 Aug 07:16
f06e410

Choose a tag to compare

What's Changed

Full Changelog: 0.0.4...0.0.6

0.0.4

11 May 21:51
f601321

Choose a tag to compare

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

26 Mar 13:41
8e89938

Choose a tag to compare

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