OMERO.signup
OMERO.web app to allow anyone to signup for an OMERO account.
Generated usernames are formed from the alphanumeric unicode characters in a user’s first and last names, with a numeric suffix if the username already exists. If OMERO.web is configured to connect to multiple OMERO servers the user account will be created on the default one.
Requirements
OMERO.web 5.6 or newer.
Python 3.6 or newer.
Installation
This section assumes that an OMERO.web is already installed.
$ pip install omero-signup $ omero config append omero.web.apps '"omero_signup"'
Required configuration settings:
omero.web.signup.admin.user: OMERO admin username, must have permission to create groups and users
omero.web.signup.admin.password: Password for OMERO admin username
omero.web.signup.group.name: Default group for new users, will be created if it doesn’t exist
Optional configuration settings:
omero.web.signup.group.templatetime: If True expand omero.web.signup.group.name using strftime to enable time-based groups, default disabled
omero.web.signup.group.perms: Permissions on default group for new users if it doesn’t exist
These configuration settings are untested due to the difficulty of configuring email on a test server:
omero.web.signup.email.enabled: If True send emails to new users with their username and password instead of displaying the password, default disabled
omero.web.signup.email.subject: Email subject for new-user emails
omero.web.signup.email.body: Email body for new-user emails. It should include template strings {username} and {password} that will be substituted with the created user’s username and password.
Example:
$ omero config get omero.web.apps=["omero_signup"] omero.web.signup.admin.password=root-password omero.web.signup.admin.user=root omero.web.signup.group.name=testgroup-%Y-%m omero.web.signup.group.templatetime=true
Restart OMERO.web in the usual way.
$ omero web restart
New users will be able to sign-up for an account at http://omero.web.host/signup.
Release process
Use bumpversion to increment the version, commit and tag the repo.
$ bumpversion patch $ git push origin master $ git push --tags
License
OMERO.signup is released under the AGPL.
Copyright
2019, The Open Microscopy Environment
Release files for omero-signup 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| omero-signup-0.3.3.tar.gz | 22.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| omero_signup-0.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 46.8 kB
Release files / omero-signup-0.3.3.tar.gz
| Download URL | omero-signup-0.3.3.tar.gz |
|---|---|
| Size | 22.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2c367bdcb867aaa8fd273c630f6b80c892d52b25afeae371eb3a6ed9bdf2d96
|
|
BLAKE2b-256 checksum How to use checksums |
8f6dcf6cdef207bcb83793064be11684941f0f80b656ed86d20389caf0dcb4e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.18
|
Release files / omero_signup-0.3.3-py3-none-any.whl
| Download URL | omero_signup-0.3.3-py3-none-any.whl |
|---|---|
| Size | 24.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b36adc863c8e96486b5e9c06c1e152f269604bbc6f1da4d95e06c8e8a55914aa
|
|
BLAKE2b-256 checksum How to use checksums |
4637adf63a82ea8b7b414d7e1272d7284af20cd5e8cad74f1204ff623816053d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.18
|