{
"id": "28710376298",
"name": "017cb83b37f9e18db3d2f4c38e743d8093b44d7fea",
"description": "",
"count_views": "0",
"count_faves": "0",
"count_comments": "0",
"date_taken": "2016-12-18 14:59:02",
"count_tags": "0",
"count_notes": "0",
"rotation": 0,
"date_imported": "2018-06-05 06:12:39",
"photopage": "https://www.flickr.com/",
"original": "https://live.staticflickr.com/",
"license": "All Rights Reserved",
"exif": {
"XResolution": "72",
"YResolution": "72",
"Software": "10.1.1",
"ModifyDate": "2016:12:18 14:59:02",
"ExposureTime": "0.03 sec (1/33)",
"FNumber": "f/2.4",
"ExposureProgram": "Program AE",
"ISO": "200",
"DateTimeOriginal": "2016:12:18 14:59:02",
"CreateDate": "2016:12:18 14:59:02",
"BrightnessValue": "2.130179685",
"ExposureCompensation": "0 EV",
"MeteringMode": "Multi-segment",
"Flash": "No flash function",
"FocalLength": "2.2 mm",
"SubSecTimeOriginal": "359",
"SubSecTimeDigitized": "359",
"ColorSpace": "sRGB",
"SensingMethod": "One-chip color area",
"CustomRendered": "Unknown (3)",
"ExposureMode": "Auto",
"WhiteBalance": "Auto",
"FocalLengthIn35mmFormat": "31 mm",
"SceneCaptureType": "Standard",
"LensInfo": "2.15mm f/2.4",
"LensMake": "Apple",
"LensModel": "iPhone 5s front camera 2.15mm f/2.4",
"RunTimeFlags": "Valid",
"RunTimeValue": "362488019713458",
"RunTimeEpoch": "0",
"RunTimeScale": "1000000000",
"HDRImageType": "HDR Image",
"GPSLatitude": "53 deg 11' 4.54\" N",
"GPSLongitude": "44 deg 56' 50.46\" E",
"GPSAltitudeRef": "Above Sea Level",
"GPSAltitude": "241.3738318 m",
"GPSTimeStamp": "11:59:01",
"GPSSpeedRef": "km/h",
"GPSSpeed": "0",
"GPSImgDirectionRef": "True North",
"GPSImgDirection": "199.6383333",
"GPSDestBearingRef": "True North",
"GPSDestBearing": "19.63833333",
"GPSDateStamp": "2016:12:18",
"GPSHPositioningError": "5 m",
"CreatorTool": "10.1.1",
"RegionType": "Face",
"RegionAreaY": "0.343750",
"RegionAreaW": "0.178125",
"RegionAreaX": "0.476562",
"RegionAreaH": "0.237500",
"RegionAreaUnit": "normalized",
"RegionExtensionsAngleInfoYaw": "0",
"RegionExtensionsAngleInfoRoll": "240",
"RegionExtensionsConfidenceLevel": "247",
"RegionExtensionsTimeStamp": "2147483647",
"RegionExtensionsFaceID": "5",
"RegionAppliedToDimensionsH": "960",
"RegionAppliedToDimensionsW": "1280",
"RegionAppliedToDimensionsUnit": "pixel",
"CodedCharacterSet": "UTF8",
"DigitalCreationTime": "14:59:02",
"DigitalCreationDate": "2016:12:18",
"DateCreated": "2016:12:18",
"TimeCreated": "14:59:02"
},
"groups": [
],
"albums": [
],
"tags": [
],
"people": [
],
"notes": [
],
"privacy": "private",
"comment_permissions": "any flickr member",
"tagging_permissions": "people you follow",
"safety": "safe",
"comments": [
],
"geo": {
"latitude": "53184594",
"longitude": "44947350",
"accuracy": "16"
}
}
с помощью py (можно ссылку, что это такое?),
$ pip search pythonpy
pythonpy-clone (0.0.4) - rewrite of pythonpy using AST manipulations instead
of regex
pythonpy (0.4.11) - python -c, with tab completion and shorthand
pythonpy-fork (0.5.3) - python -c, with tab completion and shorthand; fish2k
fork$ apt search pythonpy
Сортировка… Готово
Полнотекстовый поиск… Готово
pythonpy/bionic,bionic,now 0.4.11b-3 all [установлен]
'python -c', with tab completion and shorthandpy(1) py(1)
NAME
pythonpy - 'python -c', with tab completion and shorthand
SYNOPSIS
py [-x] [-l] [-c PRE_CMD] [-C POST_CMD] [-V] [-h] [expression]
DESCRIPTION
pythonpy will evaluate any Python expression from the command line.
This will be done by the same Python interpreter that runs it. As this version uses Python 3, it is compatible with Python 3 syntax only.
OPTIONS
-x Treat each row of stdin as x
-l Treat list of stdin as l
-c PRE_CMD
Run code before expression
-C POST_CMD
Run code after expression
-V, --version
Version info
-h, --help
Show help message and exit
EXAMPLES
Float arithmetic:
$ py '3 * 1.5'
Import any module automatically:
$ py 'math.exp(1)'
Multiply each line of input by 7:
$ py 'range(3)' | py -x 'int(x)*7'
Remove every file returned by the find command:
$ find . -type f | py -x '"rm %s" % x' | sh
SEE ALSO
python(1)
BUGS
Bugs should be reported as issues at the project's GitHub page: <https://github.com/Russell91/pythonpy/issues>
AUTHOR
pythonpy is developed by Russell Stewart <russell.s.stewart@gmail.com>.
This man page was written by Tiago Ilieve <tiago.myhro@gmail.com> for the Debian distribution (but it may be used by others).py и питоновской шаблонизации наделать командных строк для модификации файлов, сохранить эти строки в файл и запустить его как пакетный.
curl и фильтруем необходимые значения через | jq -r .id.exiftool?
парсим файл .json командой curl
my_id=$(echo {\"id\": \"123\"} | jq -r ".id" )exiftool $my_id bla-bla-bla $my_datetime