Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .kokoro/release.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash
set -euo pipefail
set -x # Echo commands for build transparency in Kokoro logs

# -----------------------------------------------------------------------------
# 1. Workspace & Directory Resolution
Expand Down
14 changes: 8 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Requirements
Installation
------------

.. code-block::
.. code-block:: bash

pip install .
pip install google-ads-datamanager-util

Documentation
-------------
Expand All @@ -22,14 +22,14 @@ configure, and use this client library.
Run samples
-----------

Samples are provided in the `samples/` directory, and the `samples/sampledata`
Samples are provided in the ``samples/`` directory, and the ``samples/sampledata``
directory contains samples of input files you can use with the samples.

To run a sample, invoke the script using the command line. You can pass
arguments to the script in one of two ways:

1. Explicitly, on the command line
-----------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: bash

Expand All @@ -40,7 +40,7 @@ arguments to the script in one of two ways:
--json_file='</path/to/your/file>'

2. Using an arguments file
--------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~

You can also save arguments in a file, with one argument per line.

Expand Down Expand Up @@ -71,12 +71,14 @@ https://github.com/googleads/data-manager-python/issues
Contributing
------------

Contributions welcome! See the [Contributing Guide](CONTRIBUTING.md).
Contributions welcome! See the `Contributing Guide <CONTRIBUTING.md>`_.

Authors
-------

* `Josh Radcliff`_
* `Lindsey Volta`_

.. _Developer Site: https://developers.google.com/data-manager/api/get-started/set-up-access#python
.. _Josh Radcliff: https://github.com/jradcliff
.. _Lindsey Volta: https://github.com/lindsey-volta
Empty file.
13 changes: 3 additions & 10 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import os
import pathlib

PYTHON_VERSIONS = ["3.10", "3.11", "3.12", "3.13"]
PYTHON_VERSIONS = ["3.10", "3.11", "3.12", "3.13", "3.14"]

TEST_COMMAND = [
"coverage",
Expand All @@ -39,7 +39,7 @@
FREEZE_COMMAND = ["python", "-m", "pip", "freeze"]
TEST_DEPENDENCIES = [
"pyfakefs>=5.0.0,<6.0",
"coverage==6.5.0",
"coverage>=7.0.0",
]


Expand All @@ -58,11 +58,4 @@ def tests(session):
@nox.session(venv_backend="none")
def format(session):
"""Runs the black formatter and applies formatting fixes."""
session.run(
"black",
"-l",
"80",
"--exclude",
r"/(v[0-9]+|\.eggs|\.git|_cache|\.nox|\.tox|\.venv|\.svn|_build|buck-out|build|dist)/",
".",
)
session.run("black", ".")
23 changes: 19 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,25 @@ build-backend = "setuptools.build_meta"

[project]
name = "google-ads-datamanager-util"
version = "0.4.0"
version = "0.4.0rc1"
description = "Utilities for the Data Manager API"
readme = "./README.rst"
requires-python = ">=3.10, <3.14"
license = {text = "Apache 2.0"}
requires-python = ">=3.10"
license = "Apache-2.0"
authors = [
{name = "Google LLC", email = "googleapis-packages@google.com"}
]
classifiers = [
"Intended Audience :: Developers",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"PyYAML >= 5.1, < 7.0",
Expand All @@ -44,6 +45,12 @@ dependencies = [
"typing_extensions",
]

[project.urls]
Homepage = "https://github.com/googleads/data-manager-python"
Documentation = "https://developers.google.com/data-manager/api/get-started/set-up-access#python"
Repository = "https://github.com/googleads/data-manager-python"
"Issue Tracker" = "https://github.com/googleads/data-manager-python/issues"

[project.optional-dependencies]
dev = [
"black[jupyter]",
Expand All @@ -59,3 +66,11 @@ samples = [
[tool.setuptools]
packages = ["google.ads.datamanager_util"]

[tool.setuptools.package-data]
"google.ads.datamanager_util" = ["py.typed"]

[tool.black]
line-length = 80
# Omit py314 until 3.14 GA to avoid Black AST parser warnings on Python <= 3.13.
target-version = ["py310", "py311", "py312", "py313"]