This release is a pre-release and may not be stable for production use.
mllib
A REST client for MarkLogic 8 documentation management.
MarkLogic 8 is a NOSQL database and application framework for documentation management applications.
This package is still at an early WIP state and APIs may change before the first release.
As said in the subtitle, this package focuses on documentation management services (CRUD operations, searching, …). If you need a pythonic way to create, fine tune and populate MarkLogic 8 databases and clusters, you may prefer MarkLogic_Python.
Hey! Where are the docs
As above written, this package is at an early stage of development, and writing a cool doc with an API and features that may change before the first beta release is a waste of time.
Meanwhile, you may read and play with the code that’s in the sandbox/ directory that explores most features of the provided resources.
Installation
Jump to Contributing if you want the full source distro and contribute to the project. Others will use pip to install mllib like this, as long as it is not yet available on PyPI.
pip install git+https://github.com/glenfant/mllib.git#egg=mllib
See https://pip.pypa.io/en/latest/reference/pip_install.html#git if you need a specific Git branch, tag or commit hash.
Developer notes
Please use a virtualenv to maintain this package, but I should not need to say that.
Grab the source from the SCM repository
$ git clone https://github.com/glenfant/mllib.git
$ python setup.py develop
$ pip install mllib[dev]
Run the tests
Running the tests require :
Connection to http://httpbin.org/ . If you can see its home page in your browser, it’s OK
Running a MarkLogic 8 REST tests instance at http://localhost:8000 with username and password being both admin. If you prefer to use another instance listening on port 9000 of host my.marklogic-rest.tld and which user is foo authenticated by password bar, you need to provide this in a MLLIB_TEST_SERVER environment variable that contains my.marklogic-rest.tld:9000:foo:bar.
if your MarkLogic REST server expects an HTTP Basic Authentication token, append :basic to the MLLIB_TEST_SERVER environment variable. Otherwise an HTTP Digest Auth token will be issued.
$ export MLLIB_TEST_SERVER=my.marklogic-rest.tld:9000:foo:bar # Optional
$ python setup.py test
$ python run_tests.py
Build the Sphinx documentation
$ python setup.py build_sphinx
$ firefox build/sphinx/html/index.html
Contributing
Register to Github if not already done.
Please file a ticket at the Github tracker that explains your feature or improvement.
Fork the project in your personal repository
Do the job
Always check the existing unit tests (see above) and add unit tests that verify your feature or bugfix.
Prefer “git rebase” to “git merge” when synching with the original master. See the worflow explained at http://blog.bigbinary.com/2013/09/13/how-to-keep-your-fork-uptodate.html
Issue a pull request when you’re done, mentioning the original ticket you created at step 2.
Don’t forget to “star” the project on Github if you like it. ;)
Links
Project home page
Issues tracker
Credits
The development of this library is sponsored by the Assemblée Nationale (France’s Chamber of Deputies).
Project leader : Gilles Lenfant
License
This software is distributed under the terms of the MIT license.
Changes log
1.0.0a2
Fixed packaging issue [glenfant]
1.0.0a1
No changes. Just a version normalization.
1.0.0.a1
First release.
Package creation with bobtemplates.gillux [glenfant]
Metadata
Release files for mllib 1.0.0a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mllib-1.0.0a2.tar.gz | 12.5 kB | Without provenance | Details |
Release files / mllib-1.0.0a2.tar.gz
| Download URL | mllib-1.0.0a2.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b752cb4a7fa3e76315f68ad9fbcb384b7c223d9b345cad9ceb1c883ca5edec11
|
|
BLAKE2b-256 checksum How to use checksums |
b87e4940e39f23686d0fe5d1dc3eaafa7f5389560008e2a894483c907b1ac293
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mllib 1.0.0a2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.