René's URL Explorer Experiment


Title: [FEATURE] Enhance `StackQL` Constructor for Improved Usability · Issue #19 · stackql/pystackql · GitHub

Open Graph Title: [FEATURE] Enhance `StackQL` Constructor for Improved Usability · Issue #19 · stackql/pystackql

X Title: [FEATURE] Enhance `StackQL` Constructor for Improved Usability · Issue #19 · stackql/pystackql

Description: Description The StackQL class requires a refactor to separate read-only parameters and constructor arguments, as well as update and enhance its functionality regarding output formatting and argument handling, particularly when server_mod...

Open Graph Description: Description The StackQL class requires a refactor to separate read-only parameters and constructor arguments, as well as update and enhance its functionality regarding output formatting and argumen...

X Description: Description The StackQL class requires a refactor to separate read-only parameters and constructor arguments, as well as update and enhance its functionality regarding output formatting and argumen...

Opengraph URL: https://github.com/stackql/pystackql/issues/19

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[FEATURE] Enhance `StackQL` Constructor for Improved Usability","articleBody":"## Description\r\n\r\nThe `StackQL` class requires a refactor to separate read-only parameters and constructor arguments, as well as update and enhance its functionality regarding output formatting and argument handling, particularly when `server_mode` is set to `False`.\r\n\r\n## Detailed Changes\r\n \r\n### 1. Changes to Read-Only Parameters\r\n- Ensure the following parameters are only valid when `server_mode=False`:\r\n  - `version`\r\n  - `params`\r\n  - `bin_path`\r\n  - `sha`\r\n  - `auth`\r\n  \r\n### 2. Removal and Replacement of Arguments\r\n- Remove `parse_json` and replace it with `output` which accepts the following options:\r\n  - `dict` (default)\r\n  - `pandas`\r\n  - `csv` (only if `server_mode=False`)\r\n\r\n### 3. Additional Argument Handling\r\nWhen `output='csv'`, introduce additional parameters:\r\n- `delimiter`: Defaults to `,`.\r\n- `hide_headers`: Defaults to `False`.\r\n\r\nIf `server_mode=False`, allow additional configuration through the following arguments:\r\n- `api_timeout`: Default 45, 0 for no timeout\r\n- `proxy_host`: HTTP proxy host, default None\r\n- `proxy_password`: HTTP proxy password, default None\r\n- `proxy_port`: Int, HTTP proxy port, default -1\r\n- `proxy_scheme`: HTTP proxy scheme, default \"http\"\r\n- `proxy_user`: Default None\r\n- `max_results`: Max results per HTTP request, default -1\r\n- `page_limit`: Max pages of results per resource, default 20\r\n- `max_depth`: Max depth for indirect queries, default 5\r\n  \r\n## Proposed Docstring Update\r\n\r\n```python\r\nclass StackQL:\r\n    \"\"\"\r\n    A class representing an instance of the StackQL query engine.\r\n\r\n    download_dir: The download directory for the StackQL executable.\r\n        :type download_dir: str\r\n        :default: site.getuserbase()\r\n\r\n    server_mode: Connect to a StackQL server.\r\n        :type server_mode: bool\r\n        :default: False\r\n    \r\n    server_address: The address of the StackQL server.\r\n        :type server_address: str\r\n        :default: '0.0.0.0'\r\n    \r\n    server_port: The port of the StackQL server.\r\n        :type server_port: int\r\n        :default: 5466\r\n    \r\n    output: Determines the format of the output, options are 'dict', 'pandas', and 'csv'.\r\n        :type output: str\r\n        :default: 'dict'\r\n        :options: ['dict', 'pandas', 'csv']\r\n    \r\n    delimiter: (Only if output='csv') Delimiter character for CSV output.\r\n        :type delimiter: str\r\n        :default: ','\r\n\r\n    hide_headers: (Only if output='csv') Whether to hide headers in CSV output.\r\n        :type hide_headers: bool\r\n        :default: False\r\n\r\n    api_timeout: (server_mode=False only) API timeout.\r\n        :type api_timeout: int\r\n        :default: 45\r\n    \r\n    proxy_host: (server_mode=False only) HTTP proxy host.\r\n        :type proxy_host: str\r\n        :default: None\r\n    \r\n    proxy_password: (server_mode=False only) HTTP proxy password.\r\n        :type proxy_password: str\r\n        :default: None\r\n\r\n    proxy_port: (server_mode=False only) HTTP proxy port.\r\n        :type proxy_port: int\r\n        :default: -1\r\n    \r\n    proxy_scheme: (server_mode=False only) HTTP proxy scheme.\r\n        :type proxy_scheme: str\r\n        :default: 'http'\r\n    \r\n    proxy_user: (server_mode=False only) HTTP proxy user.\r\n        :type proxy_user: str\r\n        :default: None\r\n    \r\n    max_results: (server_mode=False only) Max results per HTTP request.\r\n        :type max_results: int\r\n        :default: -1\r\n    \r\n    page_limit: (server_mode=False only) Max pages of results that will be returned per resource.\r\n        :type page_limit: int\r\n        :default: 20\r\n    \r\n    max_depth: (server_mode=False only) Max depth for indirect queries: views and subqueries.\r\n        :type max_depth: int\r\n        :default: 5\r\n    \r\n    --- Read-Only Attributes ---\r\n    \r\n    platform: The operating system platform.\r\n        :type platform: str\r\n    \r\n    package_version: The version number of the pystackql Python package.\r\n        :type package_version: str\r\n    \r\n    version: (server_mode=False only) The version number of the StackQL executable.\r\n        :type version: str\r\n    \r\n    params: (server_mode=False only) A list of command-line parameters passed to the StackQL executable.\r\n        :type params: list\r\n    \r\n    bin_path: (server_mode=False only) The full path of the StackQL executable.\r\n        :type bin_path: str\r\n    \r\n    sha: (server_mode=False only) The commit (short) sha for the installed `stackql` binary build.\r\n        :type sha: str\r\n    \r\n    auth: (server_mode=False only) StackQL provider authentication object supplied using the class constructor.\r\n        :type auth: dict\r\n    \"\"\"\r\n","author":{"url":"https://github.com/jeffreyaven","@type":"Person","name":"jeffreyaven"},"datePublished":"2023-10-13T01:09:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/19/pystackql/issues/19"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:90e239a5-f40e-2557-9aa4-6096e851d73c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA90E:9EDB:A4BED8:DEF31A:6A4D42DB
html-safe-noncee56922f6e25b1744d867e06138817c7528d9a8c373875e6a81729e6bddef3aa3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTBFOjlFREI6QTRCRUQ4OkRFRjMxQTo2QTRENDJEQiIsInZpc2l0b3JfaWQiOiI2OTY3NDU1NzM1MDIyOTYxMzcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdf69ca8bffd524c222ced1baa11fdfaeb7757a45ed5d4e8479d6583e51faceca
hovercard-subject-tagissue:1941052223
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stackql/pystackql/19/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4330fc954624b66fa8f684dadf65919b8919d246e7ee8b35976e1b10555f3b19/stackql/pystackql/issues/19
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4330fc954624b66fa8f684dadf65919b8919d246e7ee8b35976e1b10555f3b19/stackql/pystackql/issues/19
og:image:altDescription The StackQL class requires a refactor to separate read-only parameters and constructor arguments, as well as update and enhance its functionality regarding output formatting and argumen...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejeffreyaven
hostnamegithub.com
expected-hostnamegithub.com
None92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6
turbo-cache-controlno-preview
go-importgithub.com/stackql/pystackql git https://github.com/stackql/pystackql.git
octolytics-dimension-user_id95105302
octolytics-dimension-user_loginstackql
octolytics-dimension-repository_id455730530
octolytics-dimension-repository_nwostackql/pystackql
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id455730530
octolytics-dimension-repository_network_root_nwostackql/pystackql
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release56fc8347865a14e2ec811533d68f929cf4e0ec19
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/stackql/pystackql/issues/19#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackql%2Fpystackql%2Fissues%2F19
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackql%2Fpystackql%2Fissues%2F19
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=stackql%2Fpystackql
Reloadhttps://github.com/stackql/pystackql/issues/19
Reloadhttps://github.com/stackql/pystackql/issues/19
Reloadhttps://github.com/stackql/pystackql/issues/19
Please reload this pagehttps://github.com/stackql/pystackql/issues/19
stackql https://github.com/stackql
pystackqlhttps://github.com/stackql/pystackql
Notifications https://github.com/login?return_to=%2Fstackql%2Fpystackql
Fork 2 https://github.com/login?return_to=%2Fstackql%2Fpystackql
Star 9 https://github.com/login?return_to=%2Fstackql%2Fpystackql
Code https://github.com/stackql/pystackql
Issues 0 https://github.com/stackql/pystackql/issues
Pull requests 0 https://github.com/stackql/pystackql/pulls
Actions https://github.com/stackql/pystackql/actions
Projects https://github.com/stackql/pystackql/projects
Security and quality 0 https://github.com/stackql/pystackql/security
Insights https://github.com/stackql/pystackql/pulse
Code https://github.com/stackql/pystackql
Issues https://github.com/stackql/pystackql/issues
Pull requests https://github.com/stackql/pystackql/pulls
Actions https://github.com/stackql/pystackql/actions
Projects https://github.com/stackql/pystackql/projects
Security and quality https://github.com/stackql/pystackql/security
Insights https://github.com/stackql/pystackql/pulse
[FEATURE] Enhance StackQL Constructor for Improved Usabilityhttps://github.com/stackql/pystackql/issues/19#top
enhancementNew feature or requesthttps://github.com/stackql/pystackql/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/jeffreyaven
jeffreyavenhttps://github.com/jeffreyaven
on Oct 13, 2023https://github.com/stackql/pystackql/issues/19#issue-1941052223
enhancementNew feature or requesthttps://github.com/stackql/pystackql/issues?q=state%3Aopen%20label%3A%22enhancement%22
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.