-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
DEP: PEP8 renaming #900
DEP: PEP8 renaming #900
Conversation
* getXmpMetadata / xmpMetadata
Codecov Report
@@ Coverage Diff @@
## main #900 +/- ##
==========================================
- Coverage 78.55% 77.90% -0.66%
==========================================
Files 16 16
Lines 4258 4317 +59
Branches 813 813
==========================================
+ Hits 3345 3363 +18
- Misses 738 780 +42
+ Partials 175 174 -1
Continue to review full report at Codecov.
|
I was curious if some of those attributes were actually used:
|
rotate_clockwise -> just rotate? Pro
Pro
Other:
|
* getXmpMetadata / xmpMetadata ➔ xmp_metadata * get_outlines ➔ _get_outlines (use outlines property instead) * getXmpMetadata ➔ xmp_metadata * getDestArray ➔ dest_array * additionalActions ➔ additional_actions * defaultValue ➔ default_value * mappingName ➔ mapping_name * altName ➔ alternate_name * fieldType ➔ field_type * ensureIsNumber ➔ _ensure_is_number * decodedSelf : decoded_self * addChild / removeChild ➔ add_child / remove_child * flateEncode ➔ flate_encode * getData / setData ➔ get_data / set_data See #900
* getXmpMetadata / xmpMetadata ➔ xmp_metadata * get_outlines ➔ _get_outlines (use outlines property instead) * getXmpMetadata ➔ xmp_metadata * getDestArray ➔ dest_array * additionalActions ➔ additional_actions * defaultValue ➔ default_value * mappingName ➔ mapping_name * altName ➔ alternate_name * fieldType ➔ field_type * ensureIsNumber ➔ _ensure_is_number * decodedSelf : decoded_self * addChild / removeChild ➔ add_child / remove_child * flateEncode ➔ flate_encode * getData / setData ➔ get_data / set_data See #900
* getXmpMetadata / xmpMetadata ➔ xmp_metadata * get_outlines ➔ _get_outlines (use outlines property instead) * getXmpMetadata ➔ xmp_metadata * getDestArray ➔ dest_array * additionalActions ➔ additional_actions * defaultValue ➔ default_value * mappingName ➔ mapping_name * altName ➔ alternate_name * fieldType ➔ field_type * ensureIsNumber ➔ _ensure_is_number * decodedSelf : decoded_self * addChild / removeChild ➔ add_child / remove_child * flateEncode ➔ flate_encode * getData / setData ➔ get_data / set_data See #900
* getXmpMetadata / xmpMetadata ➔ xmp_metadata * get_outlines ➔ _get_outlines (use outlines property instead) * getXmpMetadata ➔ xmp_metadata * getDestArray ➔ dest_array * additionalActions ➔ additional_actions * defaultValue ➔ default_value * mappingName ➔ mapping_name * altName ➔ alternate_name * fieldType ➔ field_type * ensureIsNumber ➔ _ensure_is_number * decodedSelf : decoded_self * addChild / removeChild ➔ add_child / remove_child * flateEncode ➔ flate_encode * getData / setData ➔ get_data / set_data See #900
PdfReader: * getXmpMetadata / xmpMetadata ➔ xmp_metadata * get_outlines ➔ _get_outlines (use outlines property instead) Field attributes: * additionalActions ➔ additional_actions * defaultValue ➔ default_value * mappingName ➔ mapping_name * altName ➔ alternate_name * fieldType ➔ field_type StreamObject: * decodedSelf : decoded_self * flateEncode ➔ flate_encode Other: * Destination: getDestArray ➔ dest_array * RectangleObject: ensureIsNumber ➔ _ensure_is_number * TreeObject: addChild / removeChild ➔ add_child / remove_child * DecodedStreamObject: getData / setData ➔ get_data / set_data See #900
PyPDF2 interface changes:
DOC: Use the new PyPDF2 interface
STY: Use reader/writer as variable names for PdfReader / PdfWriter