Skip to main content

NGO Hub

[GitHub contributors][link-contributors] [GitHub last commit][link-last-commit] License: MPL 2.0

The code4 package provides various Python utility functions.

A Simple Example | Feedback | License | About Code for Romania

A Simple Example

from code4.django.decorators import expiring_url

@expiring_url(max_age=72*60*60)
def download_document(request, document_id):
    pass

Feedback

  • Request a new feature on GitHub.
  • Vote for popular feature requests.
  • File a bug in GitHub Issues.
  • Email us with other feedback contact@code4.ro

License

This project is licensed under the MPL 2.0 License – see the LICENSE file for details

About Code for Romania

Started in 2016, Code for Romania is a civic tech NGO, official member of the Code for All network. We have a community of around 2.000 volunteers (developers, ux/ui, communications, data scientists, graphic designers, devops, it security and more) who work pro bono for developing digital solutions to solve social problems. #techforsocialgood. If you want to learn more details about our projects visit our site or if you want to talk to one of our staff members, please e-mail us at contact@code4.ro.

Last, but not least, we rely on donations to ensure the infrastructure, logistics and management of our community that is widely spread across 11 timezones, coding for social change to make Romania and the world a better place. If you want to support us, you can do it here.

Release files for code4 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for code4 0.0.1
File Size Uploaded
code4-0.0.1.tar.gz 8.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for code4 0.0.1
File Interpreter ABI Platform
code4-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.8 kB

Release files / code4-0.0.1.tar.gz

Download URL code4-0.0.1.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d80af880edf8d34621a8d69b7b1d4d09f5c634bc8c8c265671176e0e5fcc74a7
BLAKE2b-256 checksum
How to use checksums
98f6bf484818b9ccc0fc879af3862c5fa033270a45d9353a0f34b83d8d1a0bf3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / code4-0.0.1-py3-none-any.whl

Download URL code4-0.0.1-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee496e1156d6155e27fd785fd0a839816f0ddfc2c35d17711873d2d7fe51b762
BLAKE2b-256 checksum
How to use checksums
e9a7d66d3912684882c9cba0c7e67a704450faec0d0b45697f1ef665fa2c1bbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page