Skip to main content

GenroPy Web Framework

Project description

GenroPy

GenroPy is a web framework for line-of-business applications in Python and Javascript.

Installation

inside the folder gnrpy you can execute 2 different installation:

sudo pip install .

which will install the framework inside your system libraries or virtualenv.

You can install also optional dependencies, 3 different profiles are provided

  • pgsql - for PostgreSQL database usage

  • mysql - for MySQL database usage

  • developer - will install extra tools usefule for genropy’s development

Note: sqlite3 driver is installed by default with the base installation, no need to use a specific profile.

By executing:

sudo pip install .[profile_name]

For example:

sudo pip install .[pgsql]

Multiple profiles are supported too:

sudo pip install .[pgsql,developer]

To avoid system installation, you can run:

sudo pip install –editable .

which will link to the current folder code rather than install the files. Useful for development work. This replace the ‘’’./setup.py develop’’’ command which is being deprecated.

To create the enviroment configuration you can now execute:

gnr app initgenropy

Configuration files are:

/.gnr/environment.xml /.gnr/instanceconfig/default.xml /.gnr/siteconfig/default.xml

Change your development edit /.gnr/instanceconfig/default.xml

Visit [www.genropy.org](http://) for more information

sandbox

Sandbox is your first Genropy application.

Inside folder genropy_projects

git clone https://github.com/genropy/sandbox.git

Run a db setup

gnr db setup sandbox

Genropy webapplications needs a daemon

Run inside another terminal

gnr web daemon

Now we are ready for running sandbox website

gnr web wsgiserve sandbox

If you want to edit tutorial files through the application itself run gnr web wsgiserve with remote_edit option

gnr web wsgiserve sandbox –remote_edit

License

The code is licensed under the LGPL license:

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genropy-26.3.24-py3-none-any.whl (55.4 MB view details)

Uploaded Python 3

File details

Details for the file genropy-26.3.24-py3-none-any.whl.

File metadata

  • Download URL: genropy-26.3.24-py3-none-any.whl
  • Upload date:
  • Size: 55.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for genropy-26.3.24-py3-none-any.whl
Algorithm Hash digest
SHA256 a71e2fb4596612710f657d37bf631498c896d1cb689cb7b3253167e11a6b7793
MD5 832482625ba65825871a07fbf9e0432d
BLAKE2b-256 a4ce5d8d9876988d430c917dbaec16dbcc00d449b7767aef76bb97858469f44e

See more details on using hashes here.

Provenance

The following attestation bundles were made for genropy-26.3.24-py3-none-any.whl:

Publisher: release-publish.yml on genropy/genropy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page