Skip to content

Commit e9a4a63

Browse files
committed
pre-0.9.7 2
1 parent c87d089 commit e9a4a63

21 files changed

Lines changed: 211 additions & 159 deletions

.github/workflows/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
python-version: 3.14
2121
cache-python: true
2222
activate-environment: true
23-
- run: uv pip install ".[docs]" && make -C docs html
23+
- run: uv pip install ".[themes]" && make -C docs html
2424
- uses: actions/upload-pages-artifact@v5.0.0
2525
with:
2626
path: docs/build/html

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ python:
2424
- method: pip
2525
path: .
2626
extra_requirements:
27-
- docs
27+
- themes

AUTHORS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
## Technical leads
44

5-
* Jonathan Dung - owner - Hong Kong
5+
- Jonathan Dung - owner - Hong Kong
66

77
## Developers
88

9-
* Jonathan Dung - sole maintainer - Hong Kong
9+
- Jonathan Dung - sole maintainer - Hong Kong
1010

1111
## All other contributors and their affiliations
1212

CHANGELOG.md

Lines changed: 44 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
hide-toc: true
3+
---
4+
15
# Changelog
26

37
All notable changes to this project are and will be documented in this file.
@@ -63,23 +67,21 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
6367

6468
- Declared end of life for all alpha versions.
6569
- Changed version shelving and unshelving schema.
66-
- Added the following to the public API:
67-
68-
- Top level:
70+
- Finalized the following top level objects:
6971

70-
Constants:
71-
- \_\_version__
72-
- \_\_hexversion__
73-
- submodules_map
74-
- preloaded_submodules
75-
- console_preloaded_submodules
72+
Constants:
73+
- \_\_version__
74+
- \_\_hexversion__
75+
- submodules_map
76+
- preloaded_submodules
77+
- console_preloaded_submodules
7678

77-
Functions:
78-
- time_since_boot
79+
Functions:
80+
- time_since_boot
7981

80-
Submodules:
82+
- Declared the following submodules and symbols as part of the public API:
8183

82-
- altlocks
84+
- altlocks
8385

8486
Classes:
8587
- ResourceGuard
@@ -89,7 +91,7 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
8991
- DynamicThrottle
9092
- Releasing
9193

92-
- base
94+
- base
9395

9496
Classes:
9597
- event_loop (context manager)
@@ -110,7 +112,7 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
110112
- dummy_task
111113
- yield_to_event_loop
112114

113-
- buckets
115+
- buckets
114116

115117
Classes:
116118
- TokenBucket
@@ -122,19 +124,19 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
122124
- AsyncLRUCache
123125
- CacheWithBackgroundRefresh
124126

125-
- channels
127+
- channels
126128

127129
Classes:
128130
- Observable
129131
- EventBus
130132
- Rendezvous
131133

132-
- cli
134+
- cli
133135

134136
Functions:
135137
- run
136138

137-
- compete
139+
- compete
138140

139141
Functions:
140142
- first_completed
@@ -144,7 +146,7 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
144146
- enhanced_gather
145147
- enhanced_staggered_race
146148

147-
- config
149+
- config
148150

149151
Classes:
150152
- debugging
@@ -162,13 +164,13 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
162164
- loaded_all
163165
- logging_to
164166

165-
- console
167+
- console
166168

167169
Classes:
168170
- ConsoleBase
169171
- AsyncUtilsConsole
170172

171-
- constants
173+
- constants
172174

173175
Classes:
174176
- sentinel_base
@@ -181,7 +183,7 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
181183
Sentinels:
182184
- RAISE
183185

184-
- context
186+
- context
185187

186188
Classes:
187189
- Context
@@ -196,13 +198,13 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
196198
- getcontext
197199
- setcontext
198200

199-
- events
201+
- events
200202

201203
Classes:
202204
- SingleWaiterEventWithValue
203205
- EventWithValue
204206

205-
- exceptions:
207+
- exceptions:
206208

207209
Classes:
208210
- ref
@@ -273,7 +275,7 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
273275
- wrap_exc
274276
- unwrap_exc
275277

276-
- func
278+
- func
277279

278280
Classes:
279281
- RateLimited
@@ -294,7 +296,7 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
294296
- star
295297
- unstar
296298

297-
- futures
299+
- futures
298300

299301
Classes:
300302
- AsyncCallbacksFuture
@@ -306,7 +308,7 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
306308
- TimeAwareFuture
307309
- TimeAwareTask
308310

309-
- io
311+
- io
310312

311313
Classes:
312314
- AsyncReadWriteCouple
@@ -316,19 +318,19 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
316318
- double_ended_text_pipe
317319
- double_ended_binary_pipe
318320

319-
- iterclasses
321+
- iterclasses
320322

321323
Classes:
322324
- achain
323325
- apeekable
324326
- abucket
325327

326-
- iters
328+
- iters
327329

328330
Functions:
329331
- ... (There are too many of these, so just refer to the IDE autocomplete or read the stub)
330332

331-
- locks
333+
- locks
332334

333335
Classes:
334336
- AdvancedRateLimit
@@ -341,15 +343,16 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
341343
- LocksmithBase
342344
- MultiCountDownLatch
343345

344-
- misc
346+
- misc
345347

346348
Classes:
349+
- CallbackAccumulator
347350
- StateMachine
348351

349352
Functions:
350353
- gather_with_limited_concurrency
351354

352-
- mixins
355+
- mixins
353356

354357
Interfaces/Mixins:
355358
- LoopBoundMixin
@@ -361,7 +364,7 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
361364
- LockWithOwnerMixin
362365
- EventMixin
363366

364-
- networking
367+
- networking
365368

366369
Classes:
367370
- LineProtocol
@@ -370,28 +373,27 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
370373
- CRProtocol
371374
- SocketTransport
372375

373-
- pools
376+
- pools
374377

375378
Classes:
376379
- AdvancedPool
377380
- ConnectionPool
378-
- CallbackAccumulator
379381

380-
- processors
382+
- processors
381383

382384
Classes:
383385
- BoundedBatchProcessor
384386
- BatchProcessor
385387
- Bulkhead
386388

387-
- properties
389+
- properties
388390

389391
Classes:
390392
- AsyncProperty
391393
- AsyncLockProperty
392394
- coercedmethod
393395

394-
- queues
396+
- queues
395397

396398
Interfaces:
397399
- PotentQueueBase
@@ -411,7 +413,7 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
411413
- ignore_qfull
412414
- ignore_qerrs
413415

414-
- rwlocks
416+
- rwlocks
415417

416418
Classes:
417419
- RWLock
@@ -427,7 +429,7 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
427429
Functions:
428430
- wait_for_signal
429431

430-
- tools
432+
- tools
431433

432434
Functions:
433435

@@ -441,7 +443,7 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
441443
- get_cmd_help
442444
- print_cmd_help
443445

444-
- util
446+
- util
445447

446448
Context managers (ignore_*):
447449
- ignore_cancellation
@@ -471,7 +473,7 @@ Added `__lazy_modules__` attribute to submodules where appropriate; added some i
471473
- transient_block_from_loop
472474
- wrap_in_coro
473475

474-
- version
476+
- version
475477

476478
Classes:
477479
- VersionInfo

CODE_OF_CONDUCT.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ of experience, nationality, personal appearance, race, religion, or sexual ident
1010

1111
Examples of behavior that contributes to creating a positive environment include:
1212

13-
* Using welcoming and inclusive language
14-
* Being respectful of differing viewpoints and experiences
15-
* Gracefully accepting constructive criticism
16-
* Focusing on what is best for the community
17-
* Showing empathy towards other community members
13+
- Using welcoming and inclusive language
14+
- Being respectful of differing viewpoints and experiences
15+
- Gracefully accepting constructive criticism
16+
- Focusing on what is best for the community
17+
- Showing empathy towards other community members
1818

1919
Examples of unacceptable behavior by participants include:
2020

21-
* The use of sexualized language or imagery
22-
* Unwelcome sexual attention or advances
23-
* Trolling, insulting/derogatory comments, personal or political attacks
24-
* Public or private harassment
25-
* Publishing others' private information, such as a physical or electronic address, without explicit permission
26-
* Other conduct which could reasonably be considered inappropriate in a professional setting
21+
- The use of sexualized language or imagery
22+
- Unwelcome sexual attention or advances
23+
- Trolling, insulting/derogatory comments, personal or political attacks
24+
- Public or private harassment
25+
- Publishing others' private information, such as a physical or electronic address, without explicit permission
26+
- Other conduct which could reasonably be considered inappropriate in a professional setting
2727

2828
## Our Responsibilities
2929

EXAMPLES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ python3 asyncutils
8989
python3 -m asyncutils.__main__
9090
python3 asyncutils/__main__.py
9191
# python3 -m asyncutils/__main__.py: documented to be unsupported, but works on some versions
92-
# note: python3 asyncutils.__main__ doesn't work because python attempts to find a file called asyncutils.__main__ in the cwd
92+
# note: python3 asyncutils.__main__ doesn't work because python attempts to find a file called asyncutils.__main__ in the current working directory
9393
```
9494

9595
If you're in the integrated shell of VS Code, it is recommended that you unset the `PYTHON_BASIC_REPL` environment variable or turn off shell

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Takes pride in:
2424

2525
## Setup
2626

27-
This package probably wouldn't work on alternate Python implementations. Make sure you have CPython 3.12 or above (even 3.15 will do), and at least one of many Python package managers.
27+
This package probably wouldn't work on alternate Python implementations. Make sure you have CPython 3.12 or above (even 3.15 will do), and at least
28+
one of many Python package managers you're comfortable with.
2829

2930
Discounting the installation, no extra setup is usually needed. See the
3031
[installation guide](https://asyncutils.readthedocs.io/en/stable/installation.html) for more.
@@ -42,7 +43,7 @@ This library is currently in the beta stage, meaning the public API is subject t
4243
backward-incompatible. See [the compatibility page](https://asyncutils.readthedocs.io/en/stable/compat.html).
4344

4445
See [this page](https://github.com/jonathandung/asyncutils/tags) for the version tags up to now. Version tags for alpha versions have been phased out
45-
and cleansed, so you will only see tags beginning with 0.9.
46+
and cleansed with the release of v0.9.1, so you will only see tags beginning with 0.9.
4647

4748
## Configuration
4849

SUPPORT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ As fast as I can; that is:
103103
- Security issues: 1 day
104104
- General questions: Community-driven
105105

106-
If the promises above are not met, and there was no relevant post on the discussions page (e.g. hiatus announcement) or my status was not set to 'On
107-
vacation', that must have been a major oversight on my end.
106+
I will try to make a post on the discussions page (e.g. hiatus announcement) and set my status to 'On vacation' or similar in case of inactivity
107+
such that I cannot fulfill these promises or meet deadlines I set myself.
108108

109109
## Closing remarks
110110

asyncutils/_internal/submodules.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
iterclasses_all = 'abucket', 'achain', 'apeekable'
1818
iters_all = 'aaccumulate', 'aall', 'aallequal', 'aany', 'aargmax', 'aargmin', 'aawgenf2agenf', 'abeforeandafter', 'abfs', 'abrent', 'acanonical', 'acat', 'acollapse', 'acombinations', 'acombinations_with_replacement', 'acompress', 'aconsume', 'aconvolve', 'acount', 'acountdown', 'acycle', 'aderangements', 'adfs', 'adft', 'adistinctpermutations', 'adoublestarmap', 'adropwhile', 'aevery', 'aeveryother', 'afactor', 'afilter', 'afilterfalse', 'afirst', 'afirsttrue', 'aflatten', 'aflattentensor', 'aforever', 'afreivalds', 'agather', 'agetitems_from_indices', 'agives', 'agroupby', 'agrouper', 'aguessmax', 'aguessmin', 'ahammingdist', 'aidft', 'ailen', 'ainterleave_stopearly', 'ainterleaveevenly', 'ainterleaverandomly', 'aintersend', 'aintersperse', 'aisempty', 'aislice', 'aisprime', 'aiterate', 'aiterexcept', 'aiterindex', 'alast', 'aloops', 'amap', 'amapif', 'amatmul', 'amatprod', 'amax', 'amergesortedby', 'amin', 'amultifilter', 'amultifilterfalse', 'amultimapif', 'amultistarfilter', 'amultistarfilterfalse', 'ancycles', 'anth', 'anthcombination', 'anthorlast', 'aonlinesorter', 'apadnone', 'apairwise', 'apartition', 'apermutations', 'apolynomialderivative', 'apolynomialeval', 'apolynomialfromroots', 'apowers', 'apowerset', 'apowersetofsets', 'apowersoftwo', 'aprepend', 'aprod', 'aproduct', 'aquantify', 'arandom_combination_with_replacement', 'arandomcombination', 'arandomderangement', 'arandompermutation', 'arandomproduct', 'arange', 'arepeat', 'arepeatfunc', 'areshape', 'areversed', 'aroundrobin', 'aroundrobin2', 'arunlengthdecode', 'arunlengthencode', 'arunningmean', 'arunningmedian', 'asamplel', 'asampleweighted', 'asattolo', 'asendstream', 'aserialize', 'asideeffect', 'asieve', 'asliced', 'asorted', 'asplitat', 'aspy', 'asquaresum', 'astarfilter', 'astarfilterfalse', 'astarmap', 'astarmap_withkwds', 'asubslices', 'asubstrindices', 'asubstrings', 'asum', 'asumprod', 'atabulate', 'atail', 'atakewhile', 'atakewhile_inclusive', 'atakewhilenot', 'atakewhilenot_inclusive', 'atranspose', 'atriplewise', 'aunique', 'aunique_everseen', 'aunique_justseen', 'auniquetoeach', 'aunzip', 'azip', 'aziplongest', 'basic_collect', 'batch', 'batch2', 'batch_process', 'buffer', 'empty_agen', 'fmap', 'fmap_parallel', 'fmap_sequential', 'iter_task', 'map_on_map', 'mat_vec_mul', 'merge', 'tee', 'to_list', 'to_tuple', 'vecs_eq', 'window', 'with_aiter'
1919
locks_all = 'AdvancedRateLimit', 'DynamicBoundedSemaphore', 'KeyedCondition', 'MultiCountDownLatch', 'PriorityLock', 'PriorityRLock', 'PrioritySemaphore', 'RLock'
20-
misc_all = 'StateMachine', 'gather_with_limited_concurrency'
20+
misc_all = 'ConnectionPool', 'StateMachine', 'gather_with_limited_concurrency'
2121
mixins_all = 'AsyncContextMixin', 'AwaitableMixin', 'EventMixin', 'ExecutorRequiredAsyncContextMixin', 'LockMixin', 'LockWithOwnerMixin', 'LoopBoundMixin', 'LoopContextMixin'
2222
networking_all = 'CRLFProtocol', 'CRProtocol', 'LFProtocol', 'LineProtocol', 'SocketTransport'
23-
pools_all = 'AdvancedPool', 'CallbackAccumulator', 'ConnectionPool'
23+
pools_all = 'AdvancedPool', 'CallbackAccumulator'
2424
processors_all = 'BatchProcessor', 'BoundedBatchProcessor', 'Bulkhead'
2525
properties_all = 'AsyncLockProperty', 'AsyncProperty', 'coercedmethod'
2626
queues_all = 'PotentQueueBase', 'SmartLifoQueue', 'SmartPriorityQueue', 'SmartQueue', 'UserPriorityQueue', 'ignore_qempty', 'ignore_qerrs', 'ignore_qfull', 'ignore_qshutdown', 'password_queue'

0 commit comments

Comments
 (0)