tswast
Repos
150
Followers
230
Following
68

Snippets of code used in blog posts and other media.

Tool to create and edit Pikov pixel art Markov chain animations.

A collection of pixel art generating bots.

4
1

Google BigQuery connector for pandas

340
105

A selection game to help gamers pick who goes first.

0
1

Freezes a Flask application into a set of static files.

735
69

Events

chore: move version to gapic_version.py (#537)

  • chore: move version to gapic_version.py

  • customize testing/constraints-3.7.txt

  • set coverage level to 98%

Created at 1 day ago
tswast delete branch migrate-to-templated-owlbot-py-setup-py
Created at 1 day ago
chore: move version to gapic_version.py

This PR includes the following changes:

  • Configure release-please to use a manifest file
  • Clean up owlbot.py
  • Clean up setup.py
  • Move the hardcoded version out of setup.py and into gapic_version.py. Also, add a corresponding gapic_version.py files for the v1 and v1beta2 client.
  • Configure release-please to update the version in gapic_version.py and autogenerated snippets json files.
(py39) partheniou@partheniou-vm-2:~/.repo/python-bigquery-storage$ python3
Python 3.9.13 (main, Nov 29 2022, 19:17:35) 
[GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import google.cloud.bigquery_storage
>>> import google.cloud.bigquery_storage_v1
>>> import google.cloud.bigquery_storage_v1beta2
>>> google.cloud.bigquery_storage.__version__
'2.16.2'
>>> google.cloud.bigquery_storage_v1.__version__
'2.16.2'
>>> google.cloud.bigquery_storage_v1beta2.__version__
'2.16.2'
Created at 1 day ago
fix: use version.py instead of pkg_resources.get_distribution

Fixes #482

Created at 1 day ago
fix: use version.py instead of pkg_resources.get_distribution

Thanks for the contribution! I'm closing this in favor of https://github.com/googleapis/python-bigquery-storage/pull/537

Created at 1 day ago
Created at 2 days ago
tests.unit.test__struct: many tests failed

prerelease session. Duplicate of https://github.com/googleapis/python-bigquery-sqlalchemy/issues/510

Created at 2 days ago
Expose `sqlalchemy_bigquery.__version__` property

I notice __version__ is missing from __all__ here: https://github.com/googleapis/python-bigquery-sqlalchemy/blob/main/sqlalchemy_bigquery/init.py

We should also add a unit test to verify that we can access the __version__ property.

Created at 2 days ago

chore(main): release 1.5.0 (#469)

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>

Created at 2 days ago
tswast delete branch release-please--branches--main
Created at 2 days ago
chore(main): release 1.5.0

:robot: I have created a release beep boop

1.5.0 (2022-11-29)

Features

  • Allow Users to Supply Their Own BigQuery Client (#474) (4f72d4e)

Bug Fixes

  • deps: Allow pyarrow version 7+ (#479) (0f6be67)
  • Require python 3.7+ (#468) (52ec808)
  • Sets cache support to false, removes upper req limit (#499) (be63adc)
  • Updates test to account for UTC in failing test (#501) (a050ccf)
  • Use packaging version parser instead of string splitting (#513) (bb7f6a7)

This PR was generated with Release Please. See documentation.

Created at 2 days ago
SQLAlchemy 2.0 support

Thanks for the report! I think we're good now for 1.4.x versions, but I noticed in https://github.com/googleapis/python-bigquery-sqlalchemy/pull/513 that there are some failures we'll need to address for 2.x support. We'll keep this issue open while we figure out what's needed.

Created at 2 days ago
pull request opened
fix: flake8 has migrated to github
Created at 2 days ago
create branch
tswast create branch tswast-patch-1
Created at 2 days ago
tswast delete branch release-please--branches--main
Created at 2 days ago

chore(main): release 0.18.1 (#593)

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>

Created at 2 days ago
pull request closed
chore(main): release 0.18.1

:robot: I have created a release beep boop

0.18.1 (2022-11-28)

Dependencies

  • Remove upper bound for python and pyarrow (#592) (4d28684)

This PR was generated with Release Please. See documentation.

Created at 2 days ago
DATE converted to dbdate instead of datetime64[ns] dtype

Related: readthedocs is out-of-date https://github.com/googleapis/python-bigquery-pandas/issues/448

But https://googleapis.dev/python/pandas-gbq/latest/reading.html#inferring-the-dataframe-s-dtypes also needs an update.

Created at 3 days ago

deps: Remove upper bound for python and pyarrow

Created at 3 days ago
deps: Remove upper bound for python and pyarrow

Thanks for the contribution! @EugeneTorap, could you sign the CLA? We can't merge without that.

Created at 3 days ago

CLN Simplify tz / utc arguments (#49863)

Simplify tz / utc arguments

Co-authored-by: MarcoGorelli <>

REGR: DataFrameGroupBy.transform with reducer and as_index=False returns null values (#49864)

  • REGR: groupby.transform with reducer returns null values

  • whatsnew

  • Better test

Revert "Vendored klib quadatric probing (#49197)" (#49855)

This reverts commit 2317bf08ed172048a66a0533645ebc1886939417.

PERF: BaseMaskedArray.iter (#49851)

  • BaseMaskedArray.iter perf

  • fix

  • gh ref

  • clarify whatsnew

DEPR: Enforce numeric_only=False in groupby sum/mean (#49829)

  • DEPR: Enforce numeric_only=False in groupby sum/mean

  • cleanup

  • Refinements

  • whatsnew fixup

STYLE: Enable Pylint useless-parent-delegation warning (#49773)

  • Enable Pylint useless-parent-delegation warning and remove superfluous overriding methods

  • Remove annotations that caused errors.

Remove @skip_nested annotations that cause test failures and replace them with statements that suppress the useless-parent-delegation warning.

  • Remove tests that can fall back to the base class

  • Move a comment to ensure that pre-commit passes

BUG: support ambiguous=infer with ZoneInfo (#49700)

  • BUG: rendering dt64tz values with non-pytz

  • GH ref

  • py38 compat

  • BUG: support ambiguous=infer with ZoneInfo

  • add type declaration

  • no-tzdata compat

STYLE: fix pylint redefined-outer-name warning for file (#49844)

  • addressed pylint redfined-outer-name warning in files

  • addressed pylint redefined-outer-name warning in files

  • addressed pylint redefined_out_name warning in datetimes.py

  • addressed pylint redefined_out_name warning in datetimes.py

  • updated pylint fix by renaming import timezones to libtimezones

DEPR Enforce reversion of Size color aliases (#49836)

BUG: array_equivalent_object with mismatched shapes (#49363)

  • BUG: array_equivalent_object with mismatched shapes

  • test with mismatched dtypes

CLN: assorted (#49850)

  • CLN: assorted

  • revert

  • mypy fixup

  • mypy fixup

  • troubleshoot min_version build

BUG: MultiIndex.putmask losing ea dtype (#49847)

  • BUG: MultiIndex.putmask losing ea dtype

  • Fix typing

  • Add asv

  • Simplify and add whatsnew

REF factor out parse_pydatetime from array_to_datetime (#49866)

  • factor out parse_pydatetime

  • fix segfault

  • :truck: rename validate_tzout to convert_timezone

  • change ensure_reso return value

  • add except? -1 to ensure_reso

Co-authored-by: MarcoGorelli <>

CI: Remove deprecated numpy dtype aliases (#49886)

REF: remove _time_shift (#49882)

CLN: move coverage config to pyproject.toml (#49879)

  • CLN: move coverage config to pyproject.toml

  • space

DOC/REF: Clarify pip extras dependencies & cleanups (#49852)

  • DOC/REF: Clarify pip extras dependencies & cleanups

  • quote the install

DEP Remove pytorch from environment.yml (#49798)

  • no torch

  • set matplotlib to minimum version

  • take mpl pin out again

  • use pip for matplotlib

  • remove default channel

  • no pin needed if no default channel?

  • turns out we gotta pin

  • :fire: remove torch

  • undo asv.conf.json change

  • comment out pytorch

  • remove commented-out torch

Co-authored-by: MarcoGorelli <>

DOC: Add release process to the docs (#49858)

  • DOC: Add release process

  • Update doc/source/development/maintaining.rst

Co-authored-by: Matthew Roeschke 10647082+mroeschke@users.noreply.github.com

  • Addressing review comments

Co-authored-by: Matthew Roeschke 10647082+mroeschke@users.noreply.github.com

WEB: Remove interactive terminal (#49807)

  • WEB: Remove interactive terminal

  • Remove dependencies and CI job of the interactive terminal

Created at 3 days ago

fix: Sets cache support to false, removes upper req limit (#499)

  • Sets cache support to false, removes upper req limit

  • fix: Sets cache support to false, removes upper req limit

  • Removes OBE comments regarding max version number

fix: updates test to account for UTC in failing test (#501)

  • Sets cache support to false, removes upper req limit

  • fix: adds timestamp to ensure tests pass successfully

  • fix: updates tests to account for UTC

  • restores path in nox session

Merge branch 'main' into main

Created at 1 week ago