Skip to content
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
merged 1 commit into from
Feb 14, 2025

Conversation

elprans
Copy link
Member

@elprans elprans commented Jan 25, 2025

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.

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.
@elprans elprans merged commit 023697a into master Feb 14, 2025
62 checks passed
@elprans elprans deleted the cli-downloader branch February 14, 2025 18:38
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 msullivan mentioned this pull request Feb 23, 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)
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants