internetarchive / acs4_py Goto Github PK
View Code? Open in Web Editor NEWPython interface to ACS4
Python interface to ACS4
A basic API for interacting with the Adobe Content Server. Sample use (command line) SERVER=your.server.here PW=your_password DIST=distributor_uuid RSRC=resource_uuid # upload file python acs4cmd.py $SERVER upload sample.epub --password=$PW # ... this returns some JSON, which includes the newly assigned resource ID # ... or (for large files) python acs4cmd.py $SERVER upload --datapath=/server/path/sample.epub --password=$PW # 'distribute' it, as a loanable, returnable book python acs4cmd.py $SERVER request DistributionRights create --password=$PW --distributionType=loan --returnable=true --available=1 --permissions=sample_permissions.xml --resource=$RSRC --distributor=$DIST # 'mint' a download url python acs4cmd.py $SERVER mint --resource=$RSRC --distributor=$DIST 'bss.py' is a server-side CGI for peeking under the ACS4 hood. See README_bss for a bit more.
@db48x Should we add any tests to our Travis CI runs on is flake8 linting enough?
./acs4.py:180:31: F821 undefined name 'o_to_meta_xml'
meta_el = o_to_meta_xml(v)
^
./acs4.py:582:16: F821 undefined name 'o_to_meta_xml'
return o_to_meta_xml(o)
https://github.com/internetarchive/acs4_py/search?q=o_to_meta_xml&unscoped_q=o_to_meta_xml
Is the Adobe Content Server
part of today’s OL runtime architecture? If not, can we remove this dependency?
@hornc @mekarpeles @cdrini
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.