A python library to make some money
Project description
monetize
A python library to make some money
Install
pip install monetize
See example.py for how to use
Creating a subscription
1. Create a Stripe account
2. Configure your business to accept payments
3. Go to the Developers section
4. Click API Keys
5. Select "Create Secret Key"
6. Configure this key to your liking
7. Save this key to authenticate in your code later
8. Create a customer (you'll need to do this for each billable user)
9. Go to Product Catalog
10. Create a new product with the following settings
1. Recurring
2. Usage-based per-unit pricing model
3. Pick your price
4. Pick sum of usage values during period for usage (if desired)
5. Billing period monthly (if desired)
6. Select Create
11. Create a subscription
12. Assign a user
13. Assign the product from step 5
14. Go to the newly made subscription page
15. Copy the **Subscription Item ID** (note: this is not the Subscription ID)
16. Use this ID in your code to accrue to that account
17. Profit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
monetize-1.0.0.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file monetize-1.0.0.tar.gz.
File metadata
- Download URL: monetize-1.0.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8580774725ca381b6928c7f5bb6785d0e2bab2c7c49e79f36ee46a300fb9e84
|
|
| MD5 |
3df54ff8bfbf727c09f21f874eb26ec0
|
|
| BLAKE2b-256 |
a94a6457ec0c1270122677d97ea7a51d1742125513e361b7cec3d9d642916ef5
|
File details
Details for the file monetize-1.0.0-py3-none-any.whl.
File metadata
- Download URL: monetize-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c37793005fa5bd5b2d78cedfe1b41ade23484c0b625d8bb9bf7318125aa7fb1f
|
|
| MD5 |
b682ef9981b97dc1293682d3155c5295
|
|
| BLAKE2b-256 |
3c863a6427b3745cb401a6e08e6764bc306a99b6bde8d0a9474eb91cdfdb9b81
|