-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for running (and installing) the main CLI #572
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f0cf9c7
to
eb84e49
Compare
With this `python -m gel` or `uvx gel` will run automatically download, cache and run the Gel CLI. In virtualenvs the `gel` command is automatically available once the `gel` package is installed without the need to download and run the CLI separately. Tested on Linux, native Windows and its various Posixish shells (MINGW, MSYS, Cygwin) and macOS.
eb84e49
to
42f0cfb
Compare
fantix
approved these changes
Jan 25, 2025
msullivan
added a commit
that referenced
this pull request
Feb 23, 2025
EdgeDB has been renamed to Gel, and so has this python package. Changes ======= * Rename the package to gel! The package still provides an ``edgedb`` module in addition to ``gel``, but ``gel`` is now preferred. (by @msullivan in 83349d4 for #566) * Allow cloud instance names to contain '-' and '_' in the org part to support vercel instances (by @msullivan in 5b5be68 for #1084) * Support specifying SNI tls_server_name (by @msullivan in 6b28b98 for #1088) * Support GEL_ env vars and gel.toml (by @msullivan in d0b3961 for #532) * Add support for protocol 3.0 (by @elprans in 2e6a877 for #534) * Add support for newly exposed Postgres types (by @elprans in 48a67c1) * Kill pre-1.0 forever deprecated API / dead code. (by @1st1 in 8669e78) * Rename main module from edgedb to gel (by @msullivan in 10d61a1 for #544) * Support the gel:// dsn protocol (by @msullivan in 84c533c for #546) * Add a way to export SQLAlchemy models from Gel (EdgeDB). (by @vpetrovykh in 645fce0 for #536) * Implement gel.Record type (by @1st1 in ff3aad2 for #560) * Add ORM model generators for Django, SQLAlchemy, sqlmodel. (by @vpetrovykh in ad37a6b) * Add support for REPEATABLE READ isolation (requires server support) (by @elprans in 8f40d0e for #565) * Retry calls to `execute` as well as to `query` (by @msullivan in e263f2b for #577) * Add support for running (and installing) the main CLI (by @elprans in 023697a for #572) * Rename AI to RAGClient and add compat names (by @fantix in e5aae27 for #578)
Merged
msullivan
added a commit
that referenced
this pull request
Feb 23, 2025
EdgeDB has been renamed to Gel, and so has this python package. Changes ======= * Rename the package to gel! The package still provides an ``edgedb`` module in addition to ``gel``, but ``gel`` is now preferred. (by @msullivan in 83349d4 for #566) * Allow cloud instance names to contain '-' and '_' in the org part to support vercel instances (by @msullivan in 5b5be68 for #1084) * Support specifying SNI tls_server_name (by @msullivan in 6b28b98 for #1088) * Support GEL_ env vars and gel.toml (by @msullivan in d0b3961 for #532) * Add support for protocol 3.0 (by @elprans in 2e6a877 for #534) * Add support for newly exposed Postgres types (by @elprans in 48a67c1) * Kill pre-1.0 forever deprecated API / dead code. (by @1st1 in 8669e78) * Rename main module from edgedb to gel (by @msullivan in 10d61a1 for #544) * Support the gel:// dsn protocol (by @msullivan in 84c533c for #546) * Add a way to export SQLAlchemy models from Gel (EdgeDB). (by @vpetrovykh in 645fce0 for #536) * Implement gel.Record type (by @1st1 in ff3aad2 for #560) * Add ORM model generators for Django, SQLAlchemy, sqlmodel. (by @vpetrovykh in ad37a6b) * Add support for REPEATABLE READ isolation (requires server support) (by @elprans in 8f40d0e for #565) * Retry calls to `execute` as well as to `query` (by @msullivan in e263f2b for #577) * Add support for running (and installing) the main CLI (by @elprans in 023697a for #572) * Rename AI to RAGClient and add compat names (by @fantix in e5aae27 for #578)
msullivan
added a commit
that referenced
this pull request
Feb 23, 2025
EdgeDB has been renamed to Gel, and so has this python package. Changes ======= * Rename the package to gel! The package still provides an ``edgedb`` module in addition to ``gel``, but ``gel`` is now preferred. (by @msullivan in 83349d4 for #566) * Allow cloud instance names to contain '-' and '_' in the org part to support vercel instances (by @msullivan in 5b5be68 for #1084) * Support specifying SNI tls_server_name (by @msullivan in 6b28b98 for #1088) * Support GEL_ env vars and gel.toml (by @msullivan in d0b3961 for #532) * Add support for protocol 3.0 (by @elprans in 2e6a877 for #534) * Add support for newly exposed Postgres types (by @elprans in 48a67c1) * Kill pre-1.0 forever deprecated API / dead code. (by @1st1 in 8669e78) * Rename main module from edgedb to gel (by @msullivan in 10d61a1 for #544) * Support the gel:// dsn protocol (by @msullivan in 84c533c for #546) * Add a way to export SQLAlchemy models from Gel (EdgeDB). (by @vpetrovykh in 645fce0 for #536) * Implement gel.Record type (by @1st1 in ff3aad2 for #560) * Add ORM model generators for Django, SQLAlchemy, sqlmodel. (by @vpetrovykh in ad37a6b) * Add support for REPEATABLE READ isolation (requires server support) (by @elprans in 8f40d0e for #565) * Retry calls to `execute` as well as to `query` (by @msullivan in e263f2b for #577) * Add support for running (and installing) the main CLI (by @elprans in 023697a for #572) * Rename AI to RAGClient and add compat names (by @fantix in e5aae27 for #578)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With this
python -m gel
oruvx gel
will run automatically download,cache and run the Gel CLI. In virtualenvs the
gel
command isautomatically available once the
gel
package is installed without theneed to download and run the CLI separately.
Tested on Linux, native Windows and its various Posixish shells
(MINGW, MSYS, Cygwin) and macOS.