Skip to content
This repository was archived by the owner on Jul 22, 2021. It is now read-only.

Commit 986ad8f

Browse files
committed
Update to version 1.3.0, updates to BOM handling, Encoding specification, Documentation (including new examples folder), and .gitignore.
Add BOM removal ability, update .gitignore. BOM removal implemented, new test passing. Added internal flag, fixed test. Implemented RemovePrefix, tests added and passing. BOM {insert | remove} tests now passing. Refactor of RemoveBOM for readability. Integration tests now passing. Documentation updated, example added, .gitignore updated. Added TODO file. Add optional parameter to {Get|Set}ContentString to choose encoding, resolves #74, add example of folder use, resolves #72. Correct the quickstart documentation. Add CONTRIBUTING. Update CommandLineAuth documentation. Bump the version. Update documentation, and remove superfluous make files.
1 parent c2f56b8 commit 986ad8f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+575
-1984
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ pydrive/test/credentials/*
55

66
*.egg-info
77
dist
8+
build/
9+
.cache
10+
11+
client_secrets.json

CONTRIBUTING.rst

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Contributing guidelines
2+
=======================
3+
4+
How to become a contributor and submit your own code
5+
----------------------------------------------------
6+
7+
Contributor License Agreements
8+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9+
10+
We'd love to accept your patches! Before we can take them, we have to jump a couple of legal hurdles.
11+
12+
Please fill out either the individual or corporate Contributor License Agreement (CLA).
13+
14+
* If you are an individual writing original source code and you're sure you
15+
own the intellectual property, then you'll need to sign an `individual CLA <http://code.google.com/legal/individual-cla-v1.0.html>`_.
16+
* If you work for a company that wants to allow you to contribute your
17+
work, then you'll need to sign a `corporate CLA <http://code.google.com/legal/corporate-cla-v1.0.html>`_.
18+
19+
Follow either of the two links above to access the appropriate CLA and instructions for how to sign and return it. Once we receive it, we'll be able to accept your pull requests.
20+
21+
***NOTE***: Only original source code from you and other people that have signed the CLA can be accepted into the main repository.
22+
23+
Contributing code
24+
~~~~~~~~~~~~~~~~~
25+
26+
If you have improvements to PyDrive, send us your pull requests! For those
27+
just getting started, Github has a `howto <https://help.github.com/articles/using-pull-requests/>`_.

README.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ that simplifies many common Google Drive API tasks.
88
Project Info
99
------------
1010

11-
- Homepage: `https://pypi.python.org/pypi/PyDrive <https://pypi.python.org/pypi/PyDrive>`_
12-
- Documentation: `Official documentation on GitHub pages <https://googledrive.github.io/PyDrive/docs/_build/html/index.html>`_
11+
- Homepage: `https://pypi.python.org/pypi/PyDrive <https://pypi.python.org/pypi/PyDrive>`_
12+
- Documentation: `Official documentation on GitHub pages <https://googledrive.github.io/PyDrive/docs/build/html/index.html>`_
1313
- Github: `https://github.com/googledrive/PyDrive <https://github.com/googledrive/PyDrive>`_
1414

1515
Features of PyDrive
@@ -48,15 +48,15 @@ file *settings.yaml*.
4848
4949
from pydrive.auth import GoogleAuth
5050
from pydrive.drive import GoogleDrive
51-
51+
5252
gauth = GoogleAuth()
5353
gauth.LocalWebserverAuth()
54-
54+
5555
drive = GoogleDrive(gauth)
5656
5757
File management made easy
5858
-------------------------
59-
59+
6060
Upload/update the file with one method. PyDrive will do it in the most
6161
efficient way.
6262

TODO

Whitespace-only changes.

docs/Makefile

-216
This file was deleted.

docs/README

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
This document outlines how to rebuild the documentation.
22

33
General setup:
4-
- Install Sphinx, `pip install sphinx`
5-
- run `make html` in this folder, to update the documentation.
4+
- Install Sphinx, `pip install sphinx` or `apt-get install python-sphinx`
5+
- Install the theme used for the docs: `pip install sphinx_rtd_theme`
6+
- Run `python setup.py build_sphinx --source-dir=docs/ --build-dir=docs/build --all-files`
67

78
If code files were added, the easiest way to reflect code changes in the
89
documentation by referencing the file from within pydrive.rst.
-36.1 KB
Binary file not shown.

docs/_build/doctrees/index.doctree

-12.6 KB
Binary file not shown.

docs/_build/doctrees/modules.doctree

-2.66 KB
Binary file not shown.

docs/_build/doctrees/pydrive.doctree

-189 KB
Binary file not shown.
-79.8 KB
Binary file not shown.

docs/_build/doctrees/setup.doctree

-3.37 KB
Binary file not shown.

docs/_build/html/_sources/modules.txt

-7
This file was deleted.

docs/_build/html/_sources/pydrive.test.txt

-62
This file was deleted.

docs/_build/html/_sources/setup.txt

-7
This file was deleted.

0 commit comments

Comments
 (0)