René's URL Explorer Experiment


Title: add ldappool module by michaelalang · Pull Request #582 · python-ldap/python-ldap · GitHub

Open Graph Title: add ldappool module by michaelalang · Pull Request #582 · python-ldap/python-ldap

X Title: add ldappool module by michaelalang · Pull Request #582 · python-ldap/python-ldap

Description: I would like to add ldappooling capability to the library. LDAP Pooling example entries as dict from ldappool import ConnectionPool pool = ConnectionPool( params={"keep": True, "autoBind": True, "retries": 2}, max=5) pool.set_uri("ldaps://ldap.example.com:636/dc=example,dc=com?uid,mail?sub?(|(uid=test)(mail=test@example.com))") pool.set_credentials("binddn", "bindpw") with pool.get() as conn: for entry in conn.search_s(pool.basedn, pool.scope, pool.filter, pool.attributes): print(f"{entry[0]}: {entry[1].get('uid')} {entry[1].get('mail')}") for member in entry[1].get("memberOf", []): print(member) changing the connection or credentials for the pool from ldappool import ConnectionPool from ldappool import e2c pool = ConnectionPool( 40,0-1 13% params={"keep": True, "autoBind": True, "retries": 2}, max=5) pool.set_uri("ldaps://ldap.example.com:636/dc=example,dc=com?uid,mail?sub?(|(uid=test)(mail=test@example.com))") pool.set_credentials("binddn", "bindpw") with pool.get() as conn: for entry in map(e2c, conn.search_s(pool.basedn, pool.scope, pool.filter, pool.attributes)): print(f"{entry.dn}: {entry.uid} {entry.mail}") pool.set_credentials(entry.dn, "changeme") with pool.get() as conn: for entry in map(e2c, conn.search_s(pool.basedn, pool.scope, pool.filter, pool.attributes)): print(f"{entry.dn}: {entry.uid} {entry.mail}")

Open Graph Description: I would like to add ldappooling capability to the library. LDAP Pooling example entries as dict from ldappool import ConnectionPool pool = ConnectionPool( params={"keep": True, &q...

X Description: I would like to add ldappooling capability to the library. LDAP Pooling example entries as dict from ldappool import ConnectionPool pool = ConnectionPool( params={"keep": ...

Opengraph URL: https://github.com/python-ldap/python-ldap/pull/582

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:6a4421ec-0ba4-f220-113e-15bff08dc480
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8E76:CDAF2:15003:19E98:69771047
html-safe-nonce6608e55e62de44b63a6d43f5102b76b57b0da54baf4e6b8bb391a6c18d6bc3b2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTc2OkNEQUYyOjE1MDAzOjE5RTk4OjY5NzcxMDQ3IiwidmlzaXRvcl9pZCI6IjUxMDg0NjE3MDMwOTE2NTQ3MjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc17fac3b8277425db79ad799f3da8138cd79a165bb386c4d47770a14fb5653d8
hovercard-subject-tagpull_request:2295265976
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-ldap/python-ldap/pull/582/files
twitter:imagehttps://avatars.githubusercontent.com/u/94735640?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/94735640?s=400&v=4
og:image:altI would like to add ldappooling capability to the library. LDAP Pooling example entries as dict from ldappool import ConnectionPool pool = ConnectionPool( params={"keep": True, &q...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-ldap/python-ldap git https://github.com/python-ldap/python-ldap.git
octolytics-dimension-user_id33895877
octolytics-dimension-user_loginpython-ldap
octolytics-dimension-repository_id111794776
octolytics-dimension-repository_nwopython-ldap/python-ldap
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id111794776
octolytics-dimension-repository_network_root_nwopython-ldap/python-ldap
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef752335dbbea672610081196a1998e39aec5e14b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-ldap%2Fpython-ldap%2Fpull%2F582%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-ldap%2Fpython-ldap%2Fpull%2F582%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-ldap%2Fpython-ldap
Reloadhttps://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files
Reloadhttps://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files
Reloadhttps://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files
python-ldap https://patch-diff.githubusercontent.com/python-ldap
python-ldaphttps://patch-diff.githubusercontent.com/python-ldap/python-ldap
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-ldap%2Fpython-ldap
Fork 137 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-ldap%2Fpython-ldap
Star 436 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-ldap%2Fpython-ldap
Code https://patch-diff.githubusercontent.com/python-ldap/python-ldap
Issues 83 https://patch-diff.githubusercontent.com/python-ldap/python-ldap/issues
Pull requests 19 https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pulls
Actions https://patch-diff.githubusercontent.com/python-ldap/python-ldap/actions
Projects 0 https://patch-diff.githubusercontent.com/python-ldap/python-ldap/projects
Security 3 https://patch-diff.githubusercontent.com/python-ldap/python-ldap/security
Insights https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pulse
Code https://patch-diff.githubusercontent.com/python-ldap/python-ldap
Issues https://patch-diff.githubusercontent.com/python-ldap/python-ldap/issues
Pull requests https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pulls
Actions https://patch-diff.githubusercontent.com/python-ldap/python-ldap/actions
Projects https://patch-diff.githubusercontent.com/python-ldap/python-ldap/projects
Security https://patch-diff.githubusercontent.com/python-ldap/python-ldap/security
Insights https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fpython-ldap%2Fpython-ldap%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fpython-ldap%2Fpython-ldap%2Fissues%2Fnew%2Fchoose
michaelalanghttps://patch-diff.githubusercontent.com/michaelalang
python-ldap:mainhttps://patch-diff.githubusercontent.com/python-ldap/python-ldap/tree/main
michaelalang:ldappool-modulehttps://patch-diff.githubusercontent.com/michaelalang/python-ldap/tree/ldappool-module
Conversation 16 https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582
Commits 9 https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/commits
Checks 0 https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/checks
Files changed https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files
add ldappool module https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files#top
Show all changes 9 commits https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files
5c0d549 add ldappool module michaelalang Jan 23, 2025 https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/commits/5c0d5499b6c30290098cef505ceadcfbe9e00636
665dc81 rebased for easier integration michaelalang Jan 27, 2025 https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/commits/665dc810fe2206fd40680de4159599309269aced
306c2e4 added ldappool to setup and deploy as otherwise the unittest will fail michaelalang Jan 28, 2025 https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/commits/306c2e41adab0630bc0fa6933f9dae6bfdf31f83
7576c47 fixed includes in ldappool unittest, fixed packages section michaelalang Jan 28, 2025 https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/commits/7576c47eef4510680cd73ade8793b9dd5dda4a4b
1140996 added import error for python3.6 on dataclasses, since its not mandat… michaelalang Jan 28, 2025 https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/commits/1140996bf35c982607d122d573da738f93544188
e5e335b some ldap options are not available < 3.9 michaelalang Jan 28, 2025 https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/commits/e5e335b9d7d5a419e05e6a8bcf9eda630e559554
85eae24 added python 3.6-8 checks and exceptions michaelalang Jan 29, 2025 https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/commits/85eae2464efa5c5a1fdbe6b6e8126f7ccf892ae8
e80b2f4 fixed one misses version_info compare michaelalang Jan 29, 2025 https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/commits/e80b2f4cd5555d0a6ddbf8cdffe7fc71c812e447
5e9bd91 minor compare is single int not float michaelalang Jan 30, 2025 https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/commits/5e9bd910f5bd33d328097fc2cc7b742dba50a68c
Clear filters https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files
README.md https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files#diff-d3075e1d719d86250dab7b463895d9549a7480f3c3ab75df552a0cbf50901716
__init__.py https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files#diff-b7ab597d4e9ac60d79dec984645ced6bbca7c50115e1c3eaabba47ddb6cf6d75
__init__.py https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files#diff-13463435510c94490e98b71810223db7f320cc33e3a1dab3625bbb81fc7a0fc8
t_ldappool.py https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files#diff-778ae4073681f770b7687de4664ed3cc2f5b4f315e3ffea03eca80af45b5f592
pyproject.toml https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
setup.py https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
tox.ini https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449
Lib/ldappool/README.mdhttps://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files#diff-d3075e1d719d86250dab7b463895d9549a7480f3c3ab75df552a0cbf50901716
View file https://patch-diff.githubusercontent.com/michaelalang/python-ldap/blob/5e9bd910f5bd33d328097fc2cc7b742dba50a68c/Lib/ldappool/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/{{ revealButtonHref }}
Please reload this pagehttps://patch-diff.githubusercontent.com/python-ldap/python-ldap/pull/582/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.